<?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 get counts of rows meeting different filter criteria from hive in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/get-counts-of-rows-meeting-different-filter-criteria-from/m-p/287914#M213320</link>
    <description>&lt;P&gt;What is the most efficient way to get count of records meeting different search criteria from a Hive table.&lt;/P&gt;
&lt;P&gt;1. count all records where column-a = Null&lt;/P&gt;
&lt;P&gt;2. count all records where column-b in [1, 3, 5]&lt;/P&gt;
&lt;P&gt;3. count all records where column-c = 'xxx'&lt;/P&gt;
&lt;P&gt;etc.&lt;/P&gt;
&lt;P&gt;there are a couple hundred of these counts, in groups of 3 or 4.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 19 Jan 2020 13:43:48 GMT</pubDate>
    <dc:creator>ChineduLB</dc:creator>
    <dc:date>2020-01-19T13:43:48Z</dc:date>
    <item>
      <title>get counts of rows meeting different filter criteria from hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/get-counts-of-rows-meeting-different-filter-criteria-from/m-p/287914#M213320</link>
      <description>&lt;P&gt;What is the most efficient way to get count of records meeting different search criteria from a Hive table.&lt;/P&gt;
&lt;P&gt;1. count all records where column-a = Null&lt;/P&gt;
&lt;P&gt;2. count all records where column-b in [1, 3, 5]&lt;/P&gt;
&lt;P&gt;3. count all records where column-c = 'xxx'&lt;/P&gt;
&lt;P&gt;etc.&lt;/P&gt;
&lt;P&gt;there are a couple hundred of these counts, in groups of 3 or 4.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Jan 2020 13:43:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/get-counts-of-rows-meeting-different-filter-criteria-from/m-p/287914#M213320</guid>
      <dc:creator>ChineduLB</dc:creator>
      <dc:date>2020-01-19T13:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: get counts of rows meeting different filter criteria from hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/get-counts-of-rows-meeting-different-filter-criteria-from/m-p/287955#M213347</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/32170"&gt;@ChineduLB&lt;/a&gt;&amp;nbsp;What is your exact Query? You can write count Queries SQL for Hive table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In general you can refer below articles:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.cloudera.com/HDPDocuments/HDP3/HDP-3.1.0/performance-tuning/content/hive_prepare_to_tune_performance.html" target="_blank"&gt;https://docs.cloudera.com/HDPDocuments/HDP3/HDP-3.1.0/performance-tuning/content/hive_prepare_to_tune_performance.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.qubole.com/blog/5-tips-for-efficient-hive-queries/" target="_blank"&gt;https://www.qubole.com/blog/5-tips-for-efficient-hive-queries/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Tamil Selvan K&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2020 11:17:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/get-counts-of-rows-meeting-different-filter-criteria-from/m-p/287955#M213347</guid>
      <dc:creator>tsk</dc:creator>
      <dc:date>2020-01-20T11:17:34Z</dc:date>
    </item>
  </channel>
</rss>

