(
(let $1 (DataSource '"yt" '"/Root/plato"))
(let $2 '@@["StructType";[["key";["DataType";"String"]];["subkey";["DataType";"String"]];["value";["DataType";"String"]]]]@@)
(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 '"4") '('DataSize '"166") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
(let $6 (YtTable '"Input" $3 $4 $5 '() (Void) (Void) '"/Root/plato"))
(let $7 (String '""))
(let $8 (DataType 'String))
(let $9 (StructType '('"key" $8) '('"subkey" $8) '('"value" $8)))
(let $10 '('"_wide_channels" $9))
(let $11 '('('"_logical_id" '1702) '('"_id" '"feb8e9f2-91af1007-d57e4e09-18775f6") $10))
(let $12 (DqPhyStage '() (lambda '() (block '(
  (let $29 (YtReadTable! world $1 '((YtSection '((YtPath $6 '('"key" '"subkey") (Void) (Void))) '()))))
  (let $30 (lambda '($31 $32) $31 $32 $7))
  (return (FromFlow (WideMap (DqReadWideWrap $29 '()) $30)))
))) $11))
(let $13 '('('"_logical_id" '1614) '('"_id" '"e15f5ab4-2251c333-c4f258e6-2c31657c") $10))
(let $14 (DqPhyStage '() (lambda '() (block '(
  (let $33 '('"key" '"subkey" '"value"))
  (let $34 (YtReadTable! world $1 '((YtSection '((YtPath $6 $33 (Void) (Void))) '()))))
  (return (FromFlow (DqReadWideWrap $34 '())))
))) $13))
(let $15 '('('"_logical_id" '1729) '('"_id" '"6fcdbcdf-f1803df6-107ff8cc-7d62c831") $10))
(let $16 (DqPhyStage '() (lambda '() (block '(
  (let $35 (YtReadTable! world $1 '((YtSection '((YtPath $6 '('"subkey" '"value") (Void) (Void))) '()))))
  (let $36 (lambda '($37 $38) $7 $37 $38))
  (return (FromFlow (WideMap (DqReadWideWrap $35 '()) $36)))
))) $15))
(let $17 (DqCnParallelUnionAll (TDqOutput $12 '0)))
(let $18 (DqCnParallelUnionAll (TDqOutput $14 '0)))
(let $19 (DqCnParallelUnionAll (TDqOutput $16 '0)))
(let $20 '($17 $18 $19))
(let $21 (lambda '($47 $48 $49) (AsStruct '('"key" $47) '('"subkey" $48) '('"value" $49))))
(let $22 '('('"_logical_id" '1827) '('"_id" '"4b530058-bc5a795b-eb071fc8-2892c7d2") $10))
(let $23 (DqPhyStage $20 (lambda '($39 $40 $41) (block '(
  (let $42 (Extend (NarrowMap (ToFlow $39) $21) (NarrowMap (ToFlow $40) $21) (NarrowMap (ToFlow $41) $21)))
  (let $43 (Bool 'true))
  (let $44 '($43 $43 $43))
  (let $45 (Sort $42 $44 (lambda '($50) '((Member $50 '"key") (Member $50 '"subkey") (Member $50 '"value")))))
  (let $46 (lambda '($51) (Member $51 '"key") (Member $51 '"subkey") (Member $51 '"value")))
  (return (FromFlow (ExpandMap $45 $46)))
))) $22))
(let $24 '('('0 '"Asc") '('1 '"Asc") '('"2" '"Asc")))
(let $25 (DqCnMerge (TDqOutput $23 '0) $24))
(let $26 (DqPhyStage '($25) (lambda '($52) (FromFlow (NarrowMap (ToFlow $52) $21))) '('('"_logical_id" '1839) '('"_id" '"3042ccf8-85482c48-9eb5ebaa-178dec81"))))
(let $27 '($12 $14 $16 $23 $26))
(let $28 (DqCnResult (TDqOutput $26 '0) '()))
(return (KqpPhysicalQuery '((KqpPhysicalTx $27 '($28) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $9) '0 '0)) '('('"type" '"query"))))
)
