(
(let $1 (Int32 '1))
(let $2 (Iterator (AsList (AsStruct '('"column0" $1)))))
(let $3 '('"_partition_mode" '"single"))
(let $4 '('('"_logical_id" '1360) '('"_id" '"34b05333-f0fa4767-1d8f38ca-1ccd1ed") $3))
(let $5 (DqPhyStage '() (lambda '() $2) $4))
(let $6 '('"column0"))
(let $7 (DqCnResult (TDqOutput $5 '"0") $6))
(let $8 '('('"type" '"generic")))
(let $9 (KqpPhysicalTx '($5) '($7) '() $8))
(let $10 (Int32 '3))
(let $11 '('('"_logical_id" '1384) '('"_id" '"2fd10b1-33e7923e-a23f9da3-937262f0") $3))
(let $12 (DqPhyStage '() (lambda '() (Iterator (AsList (AsStruct '('"column0" $10))))) $11))
(let $13 (DqCnResult (TDqOutput $12 '"0") $6))
(let $14 (KqpPhysicalTx '($12) '($13) '() $8))
(let $15 '('('"_logical_id" '1408) '('"_id" '"667e7cd1-403ef8ba-4bfb26f0-639c8d0") $3))
(let $16 (DqPhyStage '() (lambda '() (Iterator (AsList (AsStruct '('"column0" (Size (String '"foo"))))))) $15))
(let $17 (DqCnResult (TDqOutput $16 '"0") $6))
(let $18 (KqpPhysicalTx '($16) '($17) '() $8))
(let $19 (DataType 'Double))
(let $20 '('('"_logical_id" '1432) '('"_id" '"8aca3a5d-53d25468-ba3594a-28cd90a0") $3))
(let $21 (DqPhyStage '() (lambda '() (Iterator (AsList (AsStruct '('"column0" (Apply (Udf '"Math.Pi" (Void) (VoidType) '"" (CallableType '() '($19)) (VoidType) '"" '('('"strict"))))))))) $20))
(let $22 (DqCnResult (TDqOutput $21 '"0") $6))
(let $23 (KqpPhysicalTx '($21) '($22) '() $8))
(let $24 '('('"_logical_id" '1456) '('"_id" '"e2a00c18-429af4ec-b08aeb62-1e2588ee") $3))
(let $25 (DqPhyStage '() (lambda '() (Iterator (AsList (AsStruct '('"column0" (Just $1)))))) $24))
(let $26 (DqCnResult (TDqOutput $25 '"0") $6))
(let $27 (KqpPhysicalTx '($25) '($26) '() $8))
(let $28 '('('"_logical_id" '1480) '('"_id" '"b9f1b302-4b7a4c94-905b9b07-f44cf167") $3))
(let $29 (DqPhyStage '() (lambda '() $2) $28))
(let $30 (DqCnResult (TDqOutput $29 '"0") $6))
(let $31 (KqpPhysicalTx '($29) '($30) '() $8))
(let $32 (DataType 'Int32))
(let $33 '('('"_logical_id" '1504) '('"_id" '"4b9bc560-44496416-5debce28-a83ad93c") $3))
(let $34 (DqPhyStage '() (lambda '() (Iterator (AsList (AsStruct '('"column0" (Head (Apply (Callable (CallableType '() '((ListType $32))) (lambda '() (AsList $1 (Int32 '2) $10)))))))))) $33))
(let $35 (DqCnResult (TDqOutput $34 '"0") $6))
(let $36 (KqpPhysicalTx '($34) '($35) '() $8))
(let $37 '($9 $14 $18 $23 $27 $31 $36))
(let $38 (ListType (StructType '('"column0" $32))))
(let $39 (KqpTxResultBinding $38 '"0" '"0"))
(let $40 (KqpTxResultBinding $38 '1 '"0"))
(let $41 (KqpTxResultBinding (ListType (StructType '('"column0" (DataType 'Uint32)))) '2 '"0"))
(let $42 (KqpTxResultBinding (ListType (StructType '('"column0" $19))) '3 '"0"))
(let $43 (ListType (StructType '('"column0" (OptionalType $32)))))
(let $44 (KqpTxResultBinding $43 '"4" '"0"))
(let $45 (KqpTxResultBinding $38 '"5" '"0"))
(let $46 (KqpTxResultBinding $43 '"6" '"0"))
(let $47 '($39 $40 $41 $42 $44 $45 $46))
(return (KqpPhysicalQuery $37 $47 '('('"type" '"query"))))
)
