Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2024 10:33 AM
The solution that worked what adding this python cell to the notebook:
%python
from pyspark.dbutils import DBUtils
dbutils = DBUtils(spark)
dbutils.widgets.text("catalog", "my_business_app")
dbutils.widgets.text("schema", "dev")
Then in the SQL Cell:
CREATE TABLE IF NOT EXISTS ${catalog}.${schema}.my_table_name;