Closed sogunsemi closed 3 months ago
Thanks for reaching out @sogunsemi !
Does database table/view for that source exist in your DuckDB database?
i.e., Does the following command give a result without error?
dbt show --inline 'select * from {{ source("source_a", "model_a") }}'
Thanks for reaching out @sogunsemi !
Does database table/view for that source exist in your DuckDB database?
i.e., Does the following command give a result without error?
dbt show --inline 'select * from {{ source("source_a", "model_a") }}'
Ah thanks! I get a 403 error which is expected. The data is in a GCS bucket that I don't have local access to.
I thought I would be able to run the unit_tests without hitting the actual data?
dbt needs to access the metadata of the given inputs, specifically the column names and their data types.
Since the error message you got is expected when you don't have access to the data, I'm going to close this as not a bug.
Is this a new bug in dbt-core?
Current Behavior
When I run the unit tests:
I get back this error:
Unit test:
Expected Behavior
The unit test runs to completion.
Steps To Reproduce
dbt test --select test_type:unit
Relevant log output
No response
Environment
Which database adapter are you using with dbt?
other (mention it in "Additional Context")
Additional Context
Using dbt-duckdb 1.8.1