(
(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) '('HasRLS '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) (Void))))
(let $8 (DataType 'String))
(let $9 (StructType '('"key" $8) '('"path" $8) '('"record" (DataType 'Uint64))))
(let $10 '('"_wide_channels" $9))
(let $11 '('('"_logical_id" '1507) '('"_id" '"8623af77-919618c7-5510ea4a-5132501a") $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" '1534) '('"_id" '"7b51932a-add6411d-2598f846-d33c2a91") $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" '1628) '('"_id" '"7c5a87ff-a1c548aa-d9cd4fb6-97c19dcc") $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" '1640) '('"_id" '"f0bfa91f-a5dc2aad-832ec13a-94b0bf96"))))
(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"))))
)
