<?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: read_files to create streaming table using Databricks SQL in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/read-files-to-create-streaming-table-using-databricks-sql/m-p/95433#M39101</link>
    <description>&lt;P&gt;I followed the syntax in this documentation link&amp;nbsp;&lt;A href="https://docs.databricks.com/en/tables/streaming.html" target="_blank"&gt;https://docs.databricks.com/en/tables/streaming.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I get this error if the STREAM keyword is excluded&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please add the STREAM keyword to your FROM clause to turn this relation into a streaming query. SQLSTATE: 42000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Oct 2024 08:53:09 GMT</pubDate>
    <dc:creator>DB3</dc:creator>
    <dc:date>2024-10-22T08:53:09Z</dc:date>
    <item>
      <title>read_files to create streaming table using Databricks SQL</title>
      <link>https://community.databricks.com/t5/data-engineering/read-files-to-create-streaming-table-using-databricks-sql/m-p/95414#M39093</link>
      <description>&lt;P&gt;I follow the same syntax from documentation for create streaming table and it was last week and not working now&lt;/P&gt;&lt;P&gt;Ex query:CREATE OR REFRESH STREAMING TABLE&lt;BR /&gt;`ax`.`db`.`healthex`&lt;BR /&gt;AS SELECT * FROM STREAM&lt;BR /&gt;read_files(&lt;BR /&gt;"/Volumes/ax/db/dlt-test/", -- The file path&lt;BR /&gt;format=&amp;gt;'csv',header=&amp;gt;true,delimiter=&amp;gt;'|')&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Whats wrong here&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 06:30:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/read-files-to-create-streaming-table-using-databricks-sql/m-p/95414#M39093</guid>
      <dc:creator>DB3</dc:creator>
      <dc:date>2024-10-22T06:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: read_files to create streaming table using Databricks SQL</title>
      <link>https://community.databricks.com/t5/data-engineering/read-files-to-create-streaming-table-using-databricks-sql/m-p/95419#M39096</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/123061"&gt;@DB3&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;I follow the same syntax from documentation for create streaming table and it was last week and not working now&lt;/P&gt;&lt;P&gt;Ex query:CREATE OR REFRESH STREAMING TABLE&lt;BR /&gt;`ax`.`db`.`healthex`&lt;BR /&gt;AS SELECT * FROM STREAM&lt;BR /&gt;read_files(&lt;BR /&gt;"/Volumes/ax/db/dlt-test/", -- The file path&lt;BR /&gt;format=&amp;gt;'csv',header=&amp;gt;true,delimiter=&amp;gt;'|')&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Whats wrong here&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hello,&lt;BR /&gt;It looks like there's a syntax issue in your CREATE OR REFRESH STREAMING TABLE statement. The correct syntax should be:&lt;BR /&gt;CREATE OR REFRESH STREAMING TABLE `ax`.`db`.`healthex`&lt;BR /&gt;AS SELECT * FROM read_files("/Volumes/ax/db/dlt-test/", -- The file path&lt;BR /&gt;format=&amp;gt;'csv',header=&amp;gt;true,delimiter=&amp;gt;'|')&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Make&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;sure&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;there's&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;no&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;space&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;between&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;CREATE&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;OR&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;REFRESH&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;STREAMING&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;TABLE.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Does&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;this&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;help?&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Mary Chess&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 06:45:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/read-files-to-create-streaming-table-using-databricks-sql/m-p/95419#M39096</guid>
      <dc:creator>mary598chess</dc:creator>
      <dc:date>2024-10-22T06:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: read_files to create streaming table using Databricks SQL</title>
      <link>https://community.databricks.com/t5/data-engineering/read-files-to-create-streaming-table-using-databricks-sql/m-p/95433#M39101</link>
      <description>&lt;P&gt;I followed the syntax in this documentation link&amp;nbsp;&lt;A href="https://docs.databricks.com/en/tables/streaming.html" target="_blank"&gt;https://docs.databricks.com/en/tables/streaming.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I get this error if the STREAM keyword is excluded&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please add the STREAM keyword to your FROM clause to turn this relation into a streaming query. SQLSTATE: 42000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 08:53:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/read-files-to-create-streaming-table-using-databricks-sql/m-p/95433#M39101</guid>
      <dc:creator>DB3</dc:creator>
      <dc:date>2024-10-22T08:53:09Z</dc:date>
    </item>
  </channel>
</rss>

