โ08-07-2023 02:41 AM
Hi,
Databricks repos is making white spaces in the notebooks, without us opening the notebook. So seems to be automatically. Does someone has a solution how we can turn this off?
An example:
Can someone helps us with this?
โ08-09-2023 03:46 AM
Hi @Siebert_Looije , There is no solution to turn it off at this point. We are working on upcoming changes to prevent/reduce the chance of it happening.
โ08-11-2023 05:56 AM
Yea I noticed this too. All of a sudden a ton of notebooks were 'changed' in my feature branch (together with quit some real changes).
In the end (after checking them all) I merged them with the rest as nothing actually changed. Annoying bug, but no big deal.
โ08-11-2023 06:13 AM
The problem that we are facing with it right now, is that our CI/CD pipeline get merge conflicts because our main branch gets this spaces. So we have an automatisch sync to the repos of databricks (which normally works very well) but now the github actions is given an error because of the merge conflict because of these spaces.
So for us it would really help to turn off this functionaliteit in some way (because we don't really need it that databricks is fixing our code or changing our code automatically).
โ08-11-2023 06:19 AM
Ouch.
I don't think it is a feature btw but more like a bug (which you cannot switch off).
Strange you get merge conflicts on whitespace. But I see you use python so that is probably why.
You can fix the notebooks by removing the whitespace and merging, but I think it will come back.
Or adjust the notebooks based on this new whitespace?
A pain, I know.
โ08-16-2023 09:34 AM
This bug is causing problems in our CI/CD pipeline too. I've had to manually clear things to keep it running as we get merge conflicts when no changes are made.
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