(
(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 '('('"_logical_id" '2542) '('"_id" '"48b5bc2d-6e0a5a74-4b3a55f0-d52c0b70") '('"_wide_channels" (StructType '('"key" $10) '('"value" $10)))))
(let $12 (DqPhyStage '() (lambda '() (block '(
  (let $22 (YtStat '('Id '"Input2") $5 $6 $7 $8 $9))
  (let $23 (YtTable '"Input2" $3 $4 $22 '() (Void) (Void) '"/Root/plato"))
  (let $24 (YtReadTable! world $1 '((YtSection '((YtPath $23 '('"key" '"value") (Void) (Void) (Void))) '()))))
  (return (FromFlow (DqReadWideWrap $24 '())))
))) $11))
(let $13 (DqCnBroadcast (TDqOutput $12 '0)))
(let $14 (StructType '('"a.key" $10) '('"a.rn" (DataType 'Uint64)) '('"a.subkey" $10) '('"b.value" $10)))
(let $15 '('('"_logical_id" '2795) '('"_id" '"bcabe071-70fbf3b7-88e33552-14672a1a") '('"_wide_channels" $14)))
(let $16 (DqPhyStage '($13) (lambda '($25) (block '(
  (let $26 '('Many 'Hashed 'Compact))
  (let $27 (NarrowSqueezeToDict (ToFlow $25) (lambda '($30 $31) $30) (lambda '($32 $33) (AsStruct '('"key" $32) '('"value" $33))) $26))
  (let $28 (Bool 'true))
  (let $29 (lambda '($39 $40 $41 $42) $40 $39 (Concat $41 $40) $42))
  (return (FromFlow (WideMap (WideSort (FlatMap $27 (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))) '('('"syscolumns" '('"num")))))))
    (let $38 '('0 '0 '1 '1 '2 '2))
    (return (MapJoinCore (DqReadWideWrap $37 '()) $34 'Inner '('1) '('"key") $38 '('"value" '3) '('"a.key") '('"b.key")))
  )))) '('('1 $28) '('0 $28))) $29)))
))) $15))
(let $17 (DqCnMerge (TDqOutput $16 '0) '('('0 '"Asc") '('1 '"Asc"))))
(let $18 (DqPhyStage '($17) (lambda '($43) (FromFlow (NarrowMap (ToFlow $43) (lambda '($44 $45 $46 $47) (AsStruct '('"a.key" $44) '('"a.rn" $45) '('"a.subkey" $46) '('"b.value" $47)))))) '('('"_logical_id" '2807) '('"_id" '"fc02a6c0-fa6d2f67-326be084-21ec4d61"))))
(let $19 '($12 $16 $18))
(let $20 '('"a.key" '"a.subkey" '"a.rn" '"b.value"))
(let $21 (DqCnResult (TDqOutput $18 '0) $20))
(return (KqpPhysicalQuery '((KqpPhysicalTx $19 '($21) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $14) '0 '0)) '('('"type" '"query"))))
)
