Hi @bhanu_dp
In Databricks Unity Catalog, once a schema is created without specifying a managed location, you cannot directly alter the schema to set or change its managed location. The managed location is typically set at the time of schema creation and is used to determine where the data for managed tables within that schema will be stored.
If you need to change the managed location after the schema has been created, the typical approach would be to:
Create a New Schema with the Desired Managed Location:
Create a new schema and specify the desired managed location during its creation.
Move Tables to the New Schema:
Move the tables from the old schema to the new schema. This might involve copying the data and recreating the tables in the new schema.
Rename Tables if Necessary:
If you need to maintain the original table names, you might need to rename the tables after moving them.
Unfortunately, this process can be cumbersome, especially if you have a large number of tables or complex dependencies.
For the most accurate and up-to-date information, you should refer to the official Databricks documentation. As of my last update, there isn't a direct feature to alter the managed location of an existing schema in Unity Catalog. However, Databricks frequently updates its platform, so it's a good idea to check their documentation or contact their support for any new features or workarounds.
Jiss Mathew
India .