dbt-labs / dbt-snowflake

dbt-snowflake contains all of the code enabling dbt to work with Snowflake
https://getdbt.com
Apache License 2.0
276 stars 167 forks source link

[Bug] copy_grants configuration not being sent to DDL for seed tables (Snowflake) #1171

Open mklebantg opened 3 weeks ago

mklebantg commented 3 weeks ago

Is this a new bug in dbt-core?

Current Behavior

Expected Behavior

Steps To Reproduce

  1. In project.yml, add +copy_grants: true just below "seeds" through GitHub and merge into master branch
  2. run job in dbt cloud a.) job pulls from GitHub master branch b.) includes dbt seed --full-refresh command

project.yml seeds section:

seeds:
  +copy_grants: true
  <project name>:
    +persist_docs:
      relation: true
      columns: true

Relevant log output

No response

Environment

- dbt: cloud version 1.6
- DWH: Snowflake

Which database adapter are you using with dbt?

snowflake

Additional Context

No response

dbeatty10 commented 3 weeks ago

Possibly related: https://github.com/dbt-labs/dbt-snowflake/issues/1030

mklebantg commented 3 weeks ago

Thanks, @dbeatty10. It looks like the workaround mentioned in #1030 might work.