You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by "shenyu0127 (via GitHub)" <gi...@apache.org> on 2023/06/16 18:53:19 UTC

[GitHub] [pinot] shenyu0127 commented on pull request #10914: Fix the NULL ordering in object single column distinct executors.

shenyu0127 commented on PR #10914:
URL: https://github.com/apache/pinot/pull/10914#issuecomment-1595143454

   > Should we consider doing the same trick as primitive data types by tracking a `_hasNull` flag to avoid the extra null handling? That way the behavior is consistent across all data types, and the overall cost should be lower
   
   The `_hasNull` flag is a not a clean solution and we want to avoid if possible.
   
   - The `_hasNull` flag needs to be used for primitive data types because the primitive data type sets/priority_queues cannot store NULL.
   - The `_hasNull` flag has an issue (if there is NULL, it will always be present in the executor result regardless of the ordering) that needs to be fixed in the upstream handling (DistinctTable).


-- 
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-unsubscribe@pinot.apache.org

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


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