<?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 Re: Unable to migrate an empty parquet table to delta lake in Databricks in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/unable-to-migrate-an-empty-parquet-table-to-delta-lake-in/m-p/56513#M6323</link>
    <description>&lt;P&gt;Hello Bharathi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ideally the ETL job should not generate the empty &lt;SPAN&gt;parquet&amp;nbsp;&lt;/SPAN&gt;files in the respective location as it's an overhead to read the empty file and it's a not best practice.&lt;/P&gt;&lt;P&gt;Assuming this can be easily fix in ETL job while getting the rows count before generating the empty file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Jan 2024 14:06:08 GMT</pubDate>
    <dc:creator>BR_DatabricksAI</dc:creator>
    <dc:date>2024-01-05T14:06:08Z</dc:date>
    <item>
      <title>Unable to migrate an empty parquet table to delta lake in Databricks</title>
      <link>https://community.databricks.com/t5/get-started-discussions/unable-to-migrate-an-empty-parquet-table-to-delta-lake-in/m-p/56383#M6320</link>
      <description>&lt;P&gt;I'm trying to convert my Databricks Tables from Parquet to Delta. While most of the tables have data and are successfully converted to delta some of the empty parquet tables fail with an error message as below -&lt;/P&gt;&lt;PRE&gt;CONVERT TO DELTA &amp;lt;schema-name&amp;gt;.parquet_test_3&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;AnalysisException&lt;/STRONG&gt;: Found no partition information in the catalog for table spark_catalog.&amp;lt;schema-name&amp;gt;.parquet_test_3. Have you run "MSCK REPAIR TABLE" on your table to discover partitions?&lt;/P&gt;&lt;P&gt;Has anyone tried converting empty parquet tables to delta format?&lt;/P&gt;&lt;P&gt;Note: MSCK REPAIR TABLE does not have any effect.&lt;/P&gt;&lt;P&gt;Inserting a dummy row into the table solves this issue but looking for any other best workarounds/solution.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2024 18:08:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/unable-to-migrate-an-empty-parquet-table-to-delta-lake-in/m-p/56383#M6320</guid>
      <dc:creator>Bharathi-Rajen</dc:creator>
      <dc:date>2024-01-03T18:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to migrate an empty parquet table to delta lake in Databricks</title>
      <link>https://community.databricks.com/t5/get-started-discussions/unable-to-migrate-an-empty-parquet-table-to-delta-lake-in/m-p/56512#M6322</link>
      <description>&lt;P&gt;Thanks. Inserting a dummy row works but would it be addressed in a future release as a fix for COVERT TO DELTA function?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 13:37:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/unable-to-migrate-an-empty-parquet-table-to-delta-lake-in/m-p/56512#M6322</guid>
      <dc:creator>Bharathi-Rajen</dc:creator>
      <dc:date>2024-01-05T13:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to migrate an empty parquet table to delta lake in Databricks</title>
      <link>https://community.databricks.com/t5/get-started-discussions/unable-to-migrate-an-empty-parquet-table-to-delta-lake-in/m-p/56513#M6323</link>
      <description>&lt;P&gt;Hello Bharathi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ideally the ETL job should not generate the empty &lt;SPAN&gt;parquet&amp;nbsp;&lt;/SPAN&gt;files in the respective location as it's an overhead to read the empty file and it's a not best practice.&lt;/P&gt;&lt;P&gt;Assuming this can be easily fix in ETL job while getting the rows count before generating the empty file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 14:06:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/unable-to-migrate-an-empty-parquet-table-to-delta-lake-in/m-p/56513#M6323</guid>
      <dc:creator>BR_DatabricksAI</dc:creator>
      <dc:date>2024-01-05T14:06:08Z</dc:date>
    </item>
  </channel>
</rss>

