(
(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" '1000) '('"_id" '"14a87db0-e3faadce-73b3fe7a-713e6e61") '('"_wide_channels" $12)))
(let $14 (DqPhyStage '() (lambda '() (block '(
  (let $22 (YtStat '('Id '"Input3") $5 $6 $7 $8 $9))
  (let $23 (YtTable '"Input3" $3 $4 $22 '() (Void) (Void) '"/Root/plato"))
  (let $24 (YtReadTable! world $1 '((YtSection '((YtPath $23 $10 (Void) (Void))) '()))))
  (return (FromFlow (DqReadWideWrap $24 '())))
))) $13))
(let $15 (DqCnBroadcast (TDqOutput $14 '0)))
(let $16 (DqPhyStage '($15) (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 (YtReadTable! world $1 '((YtSection '((YtPath $36 $10 (Void) (Void))) '()))))
    (let $38 '('0 '0 '1 '1 '2 '2))
    (let $39 '('"key" '3 '"subkey" '4 '"value" '5))
    (return (MapJoinCore (DqReadWideWrap $37 '()) $34 'Inner '('2) '('"value") $38 $39 '('"a.value") '('"b.value")))
  )))) (lambda '($40 $41 $42 $43 $44 $45) (AsStruct '('"a.key" $40) '('"a.subkey" $41) '('"a.value" $42) '('"b.key" $43) '('"b.subkey" $44) '('"b.value" $45) '('"q" (Int32 '1)))))))
))) '('('"_logical_id" '1109) '('"_id" '"57488394-db8bb8dd-7b218233-f039d9b2"))))
(let $17 (DqCnUnionAll (TDqOutput $16 '0)))
(let $18 (DqPhyStage '($17) (lambda '($46) $46) '('('"_logical_id" '1283) '('"_id" '"13919b5e-77b39adb-c6b83616-67c767b9"))))
(let $19 '($14 $16 $18))
(let $20 '('"b.key" '"b.subkey" '"b.value" '"q" '"a.key" '"a.subkey" '"a.value"))
(let $21 (DqCnResult (TDqOutput $18 '0) $20))
(return (KqpPhysicalQuery '((KqpPhysicalTx $19 '($21) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType (StructType '('"a.key" $11) '('"a.subkey" $11) '('"a.value" $11) '('"b.key" $11) '('"b.subkey" $11) '('"b.value" $11) '('"q" (DataType 'Int32)))) '0 '0)) '('('"type" '"query"))))
)
