(
(let $1 '('"value"))
(let $2 (lambda '($21) $21))
(let $3 (StructType '('"value" (DataType 'String))))
(let $4 '('"_wide_channels" $3))
(let $5 '('('"_logical_id" '994) '('"_id" '"9d923777-9554c577-f1f630da-614f3c69") $4))
(let $6 (DqPhyStage '() (lambda '() (block '(
  (let $15 '@@["StructType";[["key";["DataType";"String"]];["subkey";["DataType";"String"]];["value";["DataType";"String"]]]]@@)
  (let $16 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $15)))
  (let $17 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" '"false")))))
  (let $18 (YtStat '('Id '"Input") '('RecordsCount '"4") '('DataSize '"166") '('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))) '()))))
  (return (DqPhyHashCombine (WideToBlocks (FromFlow (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 '('"value" $33))))
(let $9 '('('"_logical_id" '1235) '('"_id" '"6f333c13-ac5f1424-fd39dde7-eb2befe9") $4))
(let $10 (DqPhyStage '($7) (lambda '($29) (block '(
  (let $30 (NarrowSqueezeToDict (ToFlow (WideFromBlocks $29)) $2 $8 '('Auto 'Many)))
  (let $31 (Condense1 (OrderedFlatMap $30 (lambda '($34) (OrderedFlatMap (DictPayloads $34) (lambda '($35) $35)))) (lambda '($36) (Member $36 '"value")) (lambda '($37 $38) (AggrNotEquals (Member $37 '"value") $38)) (lambda '($39 $40) $40)))
  (let $32 (Sort (Map $31 $8) (Bool 'true) (lambda '($41) (Member $41 '"value"))))
  (return (FromFlow (ExpandMap $32 (lambda '($42) (Member $42 '"value")))))
))) $9))
(let $11 (DqCnMerge (TDqOutput $10 '0) '('('0 '"Asc"))))
(let $12 (DqPhyStage '($11) (lambda '($43) (FromFlow (NarrowMap (ToFlow $43) $8))) '('('"_logical_id" '1247) '('"_id" '"21e7d202-4d08279f-8a0ac3ae-4d953e42"))))
(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"))))
)
