tsql-utils
tsql-utils copied to clipboard
Bug fix proposal on issue related to #96
I was having an issue working with dbt_utils.date_spine, getting the following error:
By making this change the macro worked as expected
dbt_utils.dateadd
to dbt.dateadd
dbt_utils.datediff
to dbt.datediff
I believe this error is due to the following:
As of dbt 1.3 and dbt_utils 1.0, cross-database macros have moved out of dbt_utils and into the main adapter code (source), so you can just dbt.datediff()and it will work. -https://stackoverflow.com/questions/75528600/dbt-datediff-dict-object-compilation-errors
Working as expected
Please explain the issue in detail including your entire system setup.
It says something that is not in the registry.
The startup works.
On test mode.