(
(let $1 (DataSource '"yt" '"/Root/plato"))
(let $2 '('NativeYtTypeFlags '0))
(let $3 '('StrictSchema '0))
(let $4 '('UniqueKeys '0))
(let $5 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '0) '('InferredScheme '1) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" '"false")))))
(let $6 '('RecordsCount '"5"))
(let $7 '('DataSize '"225"))
(let $8 '('ChunkCount '1))
(let $9 '('ModifyTime '0))
(let $10 '('Revision '0))
(let $11 (DqPhyStage '() (lambda '() (block '(
  (let $31 '@@["StructType";[["a";["OptionalType";["DataType";"Int64"]]];["b";["OptionalType";["DataType";"Uint64"]]];["c";["OptionalType";["DataType";"Double"]]];["d";["OptionalType";["DataType";"String"]]];["f";["OptionalType";["DataType";"Yson"]]]]]@@)
  (let $32 (YqlRowSpec $2 $3 $4 '('Type $31)))
  (let $33 (YtStat '('Id '"Input2") $6 $7 $8 $9 $10))
  (let $34 (YtTable '"Input2" $32 $5 $33 '('('"infer_scheme" '"2")) (Void) (Void) '"/Root/plato"))
  (let $35 '('"_other" '"a" '"b" '"c" '"d" '"f"))
  (let $36 (YtReadTable! world $1 '((YtSection '((YtPath $34 $35 (Void) (Void))) '()))))
  (return (FromFlow (NarrowMap (DqReadWideWrap $36 '()) (lambda '($37 $38 $39 $40 $41 $42) (AsStruct '('"_other" $37) '('"a" $38) '('"b" $39) '('"c" $40) '('"d" $41) '('"f" $42))))))
))) '('('"_logical_id" '1177) '('"_id" '"b93d043e-2a2c6581-9e5f86dc-56482c4"))))
(let $12 (DqCnUnionAll (TDqOutput $11 '0)))
(let $13 (DqPhyStage '($12) (lambda '($43) $43) '('('"_logical_id" '1290) '('"_id" '"c359cb95-8275d2a1-96576478-990bef78"))))
(let $14 (DqCnResult (TDqOutput $13 '0) '()))
(let $15 '('('"type" '"generic")))
(let $16 (KqpPhysicalTx '($11 $13) '($14) '() $15))
(let $17 (DqPhyStage '() (lambda '() (block '(
  (let $44 '@@["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 $45 (YqlRowSpec $2 $3 $4 '('Type $44)))
  (let $46 (YtStat '('Id '"Input3") $6 $7 $8 $9 $10))
  (let $47 (YtTable '"Input3" $45 $5 $46 '('('"infer_scheme" '"3")) (Void) (Void) '"/Root/plato"))
  (let $48 '('"_other" '"a" '"b" '"c" '"d" '"e" '"f"))
  (let $49 (YtReadTable! world $1 '((YtSection '((YtPath $47 $48 (Void) (Void))) '()))))
  (return (FromFlow (NarrowMap (DqReadWideWrap $49 '()) (lambda '($50 $51 $52 $53 $54 $55 $56) (AsStruct '('"_other" $50) '('"a" $51) '('"b" $52) '('"c" $53) '('"d" $54) '('"e" $55) '('"f" $56))))))
))) '('('"_logical_id" '1237) '('"_id" '"a9f6a28f-e649523c-cda9fe07-c08bf471"))))
(let $18 (DqCnUnionAll (TDqOutput $17 '0)))
(let $19 (DqPhyStage '($18) (lambda '($57) $57) '('('"_logical_id" '1403) '('"_id" '"31c23c4e-b4b906de-c58b7e13-662aaf6f"))))
(let $20 (DqCnResult (TDqOutput $19 '0) '()))
(let $21 (KqpPhysicalTx '($17 $19) '($20) '() $15))
(let $22 (DataType 'String))
(let $23 '('"_other" (DictType $22 $22)))
(let $24 '('"a" (OptionalType (DataType 'Int64))))
(let $25 '('"b" (OptionalType (DataType 'Uint64))))
(let $26 '('"c" (OptionalType (DataType 'Double))))
(let $27 '('"d" (OptionalType $22)))
(let $28 '('"f" (OptionalType (DataType 'Yson))))
(let $29 (KqpTxResultBinding (ListType (StructType $23 $24 $25 $26 $27 $28)) '0 '0))
(let $30 (KqpTxResultBinding (ListType (StructType $23 $24 $25 $26 $27 '('"e" (OptionalType (DataType 'Bool))) $28)) '1 '0))
(return (KqpPhysicalQuery '($16 $21) '($29 $30) '('('"type" '"query"))))
)
