alamb commented on PR #13293: URL: https://github.com/apache/datafusion/pull/13293#issuecomment-2464619798
> I wonder if a range semantics would be nicer, i.e.: That is a good idea. One think is that we already have a version of that type of Interval logic (that handles open/closed upper/lower bounds, etc_ here: https://docs.rs/datafusion-expr-common/42.2.0/src/datafusion_expr_common/interval_arithmetic.rs.html#160-163 https://docs.rs/datafusion/latest/datafusion/logical_expr/interval_arithmetic/struct.Interval.html However, that is hard coded to use ScalarValue where `Precision` is generic (used for `usize` and `ScalarValue`). But maybe we can just provide a conversion to/from `Interval` 🤔 -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org