(
(let $1 (lambda '($30 $31) $31 $30))
(let $2 (DataType 'String))
(let $3 (ListType $2))
(let $4 '('mod (OptionalType (DataType 'Int32))))
(let $5 '('('"_logical_id" '2032) '('"_id" '"bab145da-4bb69e6d-7dd444a9-fc660911") '('"_wide_channels" (StructType '('_yql_agg_0 $3) $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 '"14") '('DataSize '"614") '('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 '('"key" '"value") (Void) (Void))) '()))))
  (return (WideFromBlocks (DqPhyHashCombine (WideToBlocks (FromFlow (DqReadWideWrap $20 '()))) '-1073741824 (lambda '($21 $22) (% (SafeCast $21 (OptionalType (DataType 'Uint32))) (Int32 '"10"))) (lambda '($23 $24 $25) (AsList $25)) (lambda '($26 $27 $28 $29) (Insert $29 $28)) $1)))
))) $5))
(let $7 (DqCnHashShuffle (TDqOutput $6 '0) '('1) '0 '"HashV2"))
(let $8 (StructType '('iv $2) '('lv $3) $4))
(let $9 '('('"_logical_id" '2576) '('"_id" '"446522a4-4aa55f9b-6f06d4d7-98f13bd1") '('"_wide_channels" $8)))
(let $10 (DqPhyStage '($7) (lambda '($32) (block '(
  (let $33 (WideCombiner (ToFlow $32) '"" (lambda '($36 $37) $37) (lambda '($38 $39 $40) $39) (lambda '($41 $42 $43 $44) (Extend $42 $44)) $1))
  (let $34 (Sort (NarrowFlatMap $33 (lambda '($45 $46) (OrderedMap (Collect $45) (lambda '($47) (AsStruct '('iv $47) '('lv $45) '('mod $46)))))) (Bool 'true) (lambda '($48) (Member $48 'iv))))
  (let $35 (lambda '($49) (Member $49 'iv) (Member $49 'lv) (Member $49 'mod)))
  (return (FromFlow (ExpandMap $34 $35)))
))) $9))
(let $11 (DqCnMerge (TDqOutput $10 '0) '('('0 '"Asc"))))
(let $12 (DqPhyStage '($11) (lambda '($50) (FromFlow (NarrowMap (ToFlow $50) (lambda '($51 $52 $53) (AsStruct '('iv $51) '('lv $52) '('mod $53)))))) '('('"_logical_id" '2588) '('"_id" '"7a71ba08-c003a88f-4cda4fd1-49746145"))))
(let $13 '($6 $10 $12))
(let $14 (DqCnResult (TDqOutput $12 '0) '()))
(return (KqpPhysicalQuery '((KqpPhysicalTx $13 '($14) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $8) '0 '0)) '('('"type" '"query"))))
)
