You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Context, I'm trying to complete this issue: alittlesliceoftom/insert_by_timeperiod#2 on the insert by timeperiod repo, and struggling here with duck db compatability.
I tried the example here:
https://docs.getdbt.com/sql-reference/dateadd
This fails.
I tweaked and this works:
In general I think adapters should support the documented case from core.
Here duckdb seems to want date strings to be explicitly refererred to as dates in addition operations as per: https://duckdb.org/docs/sql/functions/date.html
As such I suggest that :
https://github.com/duckdb/dbt-duckdb/blob/master/dbt/include/duckdb/macros/utils/dateadd.sql
Is updated to include: DATE at start
The text was updated successfully, but these errors were encountered: