(
(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" '"value"))
(let $11 (DataType 'String))
(let $12 (StructType '('"key" $11) '('"subkey" $11) '('"value" $11)))
(let $13 '('('"_logical_id" '876) '('"_id" '"8dce825c-9711c5a8-591d8ba0-76e5e5a7") '('"_wide_channels" $12)))
(let $14 (DqPhyStage '() (lambda '() (block '(
  (let $21 (YtStat '('Id '"Input2") $5 $6 $7 $8 $9))
  (let $22 (YtTable '"Input2" $3 $4 $21 '() (Void) (Void) '"/Root/plato"))
  (let $23 (YtReadTable! world $1 '((YtSection '((YtPath $22 $10 (Void) (Void))) '()))))
  (return (FromFlow (DqReadWideWrap $23 '())))
))) $13))
(let $15 (DqCnBroadcast (TDqOutput $14 '0)))
(let $16 (DqPhyStage '($15) (lambda '($24) (block '(
  (let $25 '('Many 'Hashed 'Compact))
  (let $26 (NarrowSqueezeToDict (ToFlow $24) (lambda '($27 $28 $29) '($27 $27)) (lambda '($30 $31 $32) (AsStruct '('"key" $30) '('"subkey" $31) '('"value" $32))) $25))
  (return (FromFlow (NarrowMap (FlatMap $26 (lambda '($33) (block '(
    (let $34 (YtStat '('Id '"Input1") $5 $6 $7 $8 $9))
    (let $35 (YtTable '"Input1" $3 $4 $34 '() (Void) (Void) '"/Root/plato"))
    (let $36 (YtReadTable! world $1 '((YtSection '((YtPath $35 $10 (Void) (Void))) '()))))
    (let $37 '('0 '0 '1 '1 '2 '2))
    (let $38 '('"key" '3 '"subkey" '4 '"value" '5))
    (return (MapJoinCore (DqReadWideWrap $36 '()) $33 'Inner '('0 '1) '('"key" '"key") $37 $38 '('"a.key" '"a.subkey") '('"b.key" '"b.key")))
  )))) (lambda '($39 $40 $41 $42 $43 $44) (AsStruct '('"a.key" $39) '('"a.subkey" $40) '('"a.value" $41) '('"b.key" $42) '('"b.subkey" $43) '('"b.value" $44))))))
))) '('('"_logical_id" '937) '('"_id" '"b8bd91f3-79a00c4a-f8c1de10-f9bb4e6"))))
(let $17 (DqCnUnionAll (TDqOutput $16 '0)))
(let $18 (DqPhyStage '($17) (lambda '($45) $45) '('('"_logical_id" '1092) '('"_id" '"200f930e-d9e6977e-d805f2ea-f23c6666"))))
(let $19 '($14 $16 $18))
(let $20 (DqCnResult (TDqOutput $18 '0) '()))
(return (KqpPhysicalQuery '((KqpPhysicalTx $19 '($20) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType (StructType '('"a.key" $11) '('"a.subkey" $11) '('"a.value" $11) '('"b.key" $11) '('"b.subkey" $11) '('"b.value" $11))) '0 '0)) '('('"type" '"query"))))
)
