I am running locallyndremio with dbt based on this documentation
all connection are done but when I run the dbt run cmd i’m gettting this error
Completed with 1 error and 0 warnings:
06:41:23
06:41:23 Runtime Error in model my_first_dbt_model (models/example/my_first_dbt_model.sql)
06:41:23 ERROR: Validation of view sql failed. No match found for function signature my_first_dbt_model(type => )
I’m experiencing the same issue. Materializing as “view” instead of “table” works. When materializing as table, the tables get created just fine in MinIO, Nessie and Dremio, so I don’t think it’s an issue with paths or the profiles.yml. Could Nessie be the problem here? I tried running the same example models without Nessie, by creating a dremio Source pointing to MinIO only, and things work as well.
If you’re referencing an already created table in the nessie catalog, then you can add the branch using a variable in your profiles.yml, for example:
{% set nessie_branch = var(‘nessie_branch’, ‘main’) %}
select *
from {{ ref(‘my_first_dbt_model’) }} AT branch {{ nessie_branch }}
where id = 1
I’m not sure these are the best solutions, but it worked for my use case. Hope it helps!
In summary, the problem seems to be with the clone twin_strategy in dbt-dremio, where the syntax "create or replace view “x” as select * from table(“y”( type=>‘iceberg’ )) doesn’t work for the nessie catalog, and fails with “No match found for function signature model(type => )”
What is you data source? I’m using Dremio + minio and when I tried run with your second solution, I have the error: 'ERROR: Source ‘ABC’ does not support AT BRANCH/TAG/COMMIT specification ’