You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: metastore_export_import/02_recreate_catalog.py
+57Lines changed: 57 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -116,4 +116,61 @@ def return_schema(df):
116
116
117
117
# COMMAND ----------
118
118
119
+
# MAGIC %md
120
+
# MAGIC #### Create managed tables
121
+
# MAGIC
122
+
# MAGIC For this to work you'll have to:
123
+
# MAGIC
124
+
# MAGIC 1) create a managed identity with Storage Blob Contributor permission to the storage account, or create IAM role with the same process used for the primary metastore storage.
125
+
# MAGIC 2) create a storage credential on the secondary site using this managed identity/IAM role
126
+
# MAGIC 3) create an external location pointing to the storage account/bucket used by the primary metastore
127
+
# MAGIC 4) inform the primary storage location as a parameter
0 commit comments