<?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: Delta table cannot be previewed in the Data UI in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/delta-table-cannot-be-previewed-in-the-data-ui/m-p/11905#M6820</link>
    <description>&lt;P&gt;did you wrote any data? did your micro-batch process any data? you can check if you do "%sql describe extended &amp;lt;delta_table_name&amp;gt;" in the output you will find the path to the location in which your data is located. Then you can try to list the data in that path. You need to have a _delta_log file in there&lt;/P&gt;</description>
    <pubDate>Tue, 25 Apr 2023 23:02:06 GMT</pubDate>
    <dc:creator>jose_gonzalez</dc:creator>
    <dc:date>2023-04-25T23:02:06Z</dc:date>
    <item>
      <title>Delta table cannot be previewed in the Data UI</title>
      <link>https://community.databricks.com/t5/data-engineering/delta-table-cannot-be-previewed-in-the-data-ui/m-p/11902#M6817</link>
      <description>&lt;P&gt;I have saved a delta table which I can read using `spark.table(table_name)`. However, when I go to the "Data" panel in databricks I get an error when I choose that table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;An error occurred while fetching table: &amp;lt;table_name&amp;gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;com.databricks.backend.common.rpc.DatabricksExceptions$SQLExecutionException: org.apache.spark.sql.AnalysisException: Incompatible format detected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A transaction log for Databricks Delta was found at `&amp;lt;path&amp;gt;/_delta_log`,&lt;/P&gt;&lt;P&gt;but you are trying to read from `&amp;lt;path&amp;gt;` using format("parquet"). You must use&lt;/P&gt;&lt;P&gt;'format("delta")' when reading and writing to a delta table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To disable this check, SET spark.databricks.delta.formatCheck.enabled=false&lt;/P&gt;&lt;P&gt;To learn more about Delta, see &lt;A href="https://docs.databricks.com/delta/index.html" target="test_blank"&gt;https://docs.databricks.com/delta/index.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Jan 2023 11:49:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delta-table-cannot-be-previewed-in-the-data-ui/m-p/11902#M6817</guid>
      <dc:creator>chanansh</dc:creator>
      <dc:date>2023-01-15T11:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Delta table cannot be previewed in the Data UI</title>
      <link>https://community.databricks.com/t5/data-engineering/delta-table-cannot-be-previewed-in-the-data-ui/m-p/11904#M6819</link>
      <description>&lt;P&gt;I don't know. The way I have saved the table was with autoloader as follows:&lt;/P&gt;&lt;P&gt;​I am saving a structure stream into a table using:&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;   .writeStream&lt;/P&gt;&lt;P&gt;   .format("delta")  # &amp;lt;-----------&lt;/P&gt;&lt;P&gt;   .option("checkpointLocation", checkpoint_path)&lt;/P&gt;&lt;P&gt;   .option("path", output_path)&lt;/P&gt;&lt;P&gt;   .trigger(availableNow=True)&lt;/P&gt;&lt;P&gt;   .toTable(table_name, format='delta'))&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;Yet the produced table seems not to be a delta one as I cannot read it in Redash, nor the Data preview feature in databricks. Moreover if I run delta.DeltaTable.isDeltaTable(spark, TABLE_NAME) it returns False.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 09:43:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delta-table-cannot-be-previewed-in-the-data-ui/m-p/11904#M6819</guid>
      <dc:creator>chanansh</dc:creator>
      <dc:date>2023-01-17T09:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: Delta table cannot be previewed in the Data UI</title>
      <link>https://community.databricks.com/t5/data-engineering/delta-table-cannot-be-previewed-in-the-data-ui/m-p/11905#M6820</link>
      <description>&lt;P&gt;did you wrote any data? did your micro-batch process any data? you can check if you do "%sql describe extended &amp;lt;delta_table_name&amp;gt;" in the output you will find the path to the location in which your data is located. Then you can try to list the data in that path. You need to have a _delta_log file in there&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 23:02:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delta-table-cannot-be-previewed-in-the-data-ui/m-p/11905#M6820</guid>
      <dc:creator>jose_gonzalez</dc:creator>
      <dc:date>2023-04-25T23:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Delta table cannot be previewed in the Data UI</title>
      <link>https://community.databricks.com/t5/data-engineering/delta-table-cannot-be-previewed-in-the-data-ui/m-p/11903#M6818</link>
      <description>&lt;P&gt;Hi, It can be an issue with Hive Metastore. Could you please recheck the configuration and also let us know if you are using external metastore?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 05:40:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/delta-table-cannot-be-previewed-in-the-data-ui/m-p/11903#M6818</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2023-01-17T05:40:31Z</dc:date>
    </item>
  </channel>
</rss>

