<?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: Can we create a external table in Hive  with HBase Handler with store as AVRO in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-create-a-external-table-in-Hive-with-HBase-Handler/m-p/208332#M69112</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/39249/gayathrimtechcse.html" nodeid="39249"&gt;@Gayathri Devi&lt;/A&gt;, We &lt;STRONG&gt;cannot&lt;/STRONG&gt; create &lt;STRONG&gt;Hive-Hbase&lt;/STRONG&gt; table in &lt;STRONG&gt;Avro&lt;/STRONG&gt; format.&lt;/P&gt;&lt;P&gt;As&lt;STRONG&gt; Hive&lt;/STRONG&gt; is just a &lt;STRONG&gt;wrapper&lt;/STRONG&gt; on top of &lt;STRONG&gt;HBase&lt;/STRONG&gt; table. &lt;STRONG&gt;HBase&lt;/STRONG&gt; having &lt;STRONG&gt;all the data&lt;/STRONG&gt; got stored and we are mapping fields to&lt;STRONG&gt; Hive&lt;/STRONG&gt; table and just exposing data in &lt;STRONG&gt;Structured&lt;/STRONG&gt; manner from Hive.&lt;/P&gt;&lt;P&gt;If you want to create &lt;STRONG&gt;Avro (or) orc&lt;/STRONG&gt; format table then you can prepare a snapshot table and use them for your needs.&lt;/P&gt;&lt;PRE&gt;Create table default.avro_table stored as avro as select * from hive_hbase_tablename;&lt;/PRE&gt;&lt;PRE&gt;Create table default.orc_table stored as orc as select * from hive_hbase_tablename;&lt;/PRE&gt;&lt;P&gt;In this way you can create &lt;STRONG&gt;Avro (or) orc&lt;/STRONG&gt; tables for &lt;STRONG&gt;Hive-Hbase&lt;/STRONG&gt; tables and you can use &lt;STRONG&gt;where&lt;/STRONG&gt; clause to get only the required data from hive_hbase_table.&lt;/P&gt;</description>
    <pubDate>Fri, 06 Oct 2017 09:34:09 GMT</pubDate>
    <dc:creator>Shu_ashu</dc:creator>
    <dc:date>2017-10-06T09:34:09Z</dc:date>
    <item>
      <title>Can we create a external table in Hive  with HBase Handler with store as AVRO</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-create-a-external-table-in-Hive-with-HBase-Handler/m-p/208331#M69111</link>
      <description />
      <pubDate>Fri, 06 Oct 2017 09:18:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-create-a-external-table-in-Hive-with-HBase-Handler/m-p/208331#M69111</guid>
      <dc:creator>Gayathridevi</dc:creator>
      <dc:date>2017-10-06T09:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Can we create a external table in Hive  with HBase Handler with store as AVRO</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-create-a-external-table-in-Hive-with-HBase-Handler/m-p/208332#M69112</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/39249/gayathrimtechcse.html" nodeid="39249"&gt;@Gayathri Devi&lt;/A&gt;, We &lt;STRONG&gt;cannot&lt;/STRONG&gt; create &lt;STRONG&gt;Hive-Hbase&lt;/STRONG&gt; table in &lt;STRONG&gt;Avro&lt;/STRONG&gt; format.&lt;/P&gt;&lt;P&gt;As&lt;STRONG&gt; Hive&lt;/STRONG&gt; is just a &lt;STRONG&gt;wrapper&lt;/STRONG&gt; on top of &lt;STRONG&gt;HBase&lt;/STRONG&gt; table. &lt;STRONG&gt;HBase&lt;/STRONG&gt; having &lt;STRONG&gt;all the data&lt;/STRONG&gt; got stored and we are mapping fields to&lt;STRONG&gt; Hive&lt;/STRONG&gt; table and just exposing data in &lt;STRONG&gt;Structured&lt;/STRONG&gt; manner from Hive.&lt;/P&gt;&lt;P&gt;If you want to create &lt;STRONG&gt;Avro (or) orc&lt;/STRONG&gt; format table then you can prepare a snapshot table and use them for your needs.&lt;/P&gt;&lt;PRE&gt;Create table default.avro_table stored as avro as select * from hive_hbase_tablename;&lt;/PRE&gt;&lt;PRE&gt;Create table default.orc_table stored as orc as select * from hive_hbase_tablename;&lt;/PRE&gt;&lt;P&gt;In this way you can create &lt;STRONG&gt;Avro (or) orc&lt;/STRONG&gt; tables for &lt;STRONG&gt;Hive-Hbase&lt;/STRONG&gt; tables and you can use &lt;STRONG&gt;where&lt;/STRONG&gt; clause to get only the required data from hive_hbase_table.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2017 09:34:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-create-a-external-table-in-Hive-with-HBase-Handler/m-p/208332#M69112</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2017-10-06T09:34:09Z</dc:date>
    </item>
  </channel>
</rss>

