<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic using the SYNC TABLE command with AWS Glue tables in Data Governance</title>
    <link>https://community.databricks.com/t5/data-governance/using-the-sync-table-command-with-aws-glue-tables/m-p/38427#M1113</link>
    <description>&lt;P&gt;According to the docs, we should be able to use SYNC TABLE to 'upgrade' a table from a Hive metastore to Unity Catalog. We are using AWS Glue as our Hive Metastore, but tables created in Glue do not seem to be set up in a format that Databricks likes. When we try to run `SYNC TABLE` on a Glue table, DBSQL returns the error message `&lt;SPAN&gt;[UPGRADE_NOT_SUPPORTED.HIVE_SERDE] Table is not eligible for upgrade from Hive Metastore to Unity Catalog. Reason: Hive SerDe table.`&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Has anyone successfully gotten SYNC TABLE or SYNC SCHEMA working where a Glue table is the source?&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jul 2023 23:02:56 GMT</pubDate>
    <dc:creator>JameDavi_51481</dc:creator>
    <dc:date>2023-07-25T23:02:56Z</dc:date>
    <item>
      <title>using the SYNC TABLE command with AWS Glue tables</title>
      <link>https://community.databricks.com/t5/data-governance/using-the-sync-table-command-with-aws-glue-tables/m-p/38427#M1113</link>
      <description>&lt;P&gt;According to the docs, we should be able to use SYNC TABLE to 'upgrade' a table from a Hive metastore to Unity Catalog. We are using AWS Glue as our Hive Metastore, but tables created in Glue do not seem to be set up in a format that Databricks likes. When we try to run `SYNC TABLE` on a Glue table, DBSQL returns the error message `&lt;SPAN&gt;[UPGRADE_NOT_SUPPORTED.HIVE_SERDE] Table is not eligible for upgrade from Hive Metastore to Unity Catalog. Reason: Hive SerDe table.`&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Has anyone successfully gotten SYNC TABLE or SYNC SCHEMA working where a Glue table is the source?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 23:02:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/using-the-sync-table-command-with-aws-glue-tables/m-p/38427#M1113</guid>
      <dc:creator>JameDavi_51481</dc:creator>
      <dc:date>2023-07-25T23:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: using the SYNC TABLE command with AWS Glue tables</title>
      <link>https://community.databricks.com/t5/data-governance/using-the-sync-table-command-with-aws-glue-tables/m-p/119288#M2480</link>
      <description>&lt;P&gt;Hi team,&lt;BR /&gt;The issue arises because Unity Catalog's SYNC command cannot process tables that were created using the Hive SerDe format in the hive_metastore catalog. This means that any attempts to upgrade such tables will fail.&lt;/P&gt;
&lt;P&gt;You need to convert your Hive SerDe tables to Delta format using the following command:&lt;BR /&gt;CONVERT TO DELTA hive_metastore.&amp;lt;database-name&amp;gt;.&amp;lt;table-name&amp;gt;;&lt;/P&gt;
&lt;P&gt;Then after converting the table to Delta format, you can issue the SYNC command to upgrade the table to Unity Catalog using:&lt;BR /&gt;SYNC hive_metastore.&amp;lt;database-name&amp;gt;.&amp;lt;table-name&amp;gt; TO unity_catalog.&amp;lt;database-name&amp;gt;.&amp;lt;table-name&amp;gt;;&lt;/P&gt;
&lt;P&gt;Let me know if this helps!&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2025 08:22:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/using-the-sync-table-command-with-aws-glue-tables/m-p/119288#M2480</guid>
      <dc:creator>Vidhi_Khaitan</dc:creator>
      <dc:date>2025-05-15T08:22:32Z</dc:date>
    </item>
  </channel>
</rss>

