Databricks CLI's workspace export_dir command adds unnecessary edits despite not making any change in the workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2023 02:49 PM
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:
- Clone a scala repository from Gitlab.
- Import to DB workspace from local filesystem
- Export from DB workspace to local filesystem with overwrite enabled.
- git diff
- Labels:
-
Databricks cli
-
Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2023 03:03 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2023 10:03 AM
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.