var-nan commented on issue #3265:
URL: https://github.com/apache/kvrocks/issues/3265#issuecomment-3745864554

   Hi @yezhizi , does the `TSDownStreamMeta` store the auxiliary information 
about the partial buckets of downstream series? 
   
   Say, there exist a rule from `src` to `dst` series to aggregate max values 
over duration of 10. When I insert new samples to `src`, I can't find the 
information about the partial bucket in `dst`'s TSDownStreamMeta object.
   
   ```cpp
   const auto& src_key = metadata.source_key; // metadata is metadata of the 
dst series.
   auto ns_src_key = AppendNamespacePrefix(src_key);
   TimeSeriesMetadata src_metadata;
   auto s = getTimeSeriesMetadata(ctx, ns_src_key, &src_metadata);
   std::vector<std::string> ds_keys;
   std::vector<TSDownStreamMeta> ds_metas;
   std::vector<TimeSeriesMetadata> ds_series_meta;
   s = getDownStreamRules(ctx, ns_src_key, src_metadata, &ds_keys, &ds_metas, 
&ds_series_meta);
   ```
   
   When I try to access `f64_auxs` vector from `ds_metas[0]`, it contains 
`nan`. 
   
   Is this the right way to access auxiliary info of a destination series?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to