(
(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" '877) '('"_id" '"d856faf2-da8f3617-56b2b2f5-3383905f") '('"_wide_channels" $12)))
(let $14 (DqPhyStage '() (lambda '() (block '(
  (let $21 (YtStat '('Id '"Input4") $5 $6 $7 $8 $9))
  (let $22 (YtTable '"Input4" $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 $29)) (lambda '($30 $31 $32) (AsStruct '('"key" $30) '('"subkey" $31) '('"value" $32))) $25))
  (return (FromFlow (NarrowMap (FlatMap $26 (lambda '($33) (block '(
    (let $34 (YtStat '('Id '"Input2") $5 $6 $7 $8 $9))
    (let $35 (YtTable '"Input2" $3 $4 $34 '() (Void) (Void) '"/Root/plato"))
    (let $36 (YtReadTable! world $1 '((YtSection '((YtPath $35 $10 (Void) (Void))) '()))))
    (let $37 '('0 '1 '2))
    (let $38 '('0 '0 '1 '1 '2 '2))
    (let $39 '('"key" '3 '"subkey" '4 '"value" '5))
    (let $40 '('"A.key" '"A.subkey" '"A.value"))
    (let $41 '('"B.key" '"B.subkey" '"B.value"))
    (return (MapJoinCore (DqReadWideWrap $36 '()) $33 'Inner $37 $10 $38 $39 $40 $41))
  )))) (lambda '($42 $43 $44 $45 $46 $47) (AsStruct '('"A.key" $42) '('"A.subkey" $43) '('"A.value" $44) '('"B.key" $45) '('"B.subkey" $46) '('"B.value" $47))))))
))) '('('"_logical_id" '940) '('"_id" '"2c15a960-721cbaba-3170af9e-a6034fd0"))))
(let $17 (DqCnUnionAll (TDqOutput $16 '0)))
(let $18 (DqPhyStage '($17) (lambda '($48) $48) '('('"_logical_id" '1093) '('"_id" '"8f87d55-12d42d5-429f2df-4a90f987"))))
(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"))))
)
