alamb opened a new pull request, #7526: URL: https://github.com/apache/arrow-datafusion/pull/7526
## Which issue does this PR close? related to https://github.com/apache/arrow-datafusion/pull/7467 ## Rationale for this change While reviewing https://github.com/apache/arrow-datafusion/pull/7467 I found I had to remind myself several times what open/closed meant in the context of intervals. ## What changes are included in this PR? 1. Clarify comments on `Interval` (they were already nice, just could be somewhat clearer) 2. Add `Interval::new_open` and `Interval::new_closed` as a way to make the code more self documenting 3. Change some uses of `Interval::new` to `Interval::new_open` and `Interval::new_closed` I am happy to change more uses but I wanted to see what people thought of the idea first ## Are these changes tested? Existing tests ## Are there any user-facing changes? No functional change intended, just easier to understand code -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
