You are creating a new notebook in Azure Databricks that will support R as the primary language but will also support Scala and SQL.
Which switch should you use to switch between languages?
You are creating a new notebook in Azure Databricks that will support R as the primary language but will also support Scala and SQL.
Which switch should you use to switch between languages?
To switch between languages in an Azure Databricks notebook, you use the magic command %<language> at the beginning of a cell. The supported languages include %r for R, %scala for Scala, and %sql for SQL. This allows a single notebook to contain cells with different languages, facilitating multi-language support within the same notebook.
Correct Answer :)
not exactly. its %%
in Databricks you use just '%' e.g. %scala ... CODE