databricks / cli

Databricks CLI
Other
132 stars 50 forks source link

Libraries with the same name but different path override each other #1674

Open andrewnester opened 1 month ago

andrewnester commented 1 month ago

Describe the issue

Using 2 libraries from different local paths but with the same name will result in one of them being overriden by other when uploaded to Databricks.

(from here: https://github.com/databricks/cli/pull/1664#discussion_r1709604419)

We need to figure out how to handle this, few ideas:

  1. Maintain relative path when uploaded
  2. Add library hash to the name

Is this a regression?

No