cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
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"

 }

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now