(
(let $1 (DqPhyStage '() (lambda '() (block '(
  (let $9 '@@["StructType";[["a";["DataType";"Utf8"]];["b";["PgType";"text"]];["c";["PgType";"cstring"]];["d";["OptionalType";["DataType";"Utf8"]]];["e";["DataType";"Int64"]];["f";["PgType";"int8"]];["g";["OptionalType";["DataType";"Int64"]]]]]@@)
  (let $10 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $9)))
  (let $11 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" '"false")))))
  (let $12 (YtStat '('Id '"Input") '('RecordsCount '"2") '('DataSize '"113") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $13 (YtTable '"Input" $10 $11 $12 '() (Void) (Void) '"/Root/plato"))
  (let $14 '('"a" '"b" '"c" '"d" '"e" '"f" '"g"))
  (let $15 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $13 $14 (Void) (Void))) '()))))
  (return (FromFlow (NarrowMap (DqReadWideWrap $15 '()) (lambda '($16 $17 $18 $19 $20 $21 $22) (AsStruct '('"column0" (ToPg $16)) '('"column1" (FromPg $17)) '('"column2" (FromPg $18)) '('"column3" (ToPg $19)) '('"column4" (ToPg $20)) '('"column5" (FromPg $21)) '('"column6" (ToPg $22)))))))
))) '('('"_logical_id" '1001) '('"_id" '"9a8a866f-651da00a-15260646-84aa2ffe"))))
(let $2 (DqCnUnionAll (TDqOutput $1 '0)))
(let $3 (DqPhyStage '($2) (lambda '($23) $23) '('('"_logical_id" '1062) '('"_id" '"5f5d284a-45d3b1aa-a8a458d9-812862f6"))))
(let $4 '('"column0" '"column1" '"column2" '"column3" '"column4" '"column5" '"column6"))
(let $5 (DqCnResult (TDqOutput $3 '0) $4))
(let $6 (PgType 'text))
(let $7 (OptionalType (DataType 'Utf8)))
(let $8 (PgType 'int8))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($1 $3) '($5) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType (StructType '('"column0" $6) '('"column1" $7) '('"column2" $7) '('"column3" $6) '('"column4" $8) '('"column5" (OptionalType (DataType 'Int64))) '('"column6" $8))) '0 '0)) '('('"type" '"query"))))
)
