(
(let $1 (DataType 'String))
(let $2 (StructType '('"key" $1) '('"subkey" $1) '('"value" $1)))
(let $3 '('"_wide_channels" $2))
(let $4 '('('"_logical_id" '969) '('"_id" '"8c01b1ff-9624be3c-4d51ffad-a8f2553c") $3))
(let $5 (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) '('HasRLS '0) '('Attrs '('('"native_strict_schema" '"false")))))
  (let $18 (YtStat '('Id '"Input") '('RecordsCount '"5") '('DataSize '"205") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $19 (YtTable '"Input" $16 $17 $18 '() (Void) (Void) '"/Root/plato"))
  (let $20 '('"key" '"subkey" '"value"))
  (let $21 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $19 $20 (Void) (Void) (Void))) '()))))
  (let $22 (lambda '($26 $27 $28) $26 $27 $28))
  (let $23 (lambda '($29 $30 $31 $32 $33 $34) $29 $30 $31))
  (let $24 (lambda '($35 $36 $37 $38 $39 $40 $41 $42 $43) $41 $42 $43))
  (let $25 (lambda '($44 $45 $46 $47 $48 $49) $47 $48 $49))
  (return (FromFlow (DqPhyHashCombine (DqReadWideWrap $21 '()) '-1073741824 $22 $23 $24 $25)))
))) $4))
(let $6 '('0 '1 '2))
(let $7 (DqCnHashShuffle (TDqOutput $5 '0) $6 '0 '"HashV2"))
(let $8 (lambda '($59 $60 $61) (AsStruct '('"key" $59) '('"subkey" $60) '('"value" $61))))
(let $9 '('('"_logical_id" '1197) '('"_id" '"a89490d7-d9a709b1-db5ddf37-bb7abbaf") $3))
(let $10 (DqPhyStage '($7) (lambda '($50) (block '(
  (let $51 (NarrowSqueezeToDict (ToFlow $50) (lambda '($56 $57 $58) '($56 $57 $58)) $8 '('Auto 'Many)))
  (let $52 (Condense1 (OrderedFlatMap $51 (lambda '($62) (OrderedFlatMap (DictPayloads $62) (lambda '($63) $63)))) (lambda '($64) $64) (lambda '($65 $66) (Or (AggrNotEquals (Member $65 '"key") (Member $66 '"key")) (AggrNotEquals (Member $65 '"subkey") (Member $66 '"subkey")) (AggrNotEquals (Member $65 '"value") (Member $66 '"value")))) (lambda '($67 $68) $68)))
  (let $53 (Bool 'true))
  (let $54 (Sort $52 '($53 $53) (lambda '($69) '((Member $69 '"key") (Member $69 '"subkey")))))
  (let $55 (lambda '($70) (Member $70 '"key") (Member $70 '"subkey") (Member $70 '"value")))
  (return (FromFlow (ExpandMap $54 $55)))
))) $9))
(let $11 (DqCnMerge (TDqOutput $10 '0) '('('0 '"Asc") '('1 '"Asc"))))
(let $12 (DqPhyStage '($11) (lambda '($71) (FromFlow (NarrowMap (ToFlow $71) $8))) '('('"_logical_id" '1209) '('"_id" '"14cf7559-85d1409d-e5389a82-d341b455"))))
(let $13 '($5 $10 $12))
(let $14 (DqCnResult (TDqOutput $12 '0) '()))
(return (KqpPhysicalQuery '((KqpPhysicalTx $13 '($14) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $2) '0 '0)) '('('"type" '"query"))))
)
