-
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
Extract from interval type failed #6327
Comments
Here's some example output from postgres:
Note how And how Duckdb shows the same results:
Can use these as guidance for implementation for Datafusion, but keeping in mind there are three different interval types to support:
References https://duckdb.org/docs/sql/functions/datepart https://duckdb.org/docs/sql/data_types/interval.html https://www.postgresql.org/docs/current/functions-datetime.html#FUNCTIONS-DATETIME-EXTRACT |
The work in Arrow has landed and should be in 53, then we can progress #11501 to close this issue. |
Describe the bug
Extract from interval type failed in DF, but works in Postgres
To Reproduce
Expected behavior
Query should work
Additional context
Found when reviewing #6312
Possibly related to #5806
The text was updated successfully, but these errors were encountered: