Building or running a model with dbt cloud for databricks fails with datavault4dbt is undefined
#1545
Labels
bug
Something isn't working
datavault4dbt is undefined
#1545
Expected behavior
Given:
dbt Power User installed and configured to work with dbt cloud and
datavault4dbt package defined in
packages.yml
anda dbt model created using a macro from the
datavault4dbt
packageWhen:
using dbt Power User to build or run the model
Then:
dbt builds the model successfully
Actual behavior
Given:
dbt Power User installed and configured to work with dbt cloud and
datavault4dbt package defined in
packages.yml
anda dbt model created using a macro from the
datavault4dbt
packageWhen:
using dbt Power User to build or run the model
Then:
dbt fails with:
The dbt command that is ran when using dbt Power User is:
dbt build --select my_model --source dbt-power-user --no-defer
Running this command from the cli results in the same error.
However, running the command:
dbt build --select my_model --no-defer
without the--source
option succeedsSteps To Reproduce
packages.yml
vars
in thedbt_project.yml
file:id: int, data: string
sources.yml
file referencing the schema name and table you just created.my_model.sql
file containing:Log output/Screenshots
No response
Operating System
MacOS
dbt version
dbt Cloud CLI - 0.38.23 (1ab8d5b0dd92df4e0f13549b04ab88abadcd12e3 2025-01-07T20:26:26Z)
dbt Adapter
databricks
dbt Power User version
0.50.5
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: