(
(let $1 '('"key"))
(let $2 (lambda '($21) $21))
(let $3 (StructType '('"key" (DataType 'Uint32))))
(let $4 '('"_wide_channels" $3))
(let $5 '('('"_logical_id" '1003) '('"_id" '"f7fc11b6-9bda31f8-d1080631-29d7b43d") $4))
(let $6 (DqPhyStage '() (lambda '() (block '(
  (let $15 '@@["StructType";[["key";["DataType";"Uint32"]];["subkey";["DataType";"Uint32"]]]]@@)
  (let $16 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $15)))
  (let $17 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('HasRLS '0) '('Attrs '('('"native_strict_schema" '"false")))))
  (let $18 (YtStat '('Id '"Input") '('RecordsCount '"3") '('DataSize '"78") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $19 (YtTable '"Input" $16 $17 $18 '() (Void) (Void) '"/Root/plato"))
  (let $20 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $19 $1 (Void) (Void) (Void))) '()))))
  (return (FromFlow (DqPhyHashCombine (DqReadWideWrap $20 '()) '-1073741824 $2 (lambda '($22 $23) $22) (lambda '($24 $25 $26) $26) (lambda '($27 $28) $28))))
))) $5))
(let $7 (DqCnHashShuffle (TDqOutput $6 '0) '('0) '0 '"HashV2"))
(let $8 (lambda '($33) (AsStruct '('"key" $33))))
(let $9 '('('"_logical_id" '1244) '('"_id" '"a7968e11-6d68425b-fc95d84-c8b431ed") $4))
(let $10 (DqPhyStage '($7) (lambda '($29) (block '(
  (let $30 (NarrowSqueezeToDict (ToFlow $29) $2 $8 '('Auto 'Many)))
  (let $31 (Condense1 (OrderedFlatMap $30 (lambda '($34) (OrderedFlatMap (DictPayloads $34) (lambda '($35) $35)))) (lambda '($36) (Member $36 '"key")) (lambda '($37 $38) (AggrNotEquals (Member $37 '"key") $38)) (lambda '($39 $40) $40)))
  (let $32 (Sort (Map $31 $8) (Bool 'true) (lambda '($41) (Member $41 '"key"))))
  (return (FromFlow (ExpandMap $32 (lambda '($42) (Member $42 '"key")))))
))) $9))
(let $11 (DqCnMerge (TDqOutput $10 '0) '('('0 '"Asc"))))
(let $12 (DqPhyStage '($11) (lambda '($43) (FromFlow (NarrowMap (ToFlow $43) $8))) '('('"_logical_id" '1256) '('"_id" '"abef9d71-97db1e32-f813b657-6602422"))))
(let $13 '($6 $10 $12))
(let $14 (DqCnResult (TDqOutput $12 '0) $1))
(return (KqpPhysicalQuery '((KqpPhysicalTx $13 '($14) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $3) '0 '0)) '('('"type" '"query"))))
)
