forked from facebookincubator/velox
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix range filters pushed down to scan to handle NaNs correctly
Summary: The existing range filter implementation consistently returns false when testing NaNs, as operations involving NaN yield false results. However, given that NaN is considered greater than infinity in our context, NaNs should be allowed to pass through the filter if there is no upper bound. For example, in a filter such as 'x >= 2.0', NaNs should be permitted. This update ensures that this behavior is correctly implemented. Differential Revision: D60126489
- Loading branch information
1 parent
9f64e42
commit dd7b290
Showing
2 changed files
with
22 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters