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 have searched the existing issues, and I could not find an existing issue for this bug
Which packages are affected?
dbt-adapters
dbt-tests-adapter
dbt-athena
dbt-athena-community
Current Behavior
The new snapshot config snapshot_meta_column_names works fine with lower case column names.
If I configure a snapshot with upper case custom column names, the first run works fine and generates the table as expected, while the second brakes with the error:
Snapshot target is missing configured columns (missing "SCD_HK", "START_TS", "END_TS")
I believe the error is here: target relation column are put lowercase, while the config ones are retained in their original case, generating the error.
Expected Behavior
The new snapshot config snapshot_meta_column_names should work with both lower and upper case column names.
Is this a new bug?
Which packages are affected?
Current Behavior
The new snapshot config
snapshot_meta_column_names
works fine with lower case column names.If I configure a snapshot with upper case custom column names, the first run works fine and generates the table as expected, while the second brakes with the error:
Snapshot target is missing configured columns (missing "SCD_HK", "START_TS", "END_TS")
I believe the error is here: target relation column are put lowercase, while the config ones are retained in their original case, generating the error.
Expected Behavior
The new snapshot config
snapshot_meta_column_names
should work with both lower and upper case column names.Steps To Reproduce
snapshot_meta_column_names = {'dbt_scd_id': "SCD_HK"}
Relevant log output
Environment
Additional Context
No response
The text was updated successfully, but these errors were encountered: