Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
In a Databricks notebook, all cells initially contain Python code. You decide to add a new cell with a SQL statement and change the notebook's default language to SQL for this purpose. What impact does this change have on the existing Python cells?
A
The magic command %python will be appended to the end of all Python code cells.
%python
B
Python cells will become inactive (grayed out) and will not execute until the default language is switched back to Python.
C
The magic command %python will be inserted at the start of all Python code cells.
D
The magic command %sql will be added at the beginning of all Python code cells.
%sql
E
No changes will occur in any cell, and the notebook will function as before.