<?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 how to increment the hive external table? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-increment-the-hive-external-table/m-p/149873#M24065</link>
    <description>&lt;P&gt;(1)I have created hive external table and data coming from netezza to hdfs &lt;/P&gt;&lt;P&gt;(2) everyday we have to incremental apend to this table as well as if any data is changed to base table then what to do?&lt;/P&gt;&lt;P&gt;I can apend as much I want but if any changed happen on base table for example few raw changed or few column changed then how I can increment works for me?&lt;/P&gt;&lt;P&gt;everyday I have to take same table from netezza and hdfs. most probably we can apend with data_date.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Mar 2016 20:49:46 GMT</pubDate>
    <dc:creator>vijaysvnit2005</dc:creator>
    <dc:date>2016-03-30T20:49:46Z</dc:date>
    <item>
      <title>how to increment the hive external table?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-increment-the-hive-external-table/m-p/149873#M24065</link>
      <description>&lt;P&gt;(1)I have created hive external table and data coming from netezza to hdfs &lt;/P&gt;&lt;P&gt;(2) everyday we have to incremental apend to this table as well as if any data is changed to base table then what to do?&lt;/P&gt;&lt;P&gt;I can apend as much I want but if any changed happen on base table for example few raw changed or few column changed then how I can increment works for me?&lt;/P&gt;&lt;P&gt;everyday I have to take same table from netezza and hdfs. most probably we can apend with data_date.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 20:49:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-increment-the-hive-external-table/m-p/149873#M24065</guid>
      <dc:creator>vijaysvnit2005</dc:creator>
      <dc:date>2016-03-30T20:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to increment the hive external table?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-increment-the-hive-external-table/m-p/149874#M24066</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/3144/vijaysvnit2005.html" nodeid="3144"&gt;@mike pal&lt;/A&gt;&lt;P&gt;The below link should cover your requirements.  It shows a strategy for incremental updates/ingest.  It also covers the scenario where base data may change:&lt;/P&gt;&lt;P&gt;&lt;A href="http://hortonworks.com/blog/four-step-strategy-incremental-updates-hive/" target="_blank"&gt;http://hortonworks.com/blog/four-step-strategy-incremental-updates-hive/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 21:09:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-increment-the-hive-external-table/m-p/149874#M24066</guid>
      <dc:creator>egarelnabi</dc:creator>
      <dc:date>2016-03-30T21:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to increment the hive external table?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-increment-the-hive-external-table/m-p/149875#M24067</link>
      <description>&lt;P&gt;1) New data is added &lt;/P&gt;&lt;P&gt;You can import data using Sqoop or Netezza loading unloading functions Sqoop provides delta loading by timestamp or id column ( any column that increments continuously&lt;/P&gt;&lt;P&gt;2) Old data is changed&lt;/P&gt;&lt;P&gt;Bigger problem, Hive has transactions but it is still very new. &lt;/P&gt;&lt;P&gt;2.1 Changed small dimension tables&lt;/P&gt;&lt;P&gt;A good approach is to just reload them. As long as they fall under a couple GB and you have a nightly period to do it.&lt;/P&gt;&lt;P&gt;2.2 Changes to big fact tables&lt;/P&gt;&lt;P&gt;Bigger problem. &lt;/P&gt;&lt;P&gt;- You can use Hive ACID transactions but as said they are still new&lt;/P&gt;&lt;P&gt;- Alternatively you would have to use a manual approach like adding a version column to your table and run your queries in a way that they use the newest one.&lt;/P&gt;&lt;P&gt;- Last possibility is to load the delta changes and then merge them into the existing table in HAdoop. While loading TB of data into a hadoop cluster can be a bottleneck re creating a table like that by joining old with new data is very fast since it is running in parallel in the cluster.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 21:43:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-increment-the-hive-external-table/m-p/149875#M24067</guid>
      <dc:creator>bleonhardi</dc:creator>
      <dc:date>2016-03-30T21:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to increment the hive external table?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-increment-the-hive-external-table/m-p/149876#M24068</link>
      <description>&lt;P&gt;Thanks a lot&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2016 01:45:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-increment-the-hive-external-table/m-p/149876#M24068</guid>
      <dc:creator>vijaysvnit2005</dc:creator>
      <dc:date>2016-03-31T01:45:26Z</dc:date>
    </item>
  </channel>
</rss>

