(
(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 '((YtPath $6 '('"key") (Void) (Void))))
(let $8 (DataType 'String))
(let $9 (StructType '('"key" $8) '('"path" $8) '('"record" (DataType 'Uint64))))
(let $10 '('"_wide_channels" $9))
(let $11 '('('"_logical_id" '1325) '('"_id" '"f0d73eca-30966a9f-5fa20c69-480a44b") $10))
(let $12 (DqPhyStage '() (lambda '() (block '(
  (let $25 (YtReadTable! world $1 '((YtSection $7 '('('"syscolumns" '('"path" '"record")))))))
  (let $26 (lambda '($27 $28 $29) $29 $27 $28))
  (return (FromFlow (WideMap (DqReadWideWrap $25 '()) $26)))
))) $11))
(let $13 '('('"_logical_id" '1352) '('"_id" '"9cb61df8-f089b55-63d7b095-20cc2985") $10))
(let $14 (DqPhyStage '() (lambda '() (block '(
  (let $30 (YtReadTable! world $1 '((YtSection $7 '('('"syscolumns" '('"record")))))))
  (let $31 (lambda '($32 $33) $33 (String '"d") $32))
  (return (FromFlow (WideMap (DqReadWideWrap $30 '()) $31)))
))) $13))
(let $15 (DqCnParallelUnionAll (TDqOutput $12 '0)))
(let $16 (DqCnParallelUnionAll (TDqOutput $14 '0)))
(let $17 (lambda '($40 $41 $42) (AsStruct '('"key" $40) '('"path" $41) '('"record" $42))))
(let $18 '('('"_logical_id" '1446) '('"_id" '"96984a36-4799806b-a646c86c-6159ba72") $10))
(let $19 (DqPhyStage '($15 $16) (lambda '($34 $35) (block '(
  (let $36 (Bool 'true))
  (let $37 '($36 $36 $36))
  (let $38 (Sort (Extend (NarrowMap (ToFlow $34) $17) (NarrowMap (ToFlow $35) $17)) $37 (lambda '($43) '((Member $43 '"key") (Member $43 '"record") (Member $43 '"path")))))
  (let $39 (lambda '($44) (Member $44 '"key") (Member $44 '"path") (Member $44 '"record")))
  (return (FromFlow (ExpandMap $38 $39)))
))) $18))
(let $20 '('('0 '"Asc") '('"2" '"Asc") '('1 '"Asc")))
(let $21 (DqCnMerge (TDqOutput $19 '0) $20))
(let $22 (DqPhyStage '($21) (lambda '($45) (FromFlow (NarrowMap (ToFlow $45) $17))) '('('"_logical_id" '1458) '('"_id" '"1e244dd4-cbafc679-1f476794-74d9abd3"))))
(let $23 '($12 $14 $19 $22))
(let $24 (DqCnResult (TDqOutput $22 '0) '()))
(return (KqpPhysicalQuery '((KqpPhysicalTx $23 '($24) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $9) '0 '0)) '('('"type" '"query"))))
)
