(
(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 (DataType 'String))
(let $12 '('('"_logical_id" '981) '('"_id" '"ee29f063-fd4a40c-59076dbd-ba9dda65") '('"_wide_channels" (StructType '('"key" $11)))))
(let $13 (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 '())))
))) $12))
(let $14 (DqCnBroadcast (TDqOutput $13 '0)))
(let $15 '('"b.key"))
(let $16 (StructType '('"b.key" $11)))
(let $17 '('('"_logical_id" '1156) '('"_id" '"5ad70b80-b87e601c-fd77267e-8c8a3777") '('"_wide_channels" $16)))
(let $18 (DqPhyStage '($14) (lambda '($26) (block '(
  (let $27 '('Many 'Hashed 'Compact))
  (let $28 (NarrowSqueezeToDict (ToFlow $26) (lambda '($29) $29) (lambda '($30) (AsStruct '('"key" $30))) $27))
  (return (FromFlow (WideMap (WideSort (WideFilter (FlatMap $28 (lambda '($31) (block '(
    (let $32 (YtStat '('Id '"Input3") $5 $6 $7 $8 $9))
    (let $33 (YtTable '"Input3" $3 $4 $32 '() (Void) (Void) '"/Root/plato"))
    (let $34 (YtReadTable! world $1 '((YtSection '((YtPath $33 $10 (Void) (Void))) '()))))
    (return (MapJoinCore (DqReadWideWrap $34 '()) $31 '"Left" '('0) $10 '('0 '1) '('"key" '0) '('"a.key") $15))
  )))) (lambda '($35 $36) (Not (Exists $35)))) '('('1 (Bool 'true)))) (lambda '($37 $38) $38))))
))) $17))
(let $19 (DqCnMerge (TDqOutput $18 '0) '('('0 '"Asc"))))
(let $20 (DqPhyStage '($19) (lambda '($39) (FromFlow (NarrowMap (ToFlow $39) (lambda '($40) (AsStruct '('"b.key" $40)))))) '('('"_logical_id" '1168) '('"_id" '"2f86856b-2d6fc4b6-6f90a580-1965c261"))))
(let $21 '($13 $18 $20))
(let $22 (DqCnResult (TDqOutput $20 '0) $15))
(return (KqpPhysicalQuery '((KqpPhysicalTx $21 '($22) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $16) '0 '0)) '('('"type" '"query"))))
)
