cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Which one is good approach to install python wheel in cluster policy or in init script

Mitashi12
New Contributor

I want to understand when should I go for install library in init script and when should be choose to install in policy in DLT jobs and pipeline using DAB

 

1 REPLY 1

Kaniz_Fatma
Community Manager
Community Manager

Hi @Mitashi12

  1. Install libraries via an init script when you want to ensure that specific packages are available across all clusters in your Databricks workspace.
  2. Install libraries via cluster policy when you want to manage dependencies at the cluster level.
  3. For DLT pipelines, consider using %pip install within your pipeline code.

Let me know if you need further assistance! ๐Ÿš€

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.

Request a New Group