dbt-project-evaluator icon indicating copy to clipboard operation
dbt-project-evaluator copied to clipboard

Compatibility alias 'dataset' and ''project'

Open dbrtly opened this issue 5 months ago • 1 comments

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
  • [X] 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 avatar Feb 05 '24 12:02 dbrtly

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!

dave-connors-3 avatar Apr 11 '24 16:04 dave-connors-3