(
(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" '868) '('"_id" '"4c71bac5-48930efe-1e3c5a62-1e5c890a") '('"_wide_channels" $12)))
(let $14 (DqPhyStage '() (lambda '() (block '(
  (let $21 (YtStat '('Id '"B") $5 $6 $7 $8 $9))
  (let $22 (YtTable '"B" $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 $28)) (lambda '($30 $31 $32) (AsStruct '('"key" $30) '('"subkey" $31) '('"value" $32))) $25))
  (return (FromFlow (NarrowMap (FlatMap $26 (lambda '($33) (block '(
    (let $34 (YtStat '('Id '"A") $5 $6 $7 $8 $9))
    (let $35 (YtTable '"A" $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" '"subkey") $37 $38 '('"A.key" '"A.subkey") '('"B.key" '"B.subkey")))
  )))) (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" '929) '('"_id" '"3f76ad1f-81db7dad-bfb6eace-6317fc24"))))
(let $17 (DqCnUnionAll (TDqOutput $16 '0)))
(let $18 (DqPhyStage '($17) (lambda '($45) $45) '('('"_logical_id" '1082) '('"_id" '"5bf0715b-a5f2423c-638556d1-4f469fa1"))))
(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"))))
)
