Following are possible magic commands available in Databricks
- %python
- %sql
- %scala
- %sh
- %fs → Alternatively, one can use dbutils.fs
- %md
Note:
- The first line in the cell must be the magic command
- One cell allows only one magic command
- Magic commands are case sensitive
- When you change the default language, all cells in that notebook automatically add a magic command of the previous default language.
No comments:
Post a Comment