(
(let $1 '('"value"))
(let $2 (lambda '($22) $22))
(let $3 (DataType 'String))
(let $4 (StructType '('"value" $3)))
(let $5 '('"_wide_channels" $4))
(let $6 '('('"_logical_id" '1180) '('"_id" '"a75bb945-25941854-5d5c99e8-8481e2d8") $5))
(let $7 (DqPhyStage '() (lambda '() (block '(
  (let $16 '@@["StructType";[["key";["DataType";"String"]];["subkey";["DataType";"String"]];["value";["DataType";"String"]]]]@@)
  (let $17 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $16)))
  (let $18 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" '"false")))))
  (let $19 (YtStat '('Id '"Input4") '('RecordsCount '"9") '('DataSize '"369") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $20 (YtTable '"Input4" $17 $18 $19 '() (Void) (Void) '"/Root/plato"))
  (let $21 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $20 $1 (Void) (Void))) '()))))
  (return (DqPhyHashCombine (WideToBlocks (FromFlow (DqReadWideWrap $21 '()))) '-1073741824 $2 (lambda '($23 $24) $23) (lambda '($25 $26 $27) $27) (lambda '($28 $29) $29)))
))) $6))
(let $8 (DqCnHashShuffle (TDqOutput $7 '0) '('0) '0 '"HashV2"))
(let $9 (lambda '($34) (AsStruct '('"value" $34))))
(let $10 '('('"_logical_id" '1421) '('"_id" '"e2564f9b-afa37d76-a5cfb7b3-a33fa064") $5))
(let $11 (DqPhyStage '($8) (lambda '($30) (block '(
  (let $31 (NarrowSqueezeToDict (ToFlow (WideFromBlocks $30)) $2 $9 '('Auto 'Many)))
  (let $32 (Condense1 (OrderedFlatMap $31 (lambda '($35) (OrderedFlatMap (DictPayloads $35) (lambda '($36) $36)))) (lambda '($37) (Member $37 '"value")) (lambda '($38 $39) (AggrNotEquals (Member $38 '"value") $39)) (lambda '($40 $41) $41)))
  (let $33 (Sort (Map $32 (lambda '($42) (block '(
    (let $43 '($3 '"" '1))
    (let $44 (CallableType '() '($3) $43))
    (let $45 (Udf '"String.HexText" (Void) (VoidType) '"" $44 (VoidType) '"" '('('"blocks") '('"strict"))))
    (return (AsStruct '('"value" (Apply $45 (Apply $45 $42)))))
  )))) (Bool 'true) (lambda '($46) (Member $46 '"value"))))
  (return (FromFlow (ExpandMap $33 (lambda '($47) (Member $47 '"value")))))
))) $10))
(let $12 (DqCnMerge (TDqOutput $11 '0) '('('0 '"Asc"))))
(let $13 (DqPhyStage '($12) (lambda '($48) (FromFlow (NarrowMap (ToFlow $48) $9))) '('('"_logical_id" '1433) '('"_id" '"a72a6450-3b830317-83b5a220-783c188f"))))
(let $14 '($7 $11 $13))
(let $15 (DqCnResult (TDqOutput $13 '0) $1))
(return (KqpPhysicalQuery '((KqpPhysicalTx $14 '($15) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $4) '0 '0)) '('('"type" '"query"))))
)
