zhtaoxiang opened a new pull request, #11478: URL: https://github.com/apache/pinot/pull/11478
Fix NumericalFilterOptimizer for float datatype. Specifically, do not rewrite range operator since double has higher precision than float. If we do, we may introduce problems. For example, with the previous logic, "> 0.5" will be converted into ">= 0.05000000074505806". When the query reaches a server, the server will convert it to ">= 0.5" in ColumnValueSegmentPruner#pruneRangePredicate, which is incorrect. -- 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