Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

dbt source table name group issue

$
0
0

Running dbt core version 1.6.10 and Snowflake

I have a source table named group.
When I execute dbt run... command I get "...unexpected group." error.

In the source yml file I was setting the following.
- name: group
quote: true

Hoping that would allow me to put quotes around the source.
select * from {{ source('my_schema', '"group"') }}

When I execute that I get "...depends on a source named 'my_schema."group" which was not found" error.

Is there a way to make this work with a reserved word, or is renaming that table the only solution?


Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>