(
(let $1 (DataType 'String))
(let $2 '('('"_logical_id" '1147) '('"_id" '"2cf94e5b-98655141-75da96df-f8018020") '('"_wide_channels" (StructType '('_yql_agg_0 $1) '('"key" $1)))))
(let $3 (DqPhyStage '() (lambda '() (block '(
  (let $12 '@@["StructType";[["key";["DataType";"String"]];["subkey";["DataType";"String"]];["value";["DataType";"String"]]]]@@)
  (let $13 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $12)))
  (let $14 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" '"false")))))
  (let $15 (YtStat '('Id '"Input") '('RecordsCount '"4") '('DataSize '"166") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $16 (YtTable '"Input" $13 $14 $15 '() (Void) (Void) '"/Root/plato"))
  (let $17 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $16 '('"key") (Void) (Void))) '()))))
  (let $18 (lambda '($21 $22)))
  (let $19 (lambda '($23) $23 $23))
  (return (DqPhyHashCombine (WideToBlocks (FromFlow (DqReadWideWrap $17 '()))) '-1073741824 (lambda '($20) $20) $18 $18 $19))
))) $2))
(let $4 (DqCnHashShuffle (TDqOutput $3 '0) '('1) '0 '"HashV2"))
(let $5 (StructType '('"some_key" $1)))
(let $6 '('('"_logical_id" '1485) '('"_id" '"1cc9a0b3-98409d02-27c998a6-1bbd0ee8") '('"_wide_channels" $5)))
(let $7 (DqPhyStage '($4) (lambda '($24) (block '(
  (let $25 (NarrowSqueezeToDict (ToFlow (WideFromBlocks $24)) (lambda '($28 $29) $29) (lambda '($30 $31) (AsStruct '('_yql_agg_0 $30) '('"key" $31))) '('Auto 'Many)))
  (let $26 (Condense1 (OrderedFlatMap $25 (lambda '($32) (OrderedFlatMap (DictPayloads $32) (lambda '($33) $33)))) (lambda '($34) $34) (lambda '($35 $36) (AggrNotEquals (Member $35 '"key") (Member $36 '"key"))) (lambda '($37 $38) $38)))
  (let $27 (Sort (Map $26 (lambda '($39) (AsStruct '('"some_key" (Member $39 '_yql_agg_0))))) (Bool 'true) (lambda '($40) (Member $40 '"some_key"))))
  (return (FromFlow (ExpandMap $27 (lambda '($41) (Member $41 '"some_key")))))
))) $6))
(let $8 (DqCnMerge (TDqOutput $7 '0) '('('0 '"Asc"))))
(let $9 (DqPhyStage '($8) (lambda '($42) (FromFlow (NarrowMap (ToFlow $42) (lambda '($43) (AsStruct '('"some_key" $43)))))) '('('"_logical_id" '1497) '('"_id" '"c80e4ed8-37a6fb23-2feae62c-5769f6e9"))))
(let $10 '($3 $7 $9))
(let $11 (DqCnResult (TDqOutput $9 '0) '('"some_key")))
(return (KqpPhysicalQuery '((KqpPhysicalTx $10 '($11) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $5) '0 '0)) '('('"type" '"query"))))
)
