[1.11.8 Bug] CustomKeyInConfigDeprecation for databricks specific configs
- Dominant language
- Rust
- Stars
- 13.8k
- Forks
- 2.6k
- Avg merge
- 21h 31m
- Merged PRs (30d)
- 56
Description
### Is this a new bug in dbt-core?
- [x] I believe this is a new bug in dbt-core
- [x] I have searched the existing issues, and I could not find an existing issue for this bug
### Current Behavior
I get the following warnings since upgrading my dbt-core and dbt-databricks:
```
13:04:35 [WARNING][CustomKeyInConfigDeprecation]: Deprecated functionality
Custom key `+query_tags` found in `config` at path
`ssda_declareren_dbt.+query_tags` in file `C:\Users\629231\Git
projects\ssda-declareren\projects\dbt\src\dbt_project.yml`. Custom config keys
should move into the `config.meta`.
```
This seems in line with https://github.com/databricks/dbt-databricks/issues/1302. It seems like dbt-core has not taken into account databricks specific configs
### Expected Behavior
No warnings since the configs are valid and work.
query_tags implemented as described here: https://docs.databricks.com/aws/en/sql/user/queries/query-tags#model-level-tag
view_update_via_alter implemented on project-level as described here: https://docs.getdbt.com/reference/global-configs/databricks-changes?version=2.0&name=Fusion#use-restructured-materializations
### Steps To Reproduce
When running a model I get the warning of deprecated functionality. See screenshot below. I didn't have the warnings a few days ago when I was still running on dbt-core 1.11.2 with registered adapter: databricks=1.11.4.
When running with dbt-core 1.11.8 and dbt-databricks 1.11.8 I do get the warnings and I see in the release notes of dbt-core that they added warnings but it seems like the dbt-databricks configs are note added.
Release note:
https://github.com/dbt-labs/dbt-core/releases?page=2
Warnings I get:
With the following config:
### Relevant log output
```shell
```
### Environment
```markdown
- dbt-core 1.11.8
```
### Which database adapter are you using with dbt?
other (mention it in "Additional Context")
### Additional Context
Databricks adapter 1.11.8
I also see in the release notes that in 1.11.8 warnings were added
https://github.com/dbt-labs/dbt-core/releases?page=2
Contributor guide
Assessment
This issue has not been assessed yet.