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:ย 

Databricks CLI's workspace export_dir command adds unnecessary edits despite not making any change in the workspace

mshettar
New Contributor II

databricks workspace export_dir / export command with overwrite option enabled adds non-existent changes in the target directory. 1. It introduces new line deletion and 2. add/deletion of MAGIC comments despite not making any meaningful changes in the source (workspace) directory.

Steps to reproduce this issue:

  1. Clone a scala repository from Gitlab.
  2. Import to DB workspace from local filesystem
  3. Export from DB workspace to local filesystem with overwrite enabled.
  4. git diff

Screenshot 2023-06-06 at 2.44.48 PM 

2 REPLIES 2

Anonymous
Not applicable

Hi @Manjunath Shettarโ€‹ 

Great to meet you, and thanks for your question!

Let's see if your peers in the community have an answer to your question. Thanks.

RyanHager
Contributor

I am encountering this issue as well and it did not happen previously.  Additionally, you see this pattern if you are using repos internally and make a change to a notebook in another section.

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