<?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 Delta Lake MERGE INTO statement error in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/delta-lake-merge-into-statement-error/m-p/19074#M1034</link>
    <description>&lt;P&gt;I'm trying to run Delta Lake Merge&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MERGE INTO source
USING updates
ON  source.d = updates.sessionId
WHEN MATCHED THEN UPDATE *
WHEN NOT MATCHED THEN INSERT *&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I'm getting an SQL error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ParseException: mismatched input 'MERGE' expecting {'(', 'SELECT', 'FROM', 'ADD', 'DESC', 'WITH', 'VALUES', 'CREATE', 'TABLE', 'INSERT', 'DELETE', 'DESCRIBE', 'EXPLAIN', 'SHOW', 'USE', 'DROP', 'ALTER', 'MAP', 'SET', 'RESET', 'START', 'COMMIT', 'ROLLBACK', 'REDUCE', 'REFRESH', 'CLEAR', 'CACHE', 'UNCACHE', 'DFS', 'TRUNCATE', 'ANALYZE', 'LIST', 'REVOKE', 'GRANT', 'LOCK', 'UNLOCK', 'MSCK', 'EXPORT', 'IMPORT', 'LOAD'}(line 2, pos 0)
&amp;nbsp;
"&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I am using&amp;nbsp;&lt;/P&gt;&lt;P&gt;io.delta:delta-core_2.11:0.6.1&lt;/P&gt;&lt;P&gt;Anything Wrong &lt;/P&gt;</description>
    <pubDate>Fri, 25 Jun 2021 18:22:59 GMT</pubDate>
    <dc:creator>User16826994223</dc:creator>
    <dc:date>2021-06-25T18:22:59Z</dc:date>
    <item>
      <title>Delta Lake MERGE INTO statement error</title>
      <link>https://community.databricks.com/t5/machine-learning/delta-lake-merge-into-statement-error/m-p/19074#M1034</link>
      <description>&lt;P&gt;I'm trying to run Delta Lake Merge&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MERGE INTO source
USING updates
ON  source.d = updates.sessionId
WHEN MATCHED THEN UPDATE *
WHEN NOT MATCHED THEN INSERT *&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I'm getting an SQL error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ParseException: mismatched input 'MERGE' expecting {'(', 'SELECT', 'FROM', 'ADD', 'DESC', 'WITH', 'VALUES', 'CREATE', 'TABLE', 'INSERT', 'DELETE', 'DESCRIBE', 'EXPLAIN', 'SHOW', 'USE', 'DROP', 'ALTER', 'MAP', 'SET', 'RESET', 'START', 'COMMIT', 'ROLLBACK', 'REDUCE', 'REFRESH', 'CLEAR', 'CACHE', 'UNCACHE', 'DFS', 'TRUNCATE', 'ANALYZE', 'LIST', 'REVOKE', 'GRANT', 'LOCK', 'UNLOCK', 'MSCK', 'EXPORT', 'IMPORT', 'LOAD'}(line 2, pos 0)
&amp;nbsp;
"&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I am using&amp;nbsp;&lt;/P&gt;&lt;P&gt;io.delta:delta-core_2.11:0.6.1&lt;/P&gt;&lt;P&gt;Anything Wrong &lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 18:22:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/delta-lake-merge-into-statement-error/m-p/19074#M1034</guid>
      <dc:creator>User16826994223</dc:creator>
      <dc:date>2021-06-25T18:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Delta Lake MERGE INTO statement error</title>
      <link>https://community.databricks.com/t5/machine-learning/delta-lake-merge-into-statement-error/m-p/19075#M1035</link>
      <description>&lt;P&gt;The&amp;nbsp;merge&lt;/P&gt;&lt;P&gt;&amp;nbsp;SQL support is added in&amp;nbsp;&lt;A href="https://github.com/delta-io/delta/releases/tag/v0.7.0" alt="https://github.com/delta-io/delta/releases/tag/v0.7.0" target="_blank"&gt;Delta Lake 0.7.0&lt;/A&gt;. You also need to upgrade your Apache Spark to 3.0.0 and enable the integration with Apache Spark DataSourceV2 and C&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 18:23:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/delta-lake-merge-into-statement-error/m-p/19075#M1035</guid>
      <dc:creator>User16826994223</dc:creator>
      <dc:date>2021-06-25T18:23:35Z</dc:date>
    </item>
  </channel>
</rss>

