-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[EPIC] A collection of Interval arithmetic (not Intervals of time) improvements #7882
Comments
I am working on some new supports and improvements in interval arithmetic. I also plan to move the code into a more accessible place (possibly datafusion_expr). I will complete my work next week and link them here. |
Thanks @berkaysynnada -- note I just proposed three relatively small changes . Perhaps you have some time to look at them:
What would you think about making a |
I also filed #7887 |
Thank you for the care and effort you have put into this issue 😌. I tried to answer the current behavior and how it should actually be in the reviews. However, as I mentioned in them, I am currently working on a comprehensive interval library update. It will eliminate many of the bugs you noticed and provide a more open, error-free API for users. I don't want to keep you waiting, but I think it will be easier to solve these issues after I quickly finalize my PR and present it to you. As for making the new interval crate, it would be better to answer after discussing it with my teammates. Thanks again. |
There is no particular time pressure from my end. If you are working to revamp the code, I'll wait until that lands (and try to help review it promptly) and then we can pick up the PRs. BTW is there a ticket somewhere that tracks what you plan to do (mostly I am thinking of any 'end user visible bugs/ behaviors' that might result)?
Sounds good -- we can break it into a new crate at some later time too, if that is appropriate. There is no reason to do it as part of your in-filght refactoring |
There is no ticket here but I can summarize them as follows:
👍 |
Is your feature request related to a problem or challenge?
DataFusion contains a powerful general purpose interval arithmetic library, in
intervals
, first introduced in #5322This library is currently used for statistic and selectivity estimation, and to provide additional guarantees during expression simplification.
This ticket tracks additional items needed to improve the sophistication of DataFusion in this regard
OR
to interval arithmetic #7883Interval
andPruningPredicate
#7887The text was updated successfully, but these errors were encountered: