You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rename boolean Interval constants to match NullableInterval (apache#18654)
## Which issue does this PR close?
- None, followup to apache#18625
## Rationale for this change
The discussion in apache#18625 made it clear that the naming of the truth
value intervals would benefit from consistency. After some back and
forth we concluded that consistency with the SQL specification seemed
like the best idea.
This PR renames the boolean `Interval` and `NullableInterval` constants
to all be consistent.
## What changes are included in this PR?
Mechanical refactoring where the following renames were performed:
- `Interval::CERTAINLY_TRUE` -> `Interval::TRUE`
- `Interval::CERTAINLY_FALSE` -> `Interval::FALSE`
- `Interval::UNCERTAIN` -> `Interval::TRUE_OR_FALSE`
- `NullableInterval::UNCERTAIN` -> `NullableInterval::ANY_TRUTH_VALUE`
The old constant names have been retained with a deprecation note.
## Are these changes tested?
No new code
## Are there any user-facing changes?
Yes, the old constants are now marked deprecated
0 commit comments