(
(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" '1076) '('"_id" '"60302e39-8b55c840-43d7a693-e57eaa73") '('"_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) (Void))) '()))))
  (return (FromFlow (DqReadWideWrap $25 '())))
))) $12))
(let $14 (DqCnBroadcast (TDqOutput $13 '0)))
(let $15 (StructType '('"Input1.subkey" $10) $11 '('"value" (OptionalType $10))))
(let $16 '('('"_logical_id" '1268) '('"_id" '"209fdfff-d117ac3b-d9b8f5b9-320f0aca") '('"_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 $39 $41))
  (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) (Void))) '()))))
    (let $38 '('0 '0 '1 '1))
    (return (MapJoinCore (DqReadWideWrap $37 '()) $34 'Left '('0) '('"key") $38 '('"value" '2) '('"Input1.key") '('"Input3.key")))
  )))) '('('0 (Bool 'true)))) $29)))
))) $16))
(let $18 (DqCnMerge (TDqOutput $17 '0) '('('1 '"Asc"))))
(let $19 (DqPhyStage '($18) (lambda '($42) (FromFlow (NarrowMap (ToFlow $42) (lambda '($43 $44 $45) (AsStruct '('"Input1.subkey" $43) '('"key" $44) '('"value" $45)))))) '('('"_logical_id" '1280) '('"_id" '"9c81e27-1e3ea814-b9d91c39-d2edfe12"))))
(let $20 '($13 $17 $19))
(let $21 '('"key" '"Input1.subkey" '"value"))
(let $22 (DqCnResult (TDqOutput $19 '0) $21))
(return (KqpPhysicalQuery '((KqpPhysicalTx $20 '($22) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $15) '0 '0)) '('('"type" '"query"))))
)
