(
(let $1 (lambda '() (block '(
  (let $26 '@@["StructType";[["key";["DataType";"String"]];["subkey";["DataType";"String"]];["value";["DataType";"String"]]]]@@)
  (let $27 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $26)))
  (let $28 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" '"false")))))
  (let $29 (YtStat '('Id '"Input") '('RecordsCount '"14") '('DataSize '"614") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $30 (YtTable '"Input" $27 $28 $29 '() (Void) (Void) '"/Root/plato"))
  (let $31 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $30 '('"key" '"subkey") (Void) (Void))) '()))))
  (return (FromFlow (DqReadWideWrap $31 '())))
))))
(let $2 '('"_logical_id" '1665))
(let $3 (DataType 'String))
(let $4 '('"_wide_channels" (StructType '('"key" $3) '('"subkey" $3))))
(let $5 '($2 '('"_id" '"2a1fc13b-33f13811-7ed85898-aed22942") $4))
(let $6 (DqPhyStage '() $1 $5))
(let $7 '($2 '('"_id" '"e8032062-d250d6e1-a8cf5f23-df583fa1") $4))
(let $8 (DqPhyStage '() $1 $7))
(let $9 (DqCnMap (TDqOutput $6 '0)))
(let $10 (DqCnBroadcast (TDqOutput $8 '0)))
(let $11 (lambda '($45 $46 $47) $45 $46 $47))
(let $12 (StructType '('"i1.key" $3) '('"i1.subkey" $3) '('"i2.key" $3)))
(let $13 '('"_wide_channels" $12))
(let $14 '('('"_logical_id" '1218) '('"_id" '"30b3b8ce-1c269fc1-30c503c3-47fc16bf") $13))
(let $15 (DqPhyStage '($9 $10) (lambda '($32 $33) (block '(
  (let $34 '('Many 'Hashed 'Compact))
  (let $35 (NarrowSqueezeToDict (ToFlow $33) (lambda '($39 $40) $40) (lambda '($41 $42) (AsStruct '('"key" $41) '('"subkey" $42))) $34))
  (let $36 (lambda '($48 $49 $50 $51 $52 $53) $48 $49 $50))
  (let $37 (lambda '($54 $55 $56 $57 $58 $59 $60 $61 $62) $60 $61 $62))
  (let $38 (lambda '($63 $64 $65 $66 $67 $68) $66 $67 $68))
  (return (DqPhyHashCombine (WideToBlocks (FromFlow (FlatMap $35 (lambda '($43) (block '(
    (let $44 '('0 '0 '1 '1))
    (return (MapJoinCore (ToFlow $32) $43 'Inner '('0) '('"subkey") $44 '('"key" '2) '('"i1.key") '('"i2.subkey")))
  )))))) '-1073741824 $11 $36 $37 $38))
))) $14))
(let $16 '('0 '1 '2))
(let $17 (DqCnHashShuffle (TDqOutput $15 '0) $16 '0 '"HashV2"))
(let $18 '('('"_logical_id" '1590) '('"_id" '"35108057-f9d64176-32a1aac6-b300fffd") $13))
(let $19 (DqPhyStage '($17) (lambda '($69) (block '(
  (let $70 (lambda '($74 $75 $76 $77 $78 $79)))
  (let $71 (WideCombiner (ToFlow (WideFromBlocks $69)) '"" $11 $70 $70 $11))
  (let $72 (Bool 'true))
  (let $73 '('('0 $72) '('2 $72) '('1 $72)))
  (return (FromFlow (WideSort $71 $73)))
))) $18))
(let $20 '('('0 '"Asc") '('2 '"Asc") '('1 '"Asc")))
(let $21 (DqCnMerge (TDqOutput $19 '0) $20))
(let $22 (DqPhyStage '($21) (lambda '($80) (FromFlow (NarrowMap (ToFlow $80) (lambda '($81 $82 $83) (AsStruct '('"i1.key" $81) '('"i1.subkey" $82) '('"i2.key" $83)))))) '('('"_logical_id" '1602) '('"_id" '"ca65834a-f6c937c2-7b7307a1-1f02241a"))))
(let $23 '($6 $8 $15 $19 $22))
(let $24 '('"i1.key" '"i2.key" '"i1.subkey"))
(let $25 (DqCnResult (TDqOutput $22 '0) $24))
(return (KqpPhysicalQuery '((KqpPhysicalTx $23 '($25) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $12) '0 '0)) '('('"type" '"query"))))
)
