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! 🚀

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!