(
(let $1 (Uint64 '3))
(let $2 (Bool 'false))
(let $3 '('('0 (Bool 'true)) '('1 $2) '('2 $2)))
(let $4 (StructType '('"a" (PgType 'int2)) '('"b" (PgType 'text)) '('"c" (PgType '_int2))))
(let $5 '('('"_logical_id" '666) '('"_id" '"fae90a1b-a89742ba-276dd303-8ad96cb7") '('"_wide_channels" $4)))
(let $6 (DqPhyStage '() (lambda '() (block '(
  (let $10 '@@["StructType";[["a";["PgType";"int2"]];["b";["PgType";"text"]];["c";["PgType";"_int2"]]]]@@)
  (let $11 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $10)))
  (let $12 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" 'false)))))
  (let $13 (YtStat '('Id '"Input") '('RecordsCount '"4") '('DataSize '"368") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $14 (YtTable '"Input" $11 $12 $13 '() (Void) (Void) '"/Root/plato"))
  (let $15 '('"a" '"b" '"c"))
  (let $16 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $14 $15 (Void) (Void))) '()))))
  (return (FromFlow (WideTop (DqReadWideWrap $16 '()) $1 $3)))
))) $5))
(let $7 (DqCnUnionAll (TDqOutput $6 '0)))
(let $8 (DqPhyStage '($7) (lambda '($17) (block '(
  (let $18 (WideTopSort (ToFlow $17) $1 $3))
  (return (FromFlow (NarrowMap $18 (lambda '($19 $20 $21) (AsStruct '('"a" $19) '('"b" $20) '('"c" $21))))))
))) '('('"_logical_id" '685) '('"_id" '"11b6a52c-9c5e964c-98042b42-df2ee6d3"))))
(let $9 (DqCnResult (TDqOutput $8 '0) '()))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($6 $8) '($9) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $4) '0 '0)) '('('"type" '"query"))))
)
