My setup consist git repository connected to Azure DataBricks, this allows to develop databricks python notebooks in PyCharm, push to repo and run updated notebook in DataBricks UI.
Whenever I make change of notebook file from WebUI and do the commit, all lines in notebook file are prepended with # MAGIC:
# Databricks notebook source
%pip install -r "../requirements.txt"
import os
becomes:
# Databricks notebook source
# MAGIC %pip install -r "../requirements.txt"
# MAGIC
# MAGIC import os
How to fix commits from Azure DataBricks to not change file on push?