Open hazvk opened 7 months ago
Wondering if there is an update on the issue?
I run into the same error, also databricks 1.7.0 and dbt-core 1.7.14
I got the issue but it's working after upgrade. My versions:
Core:
- installed: 1.8.2
- latest: 1.8.2 - Up to date!
Plugins:
- spark: 1.8.0 - Up to date!
- databricks: 1.8.1 - Up to date!
Is this a new bug in dbt-core?
Current Behavior
Running this model and using
dbt_utils.date_spine
used to work. I now get an error I can't get to the bottom of.Expected Behavior
Should evaluate and give a table
Steps To Reproduce
With dbt on local machine:
{{ config( materialized = "view" if target.name not in ['prod'] else 'table' ) }}
WITH date_list AS ( {{ dbt_utils.date_spine( datepart="day", start_date="TO_DATE('01/01/2008', 'dd/mm/yyyy')", end_date="TO_DATE(CONCAT(YEAR(CURRENT_DATE) + 6,'-12-31'))" ) }}
)
SELECT * FROM date_list;
databricks-sdk = "==0.17.0" dbt-databricks = "==1.6.8"
Environment
Which database adapter are you using with dbt?
other (mention it in "Additional Context")
Additional Context
Using dbt-databricks==1.6.8
Last seen working on Jan 24th. Then another issue came up that I only just resolved, per issue (and hence why I fixed version of
databricks-sdk
). I haven't tested this functionality until yesterday, which is when I first noticed it was broken.