Skip to content
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

Unable to work with month intervals #2796

Closed
avantgardnerio opened this issue Jun 26, 2022 · 0 comments · Fixed by #2797
Closed

Unable to work with month intervals #2796

avantgardnerio opened this issue Jun 26, 2022 · 0 comments · Fixed by #2797
Labels
bug Something isn't working

Comments

@avantgardnerio
Copy link
Contributor

Describe the bug
When performing queries such as:

select date '1994-01-01' + interval '1' month as date;

I observe the following error:

`Err` value: "Execution(\"DateIntervalExpr does not support IntervalYearMonth\") at Optimizing logical plan for...

To Reproduce
Run the above query.

Expected behavior
1994-02-01

Additional context
Impact: Missing the month & year intervals are causing the TPC-H benchmarks to fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant