Skip to content

Add missing +database and database properties to snapshot_configs#199

Merged
joellabes merged 1 commit intodbt-labs:mainfrom
raphaelvarieras:main
Jul 14, 2025
Merged

Add missing +database and database properties to snapshot_configs#199
joellabes merged 1 commit intodbt-labs:mainfrom
raphaelvarieras:main

Conversation

@raphaelvarieras
Copy link
Contributor

  • Adds +database property to snapshot_configs to match model_configs
  • Adds database property to snapshot_configs to match model_configs
  • Fixes validation error when using +database configuration in snapshots
  • Resolves issue where snapshots would show 'Expected null' error for +database

Both prefixed (+database) and non-prefixed (database) variants are now supported in snapshot configurations, making them consistent with model configurations.

Fixes #198

- Adds +database property to snapshot_configs to match model_configs
- Adds database property to snapshot_configs to match model_configs
- Fixes validation error when using +database configuration in snapshots
- Resolves issue where snapshots would show 'Expected null' error for +database

Both prefixed (+database) and non-prefixed (database) variants are now supported
in snapshot configurations, making them consistent with model configurations.
@raphaelvarieras raphaelvarieras requested a review from a team as a code owner July 13, 2025 18:19
Copy link
Collaborator

@joellabes joellabes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@joellabes joellabes merged commit 3071f31 into dbt-labs:main Jul 14, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing +database configuration support for snapshots in JSON schema (only supports deprecated +target_database)

2 participants