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
I'm getting a warning when running dbt that the escape_single_quotes macro is now provided in dbt Core. From my digging around, it seems that there are some dbt_utils macros such as pivot() that are still relying on the version that's in dbt_utils instead of dbt Core.
Steps to reproduce
Running a dbt model that utilizes the pivot macro
Expected results
No warnings from using a dbt_utils macro
Actual results
Warning: the `escape_single_quotes` macro is now provided in dbt Core. It is no longer available in dbt_utils and backwards compatibility will be removed in a future version of the package. Use `escape_single_quotes` (no prefix) instead. The *** model triggered this warning.
Core:
- installed: 1.2.1
- latest: 1.2.1 - Up to date!
Plugins:
- snowflake: 1.2.0 - Up to date!```
### Additional context
From a quick search, it seems that the only spot that `dbt_utils.escape_single_quotes` is referenced is in `pivot.sql`
### Are you interested in contributing the fix?
Would definitely be interested in helping, I think I can put in a PR myself
The text was updated successfully, but these errors were encountered:
Describe the bug
I'm getting a warning when running dbt that the
escape_single_quotes
macro is now provided in dbt Core. From my digging around, it seems that there are somedbt_utils
macros such aspivot()
that are still relying on the version that's in dbt_utils instead of dbt Core.Steps to reproduce
Running a dbt model that utilizes the pivot macro
Expected results
No warnings from using a dbt_utils macro
Actual results
Screenshots and log output
System information
The contents of your
packages.yml
file:Which database are you using dbt with?
The output of
dbt --version
:The text was updated successfully, but these errors were encountered: