<?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: parsing error in Databricks SQL endpoint in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/parsing-error-in-databricks-sql-endpoint/m-p/6094#M2340</link>
    <description>&lt;P&gt;From the documentation, update statement is only supported for Delta Lake tables.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/sql/language-manual/delta-update.html" target="test_blank"&gt;https://docs.databricks.com/sql/language-manual/delta-update.html&lt;/A&gt;. Can you check if your tables are delta&lt;/P&gt;</description>
    <pubDate>Tue, 11 Apr 2023 07:09:26 GMT</pubDate>
    <dc:creator>RaghavendraY</dc:creator>
    <dc:date>2023-04-11T07:09:26Z</dc:date>
    <item>
      <title>parsing error in Databricks SQL endpoint</title>
      <link>https://community.databricks.com/t5/data-engineering/parsing-error-in-databricks-sql-endpoint/m-p/6093#M2339</link>
      <description>&lt;P&gt;I have two tables EMPLOYEE &amp;amp; EMPLOYEE_ROLE. I'm trying to Update a column with a value from another column. I'm using SQL server join but i get an error - &lt;/P&gt;&lt;P&gt;[parse_syntax_error] Syntax error at or near 'FROM' line 3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE C&lt;/P&gt;&lt;P&gt;SET C.title = B.title &lt;/P&gt;&lt;P&gt;FROM EMPLOYEE C&lt;/P&gt;&lt;P&gt;INNER JOIN EMPLOYEE_ROLE B&lt;/P&gt;&lt;P&gt;ON C.emp_id = B.emp_id&lt;/P&gt;&lt;P&gt;AND C.emp_name = B.emp_name&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 05:51:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/parsing-error-in-databricks-sql-endpoint/m-p/6093#M2339</guid>
      <dc:creator>Vijesh</dc:creator>
      <dc:date>2023-04-11T05:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: parsing error in Databricks SQL endpoint</title>
      <link>https://community.databricks.com/t5/data-engineering/parsing-error-in-databricks-sql-endpoint/m-p/6094#M2340</link>
      <description>&lt;P&gt;From the documentation, update statement is only supported for Delta Lake tables.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/sql/language-manual/delta-update.html" target="test_blank"&gt;https://docs.databricks.com/sql/language-manual/delta-update.html&lt;/A&gt;. Can you check if your tables are delta&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 07:09:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/parsing-error-in-databricks-sql-endpoint/m-p/6094#M2340</guid>
      <dc:creator>RaghavendraY</dc:creator>
      <dc:date>2023-04-11T07:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: parsing error in Databricks SQL endpoint</title>
      <link>https://community.databricks.com/t5/data-engineering/parsing-error-in-databricks-sql-endpoint/m-p/6095#M2341</link>
      <description>&lt;P&gt;Yes they are delta tables&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 10:04:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/parsing-error-in-databricks-sql-endpoint/m-p/6095#M2341</guid>
      <dc:creator>Vijesh</dc:creator>
      <dc:date>2023-04-11T10:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: parsing error in Databricks SQL endpoint</title>
      <link>https://community.databricks.com/t5/data-engineering/parsing-error-in-databricks-sql-endpoint/m-p/6096#M2342</link>
      <description>&lt;P&gt;Hi @Vijesh V​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for posting your question in our community! We are happy to assist you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To help us provide you with the most accurate information, could you please take a moment to review the responses and select the one that best answers your question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will also help other community members who may have similar questions in the future. Thank you for your participation and let us know if you need any further assistance!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 13:54:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/parsing-error-in-databricks-sql-endpoint/m-p/6096#M2342</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-04-11T13:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: parsing error in Databricks SQL endpoint</title>
      <link>https://community.databricks.com/t5/data-engineering/parsing-error-in-databricks-sql-endpoint/m-p/6097#M2343</link>
      <description>&lt;P&gt;@Vijesh V​&amp;nbsp;, you can use merge statement like below code snipplet:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;merge into EMPLOYEE C&lt;/P&gt;&lt;P&gt;using  EMPLOYEE_ROLE B &lt;/P&gt;&lt;P&gt;ON C.emp_id = B.emp_id AND C.emp_name = B.emp_name&lt;/P&gt;&lt;P&gt;when matched then&lt;/P&gt;&lt;P&gt; update set &amp;nbsp;C.title = B.title&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 18:09:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/parsing-error-in-databricks-sql-endpoint/m-p/6097#M2343</guid>
      <dc:creator>kumarPerry</dc:creator>
      <dc:date>2023-04-11T18:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: parsing error in Databricks SQL endpoint</title>
      <link>https://community.databricks.com/t5/data-engineering/parsing-error-in-databricks-sql-endpoint/m-p/6098#M2344</link>
      <description>&lt;P&gt;Hi @Vijesh V​&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try to use &lt;B&gt;merge into&lt;/B&gt; to perform cdc between tables :&lt;/P&gt;&lt;P&gt;&lt;B&gt;MERGE INTO target a&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;USING source b&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;ON {merge_condition}&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;WHEN MATCHED THEN {matched_action}&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;WHEN NOT MATCHED THEN {not_matched_action}&lt;/B&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 16:50:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/parsing-error-in-databricks-sql-endpoint/m-p/6098#M2344</guid>
      <dc:creator>sensanjoy</dc:creator>
      <dc:date>2023-04-12T16:50:56Z</dc:date>
    </item>
  </channel>
</rss>

