(
(let $1 (DataSource '"yt" '"/Root/plato"))
(let $2 '@@["StructType";[["a";["OptionalType";["DataType";"Int64"]]];["b";["OptionalType";["DataType";"Uint64"]]];["c";["OptionalType";["DataType";"Double"]]];["d";["OptionalType";["DataType";"String"]]];["e";["OptionalType";["DataType";"Bool"]]];["f";["OptionalType";["DataType";"Yson"]]]]]@@)
(let $3 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $2)))
(let $4 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" '"false")))))
(let $5 (YtStat '('Id '"Input") '('RecordsCount '"8") '('DataSize '"429") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
(let $6 (YtTable '"Input" $3 $4 $5 '() (Void) (Void) '"/Root/plato"))
(let $7 '('"a"))
(let $8 (Bool 'true))
(let $9 (StructType '('"a" (OptionalType (DataType 'Int64)))))
(let $10 '('('"_logical_id" '2824) '('"_id" '"52d8bf06-bf18e994-633ce3c7-cca65af8") '('"_wide_channels" $9)))
(let $11 (DqPhyStage '() (lambda '() (block '(
  (let $57 (YtReadTable! world $1 '((YtSection '((YtPath $6 $7 (Void) (Void))) '()))))
  (return (FromFlow (WideSort (DqReadWideWrap $57 '()) '('('0 $8)))))
))) $10))
(let $12 '('('0 '"Asc")))
(let $13 (DqCnMerge (TDqOutput $11 '0) $12))
(let $14 (DqPhyStage '($13) (lambda '($58) (FromFlow (NarrowMap (ToFlow $58) (lambda '($59) (AsStruct '('"a" $59)))))) '('('"_logical_id" '2836) '('"_id" '"832e2602-1ffc51ee-17948d79-559d9e82"))))
(let $15 (DqCnResult (TDqOutput $14 '0) $7))
(let $16 '('('"type" '"generic")))
(let $17 (KqpPhysicalTx '($11 $14) '($15) '() $16))
(let $18 '('"b"))
(let $19 (StructType '('"b" (OptionalType (DataType 'Uint64)))))
(let $20 '('('"_logical_id" '2905) '('"_id" '"df0e6956-c503c7c0-8123c682-393b1cca") '('"_wide_channels" $19)))
(let $21 (DqPhyStage '() (lambda '() (block '(
  (let $60 (YtReadTable! world $1 '((YtSection '((YtPath $6 $18 (Void) (Void))) '()))))
  (return (FromFlow (WideSort (DqReadWideWrap $60 '()) '('('0 $8)))))
))) $20))
(let $22 (DqCnMerge (TDqOutput $21 '0) $12))
(let $23 (DqPhyStage '($22) (lambda '($61) (FromFlow (NarrowMap (ToFlow $61) (lambda '($62) (AsStruct '('"b" $62)))))) '('('"_logical_id" '2917) '('"_id" '"99bf36dd-80c23b09-5c273b69-1ed156a4"))))
(let $24 (DqCnResult (TDqOutput $23 '0) $18))
(let $25 (KqpPhysicalTx '($21 $23) '($24) '() $16))
(let $26 '('"c"))
(let $27 (StructType '('"c" (OptionalType (DataType 'Double)))))
(let $28 '('('"_logical_id" '2986) '('"_id" '"f04c3f2d-1958cae9-964ee549-2b46031b") '('"_wide_channels" $27)))
(let $29 (DqPhyStage '() (lambda '() (block '(
  (let $63 (YtReadTable! world $1 '((YtSection '((YtPath $6 $26 (Void) (Void))) '()))))
  (return (FromFlow (WideSort (DqReadWideWrap $63 '()) '('('0 $8)))))
))) $28))
(let $30 (DqCnMerge (TDqOutput $29 '0) $12))
(let $31 (DqPhyStage '($30) (lambda '($64) (FromFlow (NarrowMap (ToFlow $64) (lambda '($65) (AsStruct '('"c" $65)))))) '('('"_logical_id" '2998) '('"_id" '"4de48542-5a1d222f-a700524c-c7fface"))))
(let $32 (DqCnResult (TDqOutput $31 '0) $26))
(let $33 (KqpPhysicalTx '($29 $31) '($32) '() $16))
(let $34 '('"d"))
(let $35 (StructType '('"d" (OptionalType (DataType 'String)))))
(let $36 '('('"_logical_id" '3067) '('"_id" '"ec4abe93-74201288-83e6e8b9-4b6f0204") '('"_wide_channels" $35)))
(let $37 (DqPhyStage '() (lambda '() (block '(
  (let $66 (YtReadTable! world $1 '((YtSection '((YtPath $6 $34 (Void) (Void))) '()))))
  (return (FromFlow (WideSort (DqReadWideWrap $66 '()) '('('0 $8)))))
))) $36))
(let $38 (DqCnMerge (TDqOutput $37 '0) $12))
(let $39 (DqPhyStage '($38) (lambda '($67) (FromFlow (NarrowMap (ToFlow $67) (lambda '($68) (AsStruct '('"d" $68)))))) '('('"_logical_id" '3079) '('"_id" '"78ac9bd6-493ace0a-a4622c22-e7b5c36d"))))
(let $40 (DqCnResult (TDqOutput $39 '0) $34))
(let $41 (KqpPhysicalTx '($37 $39) '($40) '() $16))
(let $42 '('"e"))
(let $43 (StructType '('"e" (OptionalType (DataType 'Bool)))))
(let $44 '('('"_logical_id" '3148) '('"_id" '"32a8ce46-40a30b8f-e44c725d-64d0cd01") '('"_wide_channels" $43)))
(let $45 (DqPhyStage '() (lambda '() (block '(
  (let $69 (YtReadTable! world $1 '((YtSection '((YtPath $6 $42 (Void) (Void))) '()))))
  (return (FromFlow (WideSort (DqReadWideWrap $69 '()) '('('0 $8)))))
))) $44))
(let $46 (DqCnMerge (TDqOutput $45 '0) $12))
(let $47 (DqPhyStage '($46) (lambda '($70) (FromFlow (NarrowMap (ToFlow $70) (lambda '($71) (AsStruct '('"e" $71)))))) '('('"_logical_id" '3160) '('"_id" '"4fff1317-5dcf92de-efffbf4-4709dda8"))))
(let $48 (DqCnResult (TDqOutput $47 '0) $42))
(let $49 (KqpPhysicalTx '($45 $47) '($48) '() $16))
(let $50 '($17 $25 $33 $41 $49))
(let $51 (KqpTxResultBinding (ListType $9) '0 '0))
(let $52 (KqpTxResultBinding (ListType $19) '1 '0))
(let $53 (KqpTxResultBinding (ListType $27) '"2" '0))
(let $54 (KqpTxResultBinding (ListType $35) '"3" '0))
(let $55 (KqpTxResultBinding (ListType $43) '"4" '0))
(let $56 '($51 $52 $53 $54 $55))
(return (KqpPhysicalQuery $50 $56 '('('"type" '"query"))))
)
