The problem I’m having
I’m trying to run dbt python models on a Databricks job cluster. I want to add a dependent library to the job cluster, but it seems a dependent library cannot be specified in the “new_cluster” config (Databricks REST API reference). Is it possible to run dbt models on a Databricks job cluster and add libraries to the cluster?
What I’ve already tried
def model(dbt, session):
dbt.config(
submission_method="job_cluster",
job_cluster_config={
...
# where to add the library config?
}
)