Snapshot Config snapshot_meta_column_names
Returns a Compilation Error on the Second dbt snapshot
Invocation
#887
Labels
bug
Something isn't working
Describe the bug
The dbt documentation (snapshot_meta_column_names) describes the
snapshot_meta_column_names
config to be used to customize the names of the metadata columns within each snapshot available fordbt=1.9
.In
databricks=1.9.1
, the snapshot configsnapshot_meta_column_names
completes successfully on first dbt snapshot invocation.On the second dbt snapshot invocation, it will return a compilation error like below.
Steps To Reproduce
customers_snapshot.yml
dbt snapshot
. In this case, I rundbt snapshot --select customers_snapshot --log-level debug
.See attached log for the first run.
dbt snapshot
. The second run should error out.See attached log for the second run.
Expected behavior
The second dbt snapshot run should return successfully. No compilation error due to missing configured columns.
Screenshots and log output
dbt snapshot
dbt_snapshot_1_databricks.log
dbt snapshot
.dbt_snapshot_2_databricks.log
System information
The output of
dbt --version
:The operating system you're using: macOS Sequoia Version 15.2
The output of
python --version
: Python 3.12.7Additional context
The
dbt-snowflake
adapter completes successfully for bothdbt snapshot
run. See below logs.dbt_snapshot_1_snowflake.log
dbt_snapshot_2_snowflake.log
The text was updated successfully, but these errors were encountered: