databricks / cli

Databricks CLI
Other
148 stars 56 forks source link

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

Open andrewnester opened 3 months ago

andrewnester commented 3 months 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