-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
Description
Is this a new bug in dbt-core?
- I believe this is a new bug in dbt-core
- I have searched the existing issues, and I could not find an existing issue for this bug
Current Behavior
dbt Cloud is current throwing warnings about a dataset key in sources. It warns that it should be under config, but that is not correct I think. dataset is an alias for schema under BIgquery. It does handle the other alias, project (from database), correctly.
Expected Behavior
I dont expect any warnings.
Steps To Reproduce
- Use a project with BQ
- Create a source with the
datasetkey to point to the dataset - Run
compile/runor any other
Relevant log output
Found `dataset` as a top-level property of `sources[0]` in file
`models/staging/<source>/_source.yml`. The `dataset` top-level property should be
moved into the `config` of `sources[0]`.Environment
- OS: Macos
- Python: 3.12
- dbt: Platform/latestWhich database adapter are you using with dbt?
bigquery
Additional Context
This bug popped up after a similar one was squashed, this one.
philipp-stoeppke-knowunity and olof-nn