<?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: How to update Hive row with JOIN in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-update-Hive-row-with-JOIN/m-p/110709#M16289</link>
    <description>&lt;P&gt;Thanks.  I'll watch this JIRA for progress: &lt;A href="https://issues.apache.org/jira/browse/HIVE-10924" target="_blank"&gt;https://issues.apache.org/jira/browse/HIVE-10924&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Mar 2016 07:35:33 GMT</pubDate>
    <dc:creator>vzlatkin</dc:creator>
    <dc:date>2016-03-07T07:35:33Z</dc:date>
    <item>
      <title>How to update Hive row with JOIN</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-update-Hive-row-with-JOIN/m-p/110707#M16287</link>
      <description>&lt;P&gt;
	I want to port the following SQL statement to Hive from Sybase.  What is the best approach to get the below to work in Hive?  Hive &lt;A href="https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DML#LanguageManualDML-Update"&gt;DML&lt;/A&gt; UPDATE syntax doesn't mention support for JOINs or nested SELECT statements. &lt;/P&gt;
&lt;PRE&gt;UPDATE table1 
 SET table1.column1 = table2.column1,
     table1.column10 = table2.column10
 FROM table1, table2
 WHERE table1.columnID = table2.columnID
&lt;/PRE&gt;&lt;P&gt;After enabling &lt;EM&gt;transactional=true&lt;/EM&gt; on &lt;EM&gt;table1&lt;/EM&gt; the above produces an error:&lt;/P&gt;&lt;PRE&gt;Error while compiling statement: FAILED: ParseException ... missing EOF at 'FROM' ...&lt;/PRE&gt;</description>
      <pubDate>Tue, 26 Jan 2016 04:51:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-update-Hive-row-with-JOIN/m-p/110707#M16287</guid>
      <dc:creator>vzlatkin</dc:creator>
      <dc:date>2016-01-26T04:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to update Hive row with JOIN</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-update-Hive-row-with-JOIN/m-p/110708#M16288</link>
      <description>&lt;P&gt;This not supported and there is no efficient way to do this.  This will be handled once support for MERGE statement is added&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2016 05:02:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-update-Hive-row-with-JOIN/m-p/110708#M16288</guid>
      <dc:creator>ekoifman</dc:creator>
      <dc:date>2016-01-26T05:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to update Hive row with JOIN</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-update-Hive-row-with-JOIN/m-p/110709#M16289</link>
      <description>&lt;P&gt;Thanks.  I'll watch this JIRA for progress: &lt;A href="https://issues.apache.org/jira/browse/HIVE-10924" target="_blank"&gt;https://issues.apache.org/jira/browse/HIVE-10924&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2016 07:35:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-update-Hive-row-with-JOIN/m-p/110709#M16289</guid>
      <dc:creator>vzlatkin</dc:creator>
      <dc:date>2016-03-07T07:35:33Z</dc:date>
    </item>
  </channel>
</rss>

