(
(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" '1860) '('"_id" '"c07646d3-f0884fe2-1f640f67-558e76f1") '('"_wide_channels" $12)))
(let $14 (DqPhyStage '() (lambda '() (block '(
  (let $23 (YtStat '('Id '"Input2") $5 $6 $7 $8 $9))
  (let $24 (YtTable '"Input2" $3 $4 $23 '() (Void) (Void) '"/Root/plato"))
  (let $25 (YtReadTable! world $1 '((YtSection '((YtPath $24 $10 (Void) (Void))) '()))))
  (return (FromFlow (DqReadWideWrap $25 '())))
))) $13))
(let $15 (DqCnBroadcast (TDqOutput $14 '0)))
(let $16 (StructType '('"Input2.key" $11) '('"Input2.subkey" $11) '('"Input2.value" $11) '('"a.key" $11) '('"a.subkey" $11) '('"a.value" $11)))
(let $17 '('('"_logical_id" '2030) '('"_id" '"f031426c-a4b4a1e6-84bef0bc-255a2ea9") '('"_wide_channels" $16)))
(let $18 (DqPhyStage '($15) (lambda '($26) (block '(
  (let $27 '('Many 'Hashed 'Compact))
  (let $28 (NarrowSqueezeToDict (ToFlow $26) (lambda '($30 $31 $32) $30) (lambda '($33 $34 $35) (AsStruct '('"key" $33) '('"subkey" $34) '('"value" $35))) $27))
  (let $29 (lambda '($42 $43 $44 $45 $46 $47) $42 $43 $44 $45 $46 (Concat (String '"value: ") $47)))
  (return (FromFlow (WideMap (WideSort (FlatMap $28 (lambda '($36) (block '(
    (let $37 (YtStat '('Id '"Input1") $5 $6 $7 $8 $9))
    (let $38 (YtTable '"Input1" $3 $4 $37 '() (Void) (Void) '"/Root/plato"))
    (let $39 (YtReadTable! world $1 '((YtSection '((YtPath $38 $10 (Void) (Void))) '()))))
    (let $40 '('0 '3 '1 '4 '2 '5))
    (let $41 '('"key" '0 '"subkey" '1 '"value" '2))
    (return (MapJoinCore (DqReadWideWrap $39 '()) $36 'Inner '('0) '('"key") $40 $41 '('"a.key") '('"Input2.key")))
  )))) '('('0 (Bool 'true)))) $29)))
))) $17))
(let $19 (DqCnMerge (TDqOutput $18 '0) '('('0 '"Asc"))))
(let $20 (DqPhyStage '($19) (lambda '($48) (FromFlow (NarrowMap (ToFlow $48) (lambda '($49 $50 $51 $52 $53 $54) (AsStruct '('"Input2.key" $49) '('"Input2.subkey" $50) '('"Input2.value" $51) '('"a.key" $52) '('"a.subkey" $53) '('"a.value" $54)))))) '('('"_logical_id" '2042) '('"_id" '"9b8deeac-b1eaf6b4-564d39b0-13436e24"))))
(let $21 '($14 $18 $20))
(let $22 (DqCnResult (TDqOutput $20 '0) '()))
(return (KqpPhysicalQuery '((KqpPhysicalTx $21 '($22) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $16) '0 '0)) '('('"type" '"query"))))
)
