<?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: hive incremental updates in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-incremental-updates/m-p/229870#M64157</link>
    <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/16265/abhidocstore.html" nodeid="16265"&gt;@Abhijeet Rajput&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Previous to HDP 2.6 you'll need to use the solution outlined in #2.  HDP 2.6 includes Hive MERGE so you can now create a staging table and execute a MERGE statement against an ACID enabled table. &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>Mon, 03 Jul 2017 23:45:01 GMT</pubDate>
    <dc:creator>SQLShaw</dc:creator>
    <dc:date>2017-07-03T23:45:01Z</dc:date>
    <item>
      <title>hive incremental updates</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-incremental-updates/m-p/229869#M64156</link>
      <description>&lt;P&gt;I wanted to get the suggestion on the incremental strategy for tables be implemented : 
We have set of source table which are getting refreshed on the daily basis in the source ( DB2 )
and we need to refresh then in hive db as well, which approach will you suggest.&lt;/P&gt;&lt;P&gt;Source table have new inserts as well as updates to existing records;&lt;/P&gt;&lt;P&gt;1) approach 1: USe Hbase to store the data since updates are allowed and build hive external table referring to the same
   I doubt if this will affect queries using the joins for hive-hbase table with large ORC hive tables? &lt;/P&gt;&lt;P&gt;2) approach 2 : USe 4 step incremental table approach suggested by HDP ? 
&lt;A href="https://hortonworks.com/blog/four-step-strategy-incremental-updates-hive/" target="_blank"&gt;https://hortonworks.com/blog/four-step-strategy-incremental-updates-hive/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2017 08:37:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-incremental-updates/m-p/229869#M64156</guid>
      <dc:creator>Freakabhi</dc:creator>
      <dc:date>2017-07-03T08:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: hive incremental updates</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-incremental-updates/m-p/229870#M64157</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/16265/abhidocstore.html" nodeid="16265"&gt;@Abhijeet Rajput&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Previous to HDP 2.6 you'll need to use the solution outlined in #2.  HDP 2.6 includes Hive MERGE so you can now create a staging table and execute a MERGE statement against an ACID enabled table. &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>Mon, 03 Jul 2017 23:45:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-incremental-updates/m-p/229870#M64157</guid>
      <dc:creator>SQLShaw</dc:creator>
      <dc:date>2017-07-03T23:45:01Z</dc:date>
    </item>
  </channel>
</rss>

