Why are Snapshot node "database" and "schema" configs special? #9774
Unanswered
EliasAthey
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Related function in parser code: https://github.com/dbt-labs/dbt-core/blob/main/core/dbt/parser/base.py#L286
Why are snapshots handled differently than other node types when parsing the relation name?
Our project has a custom generate_schema_name macro. I'm trying to materialize my snapshots in the same fashion as models (which automatically use our custom macro) so that snapshots are target-dependent, but am not succeeding. I want to know more about the decision to make snapshots "special". Thanks!
Beta Was this translation helpful? Give feedback.
All reactions