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


   ## Description
   Currently the distinct queries are handled as aggregation, which has 
limitations on early termination and special type handling for better 
performance.
   
   This PR adds new operators for distinct queries.
   The new operators:
   - Early terminate the distinct only queries when enough distinct records are 
collected
   - Specialize the handling for different data types, using primitives if 
possible
   - Specialize the handling for single column distinct queries
   - Inner segment, the operator will calculate the distinct records using 
dictionary ids if possible, and only read the dictionary when returning the 
results


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

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