(
(let $1 (DataSource '"yt" '"/Root/plato"))
(let $2 '@@["StructType";[["key";["DataType";"String"]];["subkey";["DataType";"String"]];["value";["DataType";"String"]]]]@@)
(let $3 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $2)))
(let $4 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" '"false")))))
(let $5 (YtStat '('Id '"Input") '('RecordsCount '"14") '('DataSize '"614") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
(let $6 (YtTable '"Input" $3 $4 $5 '() (Void) (Void) '"/Root/plato"))
(let $7 '('"key"))
(let $8 (lambda '() (block '(
  (let $57 (YtReadTable! world $1 '((YtSection '((YtPath $6 $7 (Void) (Void))) '()))))
  (return (FromFlow (DqReadWideWrap $57 '())))
))))
(let $9 '('"_logical_id" '3127))
(let $10 (DataType 'String))
(let $11 '('"_wide_channels" (StructType '('"key" $10))))
(let $12 '($9 '('"_id" '"d0d13cd1-d226c703-bab819e0-ef289b2e") $11))
(let $13 (DqPhyStage '() $8 $12))
(let $14 (DqCnBroadcast (TDqOutput $13 '0)))
(let $15 (lambda '($63) $63))
(let $16 (lambda '($64) (AsStruct '('"key" $64))))
(let $17 '('Many 'Hashed 'Compact))
(let $18 (YtReadTable! world $1 '((YtSection '((YtPath $6 '('"key" '"subkey") (Void) (Void))) '()))))
(let $19 (DqReadWideWrap $18 '()))
(let $20 '('0))
(let $21 '('"t1.key"))
(let $22 '('"t2.key"))
(let $23 (lambda '($67 $68) $67 $68))
(let $24 '('"_logical_id" '2821))
(let $25 '('kk $10))
(let $26 '($24 '('"_id" '"88d8385c-d5c53c67-9afd1028-3df008cc") '('"_wide_channels" (StructType $25 '('sk $10)))))
(let $27 (DqPhyStage '($14) (lambda '($58) (block '(
  (let $59 (NarrowSqueezeToDict (ToFlow $58) $15 $16 $17))
  (let $60 (lambda '($69 $70 $71 $72) $69 $70))
  (let $61 (lambda '($73 $74 $75 $76 $77 $78) $77 $78))
  (let $62 (lambda '($79 $80 $81 $82) $81 $82))
  (return (DqPhyHashCombine (WideToBlocks (FromFlow (FlatMap $59 (lambda '($65) (block '(
    (let $66 '('0 '0 '1 '1))
    (return (MapJoinCore $19 $65 'Inner $20 $7 $66 '() $21 $22))
  )))))) '-1073741824 $23 $60 $61 $62))
))) $26))
(let $28 (DqCnHashShuffle (TDqOutput $27 '0) '('0 '1) '0 '"HashV2"))
(let $29 '('"_partition_mode" '"aggregate"))
(let $30 (OptionalType $10))
(let $31 (StructType '('kk $30) '('sk $30)))
(let $32 '('"_wide_channels" $31))
(let $33 '('('"_logical_id" '2677) '('"_id" '"30561840-674a8946-b243f7de-558019c0") $29 $32))
(let $34 (DqPhyStage '($28) (lambda '($83) (block '(
  (let $84 (lambda '($87 $88 $89 $90)))
  (let $85 (WideCombiner (ToFlow (WideFromBlocks $83)) '"" $23 $84 $84 $23))
  (let $86 (lambda '($91 $92) (Just $91) (Just $92)))
  (return (FromFlow (WideMap $85 $86)))
))) $33))
(let $35 '($9 '('"_id" '"f9920e26-607158d0-303f9e0c-9c16dd8d") $11))
(let $36 (DqPhyStage '() $8 $35))
(let $37 (DqCnBroadcast (TDqOutput $36 '0)))
(let $38 '($24 '('"_id" '"83a958bc-1dd273eb-b6b334d7-af7936ba") '('"_wide_channels" (StructType $25))))
(let $39 (DqPhyStage '($37) (lambda '($93) (block '(
  (let $94 (NarrowSqueezeToDict (ToFlow $93) $15 $16 $17))
  (let $95 (lambda '($97 $98) $97))
  (return (DqPhyHashCombine (WideToBlocks (FromFlow (FlatMap $94 (lambda '($96) (MapJoinCore (WideMap $19 $95) $96 'Inner $20 $7 '('0 '0) '() $21 $22))))) '-1073741824 $15 $95 (lambda '($99 $100 $101) $101) (lambda '($102 $103) $103)))
))) $38))
(let $40 (DqCnHashShuffle (TDqOutput $39 '0) $20 '0 '"HashV2"))
(let $41 (Nothing $30))
(let $42 '('('"_logical_id" '2903) '('"_id" '"a9fcfcf8-8659fe0-1db5a00f-3bc2d2f6") $29 $32))
(let $43 (DqPhyStage '($40) (lambda '($104) (block '(
  (let $105 (lambda '($108 $109)))
  (let $106 (WideCombiner (ToFlow (WideFromBlocks $104)) '"" $15 $105 $105 $15))
  (let $107 (lambda '($110) (Just $110) $41))
  (return (FromFlow (WideMap $106 $107)))
))) $42))
(let $44 '('('"_logical_id" '2937) '('"_id" '"dc565b00-edea87c7-81a5f391-4b1c7b49") $32))
(let $45 (DqPhyStage '() (lambda '() (block '(
  (let $111 (lambda '($112) (Member $112 'kk) (Member $112 'sk)))
  (return (FromFlow (ExpandMap (ToFlow (AsList (AsStruct '('kk $41) '('sk $41)))) $111)))
))) $44))
(let $46 (DqCnParallelUnionAll (TDqOutput $34 '0)))
(let $47 (DqCnParallelUnionAll (TDqOutput $43 '0)))
(let $48 (DqCnParallelUnionAll (TDqOutput $45 '0)))
(let $49 '($46 $47 $48))
(let $50 (lambda '($120 $121) (AsStruct '('kk $120) '('sk $121))))
(let $51 '('('"_logical_id" '2998) '('"_id" '"b9091993-3aa59b15-67d395fa-94b45329") $32))
(let $52 (DqPhyStage $49 (lambda '($113 $114 $115) (block '(
  (let $116 (Extend (NarrowMap (ToFlow $113) $50) (NarrowMap (ToFlow $114) $50) (NarrowMap (ToFlow $115) $50)))
  (let $117 (Bool 'true))
  (let $118 (Sort $116 '($117 $117) (lambda '($122) '((Member $122 'kk) (Member $122 'sk)))))
  (let $119 (lambda '($123) (Member $123 'kk) (Member $123 'sk)))
  (return (FromFlow (ExpandMap $118 $119)))
))) $51))
(let $53 (DqCnMerge (TDqOutput $52 '0) '('('0 '"Asc") '('1 '"Asc"))))
(let $54 (DqPhyStage '($53) (lambda '($124) (FromFlow (NarrowMap (ToFlow $124) $50))) '('('"_logical_id" '3010) '('"_id" '"8c294b5e-e7ce4101-4122722b-79f0ef99"))))
(let $55 '($13 $27 $34 $36 $39 $43 $45 $52 $54))
(let $56 (DqCnResult (TDqOutput $54 '0) '()))
(return (KqpPhysicalQuery '((KqpPhysicalTx $55 '($56) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $31) '0 '0)) '('('"type" '"query"))))
)
