(
(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"))
(let $11 (StructType '('"key" (DataType 'String))))
(let $12 '('"_wide_channels" $11))
(let $13 '('('"_logical_id" '964) '('"_id" '"fedca7bd-bba90f55-a9ef289-aae950ba") $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 (lambda '($30) (AsStruct '('"key" $30))))
(let $17 '('('"_logical_id" '1144) '('"_id" '"15b85590-768385b2-3af69f59-9429f274") $12))
(let $18 (DqPhyStage '($15) (lambda '($26) (block '(
  (let $27 '('Many 'Hashed 'Compact))
  (let $28 (NarrowSqueezeToDict (ToFlow $26) (lambda '($29) $29) $16 $27))
  (return (FromFlow (WideSort (FlatMap $28 (lambda '($31) (block '(
    (let $32 (YtStat '('Id '"Input1") $5 $6 $7 $8 $9))
    (let $33 (YtTable '"Input1" $3 $4 $32 '() (Void) (Void) '"/Root/plato"))
    (let $34 (YtReadTable! world $1 '((YtSection '((YtPath $33 $10 (Void) (Void))) '()))))
    (return (MapJoinCore (DqReadWideWrap $34 '()) $31 'Inner '('0) $10 '('0 '0) '() '('"a.key") '('"b.key")))
  )))) '('('0 (Bool 'true))))))
))) $17))
(let $19 (DqCnMerge (TDqOutput $18 '0) '('('0 '"Asc"))))
(let $20 (DqPhyStage '($19) (lambda '($35) (FromFlow (NarrowMap (ToFlow $35) $16))) '('('"_logical_id" '1156) '('"_id" '"dc1154c5-263869a4-1c7b57b4-24c3e750"))))
(let $21 '($14 $18 $20))
(let $22 (DqCnResult (TDqOutput $20 '0) $10))
(return (KqpPhysicalQuery '((KqpPhysicalTx $21 '($22) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $11) '0 '0)) '('('"type" '"query"))))
)
