NandiniN
Databricks Employee
Databricks Employee

It seems to be issue with relative path

source_code_path: ../src

This does not match the actual path where the source code is being deployed in the Databricks workspace (/Workspace/Users/my_user@domain.com/my_app/files/src). This mismatch could lead to the app being unable to locate the files in the expected path.

By default, deploying a Databricks Asset Bundle (DAB) might append additional directory structures like files/ depending on the bundle structure.

To fix this Review databricks.yml Configuration:

  • Confirm that the root_path in your databricks.yml file is consistent with how you want the app deployed. For instance, it could be necessary to append /files to the root_path if the src/ folder is being nested under files/ during deployment.

After making the above changes, redeploy the bundle using the following command:

databricks bundle deploy -t dev