(
(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 '('"key" $10))
(let $12 '('('"_logical_id" '1063) '('"_id" '"1e39c119-8ca2467f-443ebcd2-be413d24") '('"_wide_channels" (StructType $11 '('"value" $10)))))
(let $13 (DqPhyStage '() (lambda '() (block '(
  (let $23 (YtStat '('Id '"Input3") $5 $6 $7 $8 $9))
  (let $24 (YtTable '"Input3" $3 $4 $23 '() (Void) (Void) '"/Root/plato"))
  (let $25 (YtReadTable! world $1 '((YtSection '((YtPath $24 '('"key" '"value") (Void) (Void))) '()))))
  (return (FromFlow (DqReadWideWrap $25 '())))
))) $12))
(let $14 (DqCnBroadcast (TDqOutput $13 '0)))
(let $15 (StructType '('"Input1.subkey" $10) '('"Input3.value" $10) $11))
(let $16 '('('"_logical_id" '1255) '('"_id" '"ab07e7a9-d19ab76e-cbe464c0-b609ad35") '('"_wide_channels" $15)))
(let $17 (DqPhyStage '($14) (lambda '($26) (block '(
  (let $27 '('Many 'Hashed 'Compact))
  (let $28 (NarrowSqueezeToDict (ToFlow $26) (lambda '($30 $31) $30) (lambda '($32 $33) (AsStruct '('"key" $32) '('"value" $33))) $27))
  (let $29 (lambda '($39 $40 $41) $40 $41 $39))
  (return (FromFlow (WideMap (WideSort (FlatMap $28 (lambda '($34) (block '(
    (let $35 (YtStat '('Id '"Input1") $5 $6 $7 $8 $9))
    (let $36 (YtTable '"Input1" $3 $4 $35 '() (Void) (Void) '"/Root/plato"))
    (let $37 (YtReadTable! world $1 '((YtSection '((YtPath $36 '('"key" '"subkey") (Void) (Void))) '()))))
    (let $38 '('0 '0 '1 '1))
    (return (MapJoinCore (DqReadWideWrap $37 '()) $34 'Inner '('0) '('"key") $38 '('"value" '2) '('"Input1.key") '('"Input3.key")))
  )))) '('('0 (Bool 'false)))) $29)))
))) $16))
(let $18 (DqCnMerge (TDqOutput $17 '0) '('('2 '"Desc"))))
(let $19 (DqPhyStage '($18) (lambda '($42) (FromFlow (NarrowMap (ToFlow $42) (lambda '($43 $44 $45) (AsStruct '('"Input1.subkey" $43) '('"Input3.value" $44) '('"key" $45)))))) '('('"_logical_id" '1267) '('"_id" '"dbe89ac2-439f5b5b-75f36ed5-15eeeb90"))))
(let $20 '($13 $17 $19))
(let $21 '('"key" '"Input1.subkey" '"Input3.value"))
(let $22 (DqCnResult (TDqOutput $19 '0) $21))
(return (KqpPhysicalQuery '((KqpPhysicalTx $20 '($22) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $15) '0 '0)) '('('"type" '"query"))))
)
