<?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>question Re: Getting error while executing hive merge in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-error-while-executing-hive-merge/m-p/167641#M53905</link>
    <description>&lt;P&gt;are you running merge command on HDP? It is not supported in any of the current releases. You need Apache Hive 2.2 for merge functionality. &lt;A href="https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DML#LanguageManualDML-Merge" target="_blank"&gt;https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DML#LanguageManualDML-Merge&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Feb 2017 18:02:56 GMT</pubDate>
    <dc:creator>aervits</dc:creator>
    <dc:date>2017-02-09T18:02:56Z</dc:date>
    <item>
      <title>Getting error while executing hive merge</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-error-while-executing-hive-merge/m-p/167640#M53904</link>
      <description>&lt;P&gt;I am running below query:&lt;/P&gt;&lt;P&gt;MERGE INTO college_for_mrg AS T USING college AS S
ON clg_name = clg_name
WHEN MATCHED AND clg_id &amp;gt; 5
THEN UPDATE SET clg_loc = "ind"
WHEN NOT MATCHED
THEN INSERT VALUES(2,"sd","dsd","dsfs");&lt;/P&gt;&lt;P&gt;Both the tables support acid properties.&lt;/P&gt;&lt;P&gt;i have also tried table name as database_name.table_name in query but still its giving same error.&lt;/P&gt;&lt;P&gt;error: FAILED: ParseException line 3:0 cannot recognize input near 'MERGE' 'INTO' 'college_for_mrg'&lt;/P&gt;&lt;P&gt;please help.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 15:35:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-error-while-executing-hive-merge/m-p/167640#M53904</guid>
      <dc:creator>sheetal_khanuja</dc:creator>
      <dc:date>2017-02-09T15:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while executing hive merge</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-error-while-executing-hive-merge/m-p/167641#M53905</link>
      <description>&lt;P&gt;are you running merge command on HDP? It is not supported in any of the current releases. You need Apache Hive 2.2 for merge functionality. &lt;A href="https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DML#LanguageManualDML-Merge" target="_blank"&gt;https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DML#LanguageManualDML-Merge&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 18:02:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-error-while-executing-hive-merge/m-p/167641#M53905</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2017-02-09T18:02:56Z</dc:date>
    </item>
  </channel>
</rss>

