dbt-labs / dbt-labs/dbt

[1.11.8 Bug] CustomKeyInConfigDeprecation for databricks specific configs

Open
#15,291 0 comments 0 reactions 0 assignees View on GitHub
engine:v1 status:triage type:bug
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
Image

Warnings I get:
Image

With the following config:

Image

### 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
Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.