-
Notifications
You must be signed in to change notification settings - Fork 92
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
Certain queries with (TIMESTAMPTZ + INTERVAL) operation fail #490
Comments
It seems that somehow this has to do with us not installing the select duckdb.install_extension('icu'); |
Fine with me. |
This works great, thanks for the tip! |
I think our default build should be the same as the duckdb default build. It seems that icu statically linked by default so I see no reason to exclude it. I would double check the binary size before shipping (that's why these things are typically not included) |
Alright let's include icu by default then. I checked the duckdb cli and apart from icu it only has |
How do I enable |
What happens?
I have a DuckDB table with a
TIMESTAMPTZ
column (time
) attached with pg_duckdb 0.2.0, and certain queries fail when theWHERE
clause filters on a (TIMESTAMPTZ
+INTERVAL
) (addition) operation. This doesn't happen when querying the same data in DuckDB and only happens if an actual table is referenced.To Reproduce
Example 1
Query:
Output
Example 2 (success)
Example 3 (success)
OS:
macOS & Linux
pg_duckdb Version (if built from source use commit hash):
0.2.0
Postgres Version (if built from source use commit hash):
17
What is the latest build you tested with? If possible, we recommend testing with the latest nightly build.
I have tested with a nightly build
Did you include all code required to reproduce the issue?
Did you include all relevant configuration (e.g., CPU architecture, Linux distribution) to reproduce the issue?
The text was updated successfully, but these errors were encountered: