<?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 Count(*) not working on  Hbase mapped Hive Table in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Count-not-working-on-Hbase-mapped-Hive-Table/m-p/241577#M203380</link>
    <description>&lt;P&gt;I've a Hbase mapped Hive table which retrieves rows when I run &lt;/P&gt;&lt;PRE&gt;select * from my_table;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="109009-capture.png" style="width: 981px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/13701iB22FBBCA940D872D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="109009-capture.png" alt="109009-capture.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But when I execute &lt;/P&gt;&lt;PRE&gt;select count(*) from my_table; &lt;/PRE&gt;&lt;P&gt;the output is 0.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="109081-capture.png" style="width: 985px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/13702iEC687AF458D1F33A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="109081-capture.png" alt="109081-capture.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;What must be the issue in this case ?&lt;/P&gt;</description>
    <pubDate>Sat, 17 Aug 2019 22:11:32 GMT</pubDate>
    <dc:creator>prathamesh_h</dc:creator>
    <dc:date>2019-08-17T22:11:32Z</dc:date>
    <item>
      <title>Count(*) not working on  Hbase mapped Hive Table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Count-not-working-on-Hbase-mapped-Hive-Table/m-p/241577#M203380</link>
      <description>&lt;P&gt;I've a Hbase mapped Hive table which retrieves rows when I run &lt;/P&gt;&lt;PRE&gt;select * from my_table;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="109009-capture.png" style="width: 981px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/13701iB22FBBCA940D872D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="109009-capture.png" alt="109009-capture.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But when I execute &lt;/P&gt;&lt;PRE&gt;select count(*) from my_table; &lt;/PRE&gt;&lt;P&gt;the output is 0.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="109081-capture.png" style="width: 985px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/13702iEC687AF458D1F33A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="109081-capture.png" alt="109081-capture.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;What must be the issue in this case ?&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2019 22:11:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Count-not-working-on-Hbase-mapped-Hive-Table/m-p/241577#M203380</guid>
      <dc:creator>prathamesh_h</dc:creator>
      <dc:date>2019-08-17T22:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Count(*) not working on  Hbase mapped Hive Table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Count-not-working-on-Hbase-mapped-Hive-Table/m-p/241578#M203381</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/78488/prathameshhanamghar7.html"&gt;@Prathamesh H&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Instead of select &lt;STRONG&gt;count(*)&lt;/STRONG&gt; use&lt;/P&gt;&lt;PRE&gt;select count(&amp;lt;column_name&amp;gt;) from my_table;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;this command will display number of rows in the hive-hbase table.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;If the answer is helpful to &lt;STRONG&gt;resolve the issue&lt;/STRONG&gt;, Click on &lt;STRONG&gt;Accept&lt;/STRONG&gt; button below to close this thread.This will help other community users to find answers quickly :-).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Jun 2019 22:42:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Count-not-working-on-Hbase-mapped-Hive-Table/m-p/241578#M203381</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2019-06-01T22:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: Count(*) not working on  Hbase mapped Hive Table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Count-not-working-on-Hbase-mapped-Hive-Table/m-p/241579#M203382</link>
      <description>&lt;P&gt;The above querstion and the entire reply thread below was originally posted in the &lt;A href="https://community.hortonworks.com/spaces/101/index.html"&gt;Community Help Track&lt;/A&gt;. On Tue Jun 4 03:55 UTC 2019, a member of the HCC moderation staff moved it to the &lt;A href="https://community.hortonworks.com/spaces/66/index.html"&gt;Data Processing&lt;/A&gt; track. The &lt;EM&gt;Community Help Track&lt;/EM&gt; is intended for questions about using the HCC site itself.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2019 10:56:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Count-not-working-on-Hbase-mapped-Hive-Table/m-p/241579#M203382</guid>
      <dc:creator>ask_bill_brooks</dc:creator>
      <dc:date>2019-06-04T10:56:19Z</dc:date>
    </item>
  </channel>
</rss>

