Disable managed tables on Azure Databricks
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2021 11:48 AM
When a user creates a table without a path, it writes it as a managed table in the root bucket. Can this functionality be disabled so users are forced to provide a storage path and follow our organization best practices?
Labels:
- Labels:
-
Azure
-
Azure databricks
-
Root Bucket
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2022 05:24 AM
Hi,
I couldn't find the option to turn it off. It might be worth banning dbfs. However, you can configure the default location using a cluster policy by adding the following configuration:
"spark_conf.spark.sql.warehouse.dir": {
"type": "fixed",
"value": "abfss://mycontainer@mystorage.dfs.core.windows.net/myfolder/default_warehouse"
}

