do more with dbt. dbt-fal helps you run Python alongside dbt, so you can send Slack alerts, detect anomalies and build machine learning models.
853
stars
72
forks
source link
Unable to override the database when using the dbt-trino connector #775
Open
radium226 opened 1 year ago
Describe the bug I'm not able to override the
database
when usingfal-dbt
with thedbt-trino
connector.Your environment
How to reproduce In my
dbt_project.yml
, I have this inmodels.metabase_reports
(note that the default database is notlakehouse
butmetabase
):In the
models/experimental/experimental__experimental.py
file, I have:When I run
dbt run --select=experimental__expertimental
.Expected behavior A table should be created in the
lakehouse.lakehouse_gold
schema within Trino.Actual behavior
The issue it that the
database
is not prepended to the table FQN (we only have theschema
).