-
Notifications
You must be signed in to change notification settings - Fork 607
Open
Labels
Description
Describe the bug
No compatability with dbt cloud latest test syntax with argument keyword?
| Version | Macro call | Yaml syntax |
|---|---|---|
| dbt ≤1.5 | positional/named args | old YAML (combination_of_columns: [...]) |
| dbt ≥1.6 | arguments= keyword | new YAML (arguments: { ... }) |
Compilation Error in test dbt_utils_unique_combination_of_columns (models/identification.yml)
macro 'dbt_macro__test_unique_combination_of_columns' takes no keyword argument 'arguments'
dbt --version
Core:
- installed: 1.10.0-b3
- latest: 1.10.13 - Update available!
Steps to reproduce
Use a argument keyword in testing
tests:
- dbt_utils.unique_combination_of_columns:
arguments:
combination_of_columns:
- col1
- col2
Expected results
Tests run without compilation error
Actual results
Compilation error
Compilation Error in test dbt_utils_unique_combination_of_columns (models/identification.yml)
macro 'dbt_macro__test_unique_combination_of_columns' takes no keyword argument 'arguments'
Screenshots and log output
System information
packages:
- package: dbt-labs/dbt_utils
version: 1.3.0 - package: dbt-labs/redshift
version: 0.9.0 - package: godatadriven/dbt_date
version: 0.13.0
Which database are you using dbt with?
- postgres
- redshift
- bigquery
- snowflake
- other (specify: ____________)
The output of dbt --version:
dbt --version
Core:
- installed: 1.10.0-b3
- latest: 1.10.13 - Update available!
Additional context
Are you interested in contributing the fix?
Reactions are currently unavailable