davecromberge opened a new pull request, #19371:
URL: https://github.com/apache/pinot/pull/19371

   Materialized views currently cover HLL and theta sketches. This adds CPC and 
integer-sum tuple.
   
   It also registers the `Raw` variants as user-facing functions. A query that 
asks for the merged
   sketch itself, rather than a cardinality, previously matched no rewrite rule 
and always fell
   through to the base table — even when an MV stored exactly that sketch.
   
   All three families merge by union, so re-aggregating the stored sketches 
gives the same answer as
   scanning the base table. One stored raw tuple column also serves the 
cardinality, sum and average
   variants, since they share an accumulator and differ only in how the final 
value is extracted.
   
   Nothing changes unless materialized view rewrite is enabled, which is off by 
default.
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to