Unsupported_operation : Magic commands (e.g. %py, %sql and %run) are not supported with the exception of %pip within a Python notebook. Cells containing magic commands are ignored - DLT pipeline

Ayur
New Contributor II

Hi,

I'm trying to use magic command(to change to python in a notebook with sql as a default language) in a dlt pipeline,.

When starting the pipeline cells containing magic command are ignored., with the warning message below:

"Magic commands (e.g. %py, %sql and %run) are not supported with the exception of %pip within a Python notebook. Cells containing magic commands are ignored. Unsupported magic commands were found in the following notebooks"

I'm using Azure Databricks.

Thanks in advance 🙂