LiuYC3213687107 commented on issue #26618:
URL: https://github.com/apache/datafusion/issues/26618#issuecomment-6385926266

   I'd like to work on this.
   
   Since the TopK dynamic filter is only a pruning hint, my plan is to make it 
conservative when the threshold of a floating-point sort key is ±0.0: use a 
non-strict bound for that column (e.g. `x <= 0.0` instead of `x < 0.0 OR (x = 
0.0 AND ...)`), so `-0.0`/`0.0` rows are never filtered out and the heap's 
total ordering decides. I'll add a sqllogictest reproducing the multi-batch 
case from this issue.
   


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