Creating table in Unity Catalog with file scheme dbfs is not supported
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2024 01:31 AM
code:
# Define the path for the staging Delta table
staging_table_path = "dbfs:/user/hive/warehouse/staging_order_tracking"
spark.sql( f"CREATE TABLE IF NOT EXISTS staging_order_tracking USING DELTA LOCATION '{staging_table_path}'" )
Creating table in Unity Catalog with file scheme dbfs is not supported.