berkaysynnada opened a new issue, #5909: URL: https://github.com/apache/arrow-datafusion/issues/5909
### Is your feature request related to a problem or challenge? Currently, we cannot differentiate `x > y` and `x >= y` while propagating comparison in [constraint propagator/solver](https://github.com/apache/arrow-datafusion/blob/main/datafusion/physical-expr/src/intervals/cp_solver.rs). ### Describe the solution you'd like This problem originates from the `Interval` struct in [interval arithmetic](https://github.com/apache/arrow-datafusion/blob/main/datafusion/physical-expr/src/intervals/interval_aritmetic.rs) not having a bound type. We can use an additional open/closed parameter to represent a bound. Then, related arithmetic operations are updated adhering to mathematical rules. ### Describe alternatives you've considered - ### Additional context - -- 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]
