<?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: Sample streaming table is failed in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/sample-streaming-table-is-failed/m-p/90998#M38058</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/119515"&gt;@shsalami&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;The error you're encountering suggests you are attempting to read a Delta table as if it were a collection of CSV files using the cloud_files function.&lt;BR /&gt;You may run "DESCRIBE DETAIL&amp;nbsp;&lt;SPAN&gt;customers" and check whether this table exists and it is located in&amp;nbsp;"/databricks-datasets/retail-org/customers/". The other way is to navigate to this location in your cloud storage. It may happen that you already created a Delta table in that location before. The syntax for reading from delta table is different.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Sep 2024 07:06:37 GMT</pubDate>
    <dc:creator>filipniziol</dc:creator>
    <dc:date>2024-09-19T07:06:37Z</dc:date>
    <item>
      <title>Sample streaming table is failed</title>
      <link>https://community.databricks.com/t5/data-engineering/sample-streaming-table-is-failed/m-p/90994#M38055</link>
      <description>&lt;DIV&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Running the following databricks sample code in the pipeline:&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CREATE&lt;/SPAN&gt; &lt;SPAN&gt;OR&lt;/SPAN&gt; &lt;SPAN&gt;REFRESH&lt;/SPAN&gt; &lt;SPAN&gt;STREAMING&lt;/SPAN&gt; &lt;SPAN&gt;TABLE&lt;/SPAN&gt;&lt;SPAN&gt; customers&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;AS&lt;/SPAN&gt; &lt;SPAN&gt;SELECT&lt;/SPAN&gt; &lt;SPAN&gt;*&lt;/SPAN&gt; &lt;SPAN&gt;FROM&lt;/SPAN&gt;&lt;SPAN&gt; cloud_files(&lt;/SPAN&gt;&lt;SPAN&gt;"/databricks-datasets/retail-org/customers/"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"csv"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;I got error:&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;org.apache.spark.sql.catalyst.ExtendedAnalysisException: Unable to process statement for Table 'customers'.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;com.databricks.sql.cloudfiles.errors.CloudFilesIllegalArgumentException: Reading from a Delta table is not supported with this syntax. If you would like to consume data from Delta, please refer to the docs: read a Delta table (&lt;A href="https://docs.microsoft.com/azure/databricks/delta/tutorial#read" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/azure/databricks/delta/tutorial#read&lt;/A&gt;), or read a Delta table as a stream source (&lt;A href="https://docs.microsoft.com/azure/databricks/structured-streaming/delta-lake#table-streaming-reads-and-writes" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/azure/databricks/structured-streaming/delta-lake#table-streaming-reads-and-writes&lt;/A&gt;). The streaming source from Delta is already optimized for incremental consumption of data.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 19 Sep 2024 06:24:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/sample-streaming-table-is-failed/m-p/90994#M38055</guid>
      <dc:creator>shsalami</dc:creator>
      <dc:date>2024-09-19T06:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Sample streaming table is failed</title>
      <link>https://community.databricks.com/t5/data-engineering/sample-streaming-table-is-failed/m-p/90998#M38058</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/119515"&gt;@shsalami&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;The error you're encountering suggests you are attempting to read a Delta table as if it were a collection of CSV files using the cloud_files function.&lt;BR /&gt;You may run "DESCRIBE DETAIL&amp;nbsp;&lt;SPAN&gt;customers" and check whether this table exists and it is located in&amp;nbsp;"/databricks-datasets/retail-org/customers/". The other way is to navigate to this location in your cloud storage. It may happen that you already created a Delta table in that location before. The syntax for reading from delta table is different.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 07:06:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/sample-streaming-table-is-failed/m-p/90998#M38058</guid>
      <dc:creator>filipniziol</dc:creator>
      <dc:date>2024-09-19T07:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sample streaming table is failed</title>
      <link>https://community.databricks.com/t5/data-engineering/sample-streaming-table-is-failed/m-p/91649#M38229</link>
      <description>&lt;P&gt;There is no table with that name.&lt;/P&gt;&lt;P&gt;Also, in that folder just the following file exists:&lt;/P&gt;&lt;P&gt;dbfs:/databricks-datasets/retail-org/customers/customers.csv&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 05:18:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/sample-streaming-table-is-failed/m-p/91649#M38229</guid>
      <dc:creator>shsalami</dc:creator>
      <dc:date>2024-09-25T05:18:13Z</dc:date>
    </item>
  </channel>
</rss>

