Unity Catalog "Sync" Question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2025 11:38 AM
Will running sync table catalog.schema.table FROM hive_metastore.schema.table allow me to keep updating the hive_metastore table using a non UC cluster, and keep the UC table in sync?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2025 12:03 PM
😊
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2025 03:25 PM
Hi @Kayla,
SYNC command is to sync your hive EXTERNAL table to your Unity Catalog name space. If the table is external, the UC table will be in sync with your external location. If it is hive managed table, you can't use SYNC command to have your managed table in UC metastore. For more details on table compatibility and SYNC, please refer the following documentation: https://docs.databricks.com/aws/en/sql/language-manual/sql-ref-syntax-aux-sync
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2025 05:08 AM
Ah, I did in fact miss the part where it won't work with hive managed tables. Guess I'll need to look for another solution- thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 10:57 AM
😊

