cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Disable managed tables on Azure Databricks

User16826990884
New Contributor III

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?

1 REPLY 1

florent
New Contributor III

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"

 }

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.