(
(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 '('RecordsCount '"4"))
(let $6 '('DataSize '"166"))
(let $7 '('ChunkCount '1))
(let $8 '('ModifyTime '0))
(let $9 '('Revision '0))
(let $10 '('key 'subkey))
(let $11 (DataType 'String))
(let $12 '('key $11))
(let $13 '('('"_logical_id" '1880) '('"_id" '"5195d8c3-f841263c-29da432c-e877da8d") '('"_wide_channels" (StructType $12))))
(let $14 (DqPhyStage '() (lambda '() (block '(
  (let $28 (YtStat '('Id '"Input4") $5 $6 $7 $8 $9))
  (let $29 (YtTable '"Input4" $3 $4 $28 '() (Void) (Void) '"/Root/plato"))
  (let $30 (YtReadTable! world $1 '((YtSection '((YtPath $29 $10 (Void) (Void))) '()))))
  (return (FromFlow (WideMap (WideFilter (DqReadWideWrap $30 '()) (lambda '($31 $32) (== $32 (String '"2")))) (lambda '($33 $34) $33))))
))) $13))
(let $15 (DqCnBroadcast (TDqOutput $14 '0)))
(let $16 (lambda '($48 $49) $48 $49))
(let $17 (StructType $12 '('subkey $11)))
(let $18 '('"_wide_channels" $17))
(let $19 '('('"_logical_id" '2061) '('"_id" '"acaf255e-ae9c5170-2bd37419-74741ca6") $18))
(let $20 (DqPhyStage '($15) (lambda '($35) (block '(
  (let $36 '('Many 'Hashed 'Compact))
  (let $37 (NarrowSqueezeToDict (ToFlow $35) (lambda '($41) $41) (lambda '($42) (AsStruct '('key $42))) $36))
  (let $38 (lambda '($50 $51 $52 $53) $50 $51))
  (let $39 (lambda '($54 $55 $56 $57 $58 $59) $58 $59))
  (let $40 (lambda '($60 $61 $62 $63) $62 $63))
  (return (DqPhyHashCombine (WideToBlocks (FromFlow (FlatMap $37 (lambda '($43) (block '(
    (let $44 (YtStat '('Id '"Input3") $5 $6 $7 $8 $9))
    (let $45 (YtTable '"Input3" $3 $4 $44 '() (Void) (Void) '"/Root/plato"))
    (let $46 (YtReadTable! world $1 '((YtSection '((YtPath $45 '('key '"value") (Void) (Void))) '()))))
    (let $47 '('0 '0 '1 '1))
    (return (MapJoinCore (DqReadWideWrap $46 '()) $43 'Inner '('0) '('key) $47 '() '('"ia.key") '('"ib.key")))
  )))))) '-1073741824 $16 $38 $39 $40))
))) $19))
(let $21 (DqCnHashShuffle (TDqOutput $20 '0) '('0 '1) '0 '"HashV2"))
(let $22 '('('"_logical_id" '2438) '('"_id" '"93804bf4-3d2d79a8-7a5f429f-819b2a60") $18))
(let $23 (DqPhyStage '($21) (lambda '($64) (block '(
  (let $65 (lambda '($67 $68 $69 $70)))
  (let $66 (WideCombiner (ToFlow (WideFromBlocks $64)) '"" $16 $65 $65 $16))
  (return (FromFlow (WideSort $66 '('('0 (Bool 'true))))))
))) $22))
(let $24 (DqCnMerge (TDqOutput $23 '0) '('('0 '"Asc"))))
(let $25 (DqPhyStage '($24) (lambda '($71) (FromFlow (NarrowMap (ToFlow $71) (lambda '($72 $73) (AsStruct '('key $72) '('subkey $73)))))) '('('"_logical_id" '2450) '('"_id" '"5e0b9d21-34dd8d35-73bf8615-4cff225"))))
(let $26 '($14 $20 $23 $25))
(let $27 (DqCnResult (TDqOutput $25 '0) $10))
(return (KqpPhysicalQuery '((KqpPhysicalTx $26 '($27) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $17) '0 '0)) '('('"type" '"query"))))
)
