Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility alias 'dataset' and ''project' #423

Open
1 of 6 tasks
dbrtly opened this issue Feb 5, 2024 · 1 comment
Open
1 of 6 tasks

Compatibility alias 'dataset' and ''project' #423

dbrtly opened this issue Feb 5, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@dbrtly
Copy link

dbrtly commented Feb 5, 2024

Describe the bug

Missing fully compatibility with:

  • 'dataset' as alias for schema
  • 'project' as alias for database

For bigquery

Steps to reproduce

Use the alias above for sources.
Run dbt compile
dbt build --select package:dbt_project_evaluator

Expected results

Should complete ok

Actual results

Parsing Error
Invalid sources config given in models\foo.yml @ sources .....
Ar path[]: Additional properties are no allowed('project' was unexpected.

Screenshots and log output

System information

V0.9.0

Which database are you using dbt with?

  • postgres
  • redshift
  • bigquery
  • snowflake
  • trino/starburst
  • other (specify: duckdb______)

The output of dbt --version:

core:
 - installed: 1.7.7
 - latest:    1.7.7

plugins:
 - duckdb: 1.7.1

Additional context

Are you interested in contributing the fix?

Yes

@dbrtly dbrtly added the bug Something isn't working label Feb 5, 2024
@dave-connors-3
Copy link
Collaborator

hey @dbrtly -- are you seeing a dbt-core compilation error when you're trying to use project and dataset in your source yml file? if so, this may be an issue for dbt-core rather than this package!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants