dbt-labs / dbt-project-evaluator

This package contains macros and models to find DAG issues automatically
https://dbt-labs.github.io/dbt-project-evaluator/latest/
Apache License 2.0
410 stars 59 forks source link

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

Open dbrtly opened 5 months ago

dbrtly commented 5 months ago

Describe the bug

Missing fully compatibility with:

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?

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

dave-connors-3 commented 2 months ago

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!