Skip to content

#142 add interval support in Except - #143

Open
vfrank66 wants to merge 3 commits into
google:mainfrom
vfrank66:issue_142-add-interval-support-in-except
Open

vfrank66 wants to merge 3 commits into
google:mainfrom
vfrank66:issue_142-add-interval-support-in-except

Conversation

@vfrank66

@vfrank66 vfrank66 commented Jul 1, 2025

Copy link
Copy Markdown
Contributor

No description provided.

Replace the per-type except implementations with one evalExceptInterval
that compares the closed start/end of both operands:
- intervals touching at a boundary now return the remaining part
  ([0,10] except [10,20] is [0,9]) instead of null
- Date/DateTime/Time compare at the values' own precision, not DAY;
  uncertain comparisons return null
- results keep the left operand's original bound and inclusivity on
  the side that is not cut, so open bounds are no longer shifted
- Quantities with comparable units are converted; incomparable units
  return null instead of an evaluation error

Add test cases for each of these.
@vfrank66
vfrank66 force-pushed the issue_142-add-interval-support-in-except branch from 5cd9cd4 to 454ea38 Compare October 11, 2026 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant