You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When executing python models in submission_method: all_purpose_cluster, the dbt-databricks connector is not recognizing when the cluster is still installing libraries. This produces python models to fail intermittently when libs are needed.
Steps To Reproduce
Use an All Purpose Cluster running 14.3LTS
Configure python models to run in all_purpose_cluster mode
Create a python model that use a library that requires installation and configure it in the cluster created in 1.
Execute the python model when the All Purpose Cluster is terminated
Expected behavior
Python models waiting until libraries configured in the cluster are installed
Screenshots and log output
Based on this function, it waits until the cluster is in a running state, but this doesn't mean that the cluster is ready to use as shown in the screenshot.
System information
The output of dbt --version:
1.8.3
The text was updated successfully, but these errors were encountered:
dbt-databricks/dbt/adapters/databricks/python_submissions.py
Line 404 in 38aefbf
Describe the bug
When executing python models in submission_method: all_purpose_cluster, the dbt-databricks connector is not recognizing when the cluster is still installing libraries. This produces python models to fail intermittently when libs are needed.
Steps To Reproduce
Expected behavior
Python models waiting until libraries configured in the cluster are installed
Screenshots and log output
Based on this function, it waits until the cluster is in a
running
state, but this doesn't mean that the cluster is ready to use as shown in the screenshot.System information
The output of
dbt --version
:The text was updated successfully, but these errors were encountered: