Jackie-Jiang opened a new pull request, #15469:
URL: https://github.com/apache/pinot/pull/15469

   Support calculating count of unique values using off-heap memory.
   
   For variable length types (e.g. `STRING`, `BYTES`), we use murmur3 hash (64 
bits by default) to represent the value.
   
   The function can take an optional string literal argument to configure the 
following parameters:
   - initial capacity of the set for non-dictionary-encoded case: positive int 
(default 10000)
   - number of bits for murmur3: 32/64/128 (default 64)
   
   Query example:
   `SELECT DISTINCT_COUNT_OFF_HEAP(stringColumn, 
'initialcapacity=10;hashbits=128') FROM testTable`


-- 
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: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to