Explore discussions on Databricks administration, deployment strategies, and architectural best practices. Connect with administrators and architects to optimize your Databricks environment for performance, scalability, and security.
I've configured the DABs on our project successfully. Moreover, I could switch from setuptools to poetry almost successfully. In the project's databricks.yml I configured it as the documentation suggested, I've just changed the name of the artifact:
Do you see your .whl file in your artifacts folder?
Could you try to install the package by running the code in your notebook :
%pip install <path to your wheel>
As far as I understand you want to have a job with a notebook that is using this package. There is a whole video that covers this scenario: https://www.youtube.com/watch?v=dbuSAdcagEk
Could you check if your job task has dependent libraries set with the path tyou your .whl file?
The only part that was missing was to call it on the job.
The sad news is although the package was successfully deployed and called the command dbutils.widget.get('catalog') did not work
def load_env():
"""
Load configuration based on the environment.
"""
try:
catalog = dbutils.widgets.get("catalog")
except:
catalog = 'development'
And the catalog variable was ingested successfully:
Thank you once again for your attention and kindness.
Preview file
39 KB
Connect with Databricks Users in Your Area
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.
If there isn’t a group near you, start one and help create a community that brings people together.