forked from apache/calcite
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CALCITE-2074] Simplification of point ranges that are open above or …
…below yields wrong results Suppose that R is a point range that is closed at one or both ends, i.e. [x, x), or (x, x] or (x, y). Such a range is empty, but we were wrongly simplifying it to a point. It is only valid to simplify open-open ranges, [x, x], to a point. For example, "5 >= x AND x > 5", described as the closed-open range "[5, 5)", should simplify to false.
- Loading branch information
1 parent
9bb5400
commit 11da17b
Showing
2 changed files
with
30 additions
and
0 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