tsql-utils icon indicating copy to clipboard operation
tsql-utils copied to clipboard

Bug fix proposal on issue related to #96

Open joaquinbravo23 opened this issue 1 year ago • 0 comments

I was having an issue working with dbt_utils.date_spine, getting the following error:

image

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 image

joaquinbravo23 avatar Dec 22 '23 14:12 joaquinbravo23

Please explain the issue in detail including your entire system setup.

NSG650 avatar Feb 18 '24 04:02 NSG650

It says something that is not in the registry.

rileywadestudios avatar Feb 18 '24 13:02 rileywadestudios

The startup works.

rileywadestudios avatar Feb 18 '24 13:02 rileywadestudios

On test mode.

rileywadestudios avatar Feb 18 '24 13:02 rileywadestudios