(
(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 (DataType 'String))
(let $11 (StructType '('"key" $10) '('"subkey" $10) '('"value" $10)))
(let $12 '('('"_logical_id" '988) '('"_id" '"be470360-505143b1-88b9614-b888a6f0") '('"_wide_channels" $11)))
(let $13 (DqPhyStage '() (lambda '() (block '(
  (let $21 (YtStat '('Id '"Input3") $5 $6 $7 $8 $9))
  (let $22 (YtTable '"Input3" $3 $4 $21 '() (Void) (Void) '"/Root/plato"))
  (let $23 '('"key" '"subkey" '"value"))
  (let $24 (YtReadTable! world $1 '((YtSection '((YtPath $22 $23 (Void) (Void))) '()))))
  (return (FromFlow (DqReadWideWrap $24 '())))
))) $12))
(let $14 (DqCnBroadcast (TDqOutput $13 '0)))
(let $15 (DqPhyStage '($14) (lambda '($25) (block '(
  (let $26 '('Many 'Hashed 'Compact))
  (let $27 (NarrowSqueezeToDict (ToFlow $25) (lambda '($28 $29 $30) $30) (lambda '($31 $32 $33) (AsStruct '('"key" $31) '('"subkey" $32) '('"value" $33))) $26))
  (return (FromFlow (NarrowMap (FlatMap $27 (lambda '($34) (block '(
    (let $35 (YtStat '('Id '"Input2") $5 $6 $7 $8 $9))
    (let $36 (YtTable '"Input2" $3 $4 $35 '() (Void) (Void) '"/Root/plato"))
    (let $37 '('"value"))
    (let $38 (YtReadTable! world $1 '((YtSection '((YtPath $36 $37 (Void) (Void))) '()))))
    (let $39 '('"key" '0 '"subkey" '1 '"value" '2))
    (return (MapJoinCore (DqReadWideWrap $38 '()) $34 'Inner '('0) $37 '() $39 '('"a.value") '('"b.value")))
  )))) (lambda '($40 $41 $42) (AsStruct '('"b.key" $40) '('"b.subkey" $41) '('"b.value" $42))))))
))) '('('"_logical_id" '1076) '('"_id" '"16a4190-d353e985-e765b2d0-2441a8b6"))))
(let $16 (DqCnUnionAll (TDqOutput $15 '0)))
(let $17 (DqPhyStage '($16) (lambda '($43) $43) '('('"_logical_id" '1233) '('"_id" '"29ed307e-88f03e19-421ef37-ff70a03f"))))
(let $18 '($13 $15 $17))
(let $19 '('"b.key" '"b.subkey" '"b.value"))
(let $20 (DqCnResult (TDqOutput $17 '0) $19))
(return (KqpPhysicalQuery '((KqpPhysicalTx $18 '($20) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType (StructType '('"b.key" $10) '('"b.subkey" $10) '('"b.value" $10))) '0 '0)) '('('"type" '"query"))))
)
