(
(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 (YtStat '('Id '"Input") '('RecordsCount '"4") '('DataSize '"166") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
(let $6 (YtTable '"Input" $3 $4 $5 '() (Void) (Void) '"/Root/plato"))
(let $7 '('('"syscolumns" '('"record"))))
(let $8 (lambda '($27 $28) $28))
(let $9 (lambda '($29 $30 $31) $30))
(let $10 (lambda '($32 $33 $34 $35) (AggrMin $33 $35)))
(let $11 (DataType 'Uint64))
(let $12 (DataType 'String))
(let $13 '('"subkey" $12))
(let $14 '('('"_logical_id" '2553) '('"_id" '"fa8b29f5-219c058-eaa04c8d-ff8ae8bf") '('"_wide_channels" (StructType '('_yql_agg_0 $11) $13))))
(let $15 (DqPhyStage '() (lambda '() (block '(
  (let $25 (YtReadTable! world $1 '((YtSection '((YtPath $6 '('"subkey") (Void) (Void))) $7))))
  (let $26 (lambda '($36 $37) $37 $36))
  (return (DqPhyHashCombine (WideToBlocks (FromFlow (DqReadWideWrap $25 '()))) '-1073741824 $8 $9 $10 $26))
))) $14))
(let $16 (DqCnHashShuffle (TDqOutput $15 '0) '('1) '0 '"HashV2"))
(let $17 '('('"_logical_id" '3315) '('"_id" '"b8103726-eb141c0-2934a9b9-92ded755") '('"_wide_channels" (StructType '('Min0 $11)))))
(let $18 (DqPhyStage '($16) (lambda '($38) (FromFlow (WideCombiner (ToFlow (WideFromBlocks $38)) '"" $8 $9 $10 (lambda '($39 $40) $40)))) $17))
(let $19 (DqCnBroadcast (TDqOutput $18 '0)))
(let $20 (DqPhyStage '($19) (lambda '($41) (block '(
  (let $42 '('One 'Hashed 'Compact))
  (let $43 (NarrowSqueezeToDict (ToFlow $41) (lambda '($44) $44) (lambda '($45) (Void)) $42))
  (return (FromFlow (NarrowMap (FlatMap $43 (lambda '($46) (block '(
    (let $47 '('"key" '"subkey" '"value"))
    (let $48 (YtReadTable! world $1 '((YtSection '((YtPath $6 $47 (Void) (Void))) $7))))
    (let $49 '('1 '0 '2 '1 '3 '2))
    (return (MapJoinCore (DqReadWideWrap $48 '()) $46 'LeftSemi '('0) '('Min0) $49 '() '('"_yql_injoin_input._yql_sys_tablerecord") '('"_yql_injoin_0.Min0")))
  )))) (lambda '($50 $51 $52) (AsStruct '('"key" $50) '('"subkey" $51) '('"value" $52))))))
))) '('('"_logical_id" '3465) '('"_id" '"bf2a5fdc-705dbe94-e39e6d3-d7c5a0f6"))))
(let $21 (DqCnUnionAll (TDqOutput $20 '0)))
(let $22 (DqPhyStage '($21) (lambda '($53) $53) '('('"_logical_id" '3781) '('"_id" '"25d59b0b-310940-afb59e5d-c891d184"))))
(let $23 '($15 $18 $20 $22))
(let $24 (DqCnResult (TDqOutput $22 '0) '()))
(return (KqpPhysicalQuery '((KqpPhysicalTx $23 '($24) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType (StructType '('"key" $12) $13 '('"value" $12))) '0 '0)) '('('"type" '"query"))))
)
