<?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 Hive Compute Statistics not showing any statistics while describe table in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Hive-Compute-Statistics-not-showing-any-statistics-while/m-p/207299#M169260</link>
    <description>&lt;P&gt;Trying to see statistics on a particular column. I executed the ANALYZE command first and then tried to see the stats by DESCRIBE FORMATTED &amp;lt;table_name&amp;gt; &amp;lt;col_name&amp;gt;. I cant see any values in this. Any idea why its not showing any values?&lt;/P&gt;&lt;P&gt;I tried MSCK and analyzed the table again and checked for stats. No luck so far.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;</description>
    <pubDate>Fri, 05 Oct 2018 00:44:58 GMT</pubDate>
    <dc:creator>anilpallickal</dc:creator>
    <dc:date>2018-10-05T00:44:58Z</dc:date>
    <item>
      <title>Hive Compute Statistics not showing any statistics while describe table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Compute-Statistics-not-showing-any-statistics-while/m-p/207299#M169260</link>
      <description>&lt;P&gt;Trying to see statistics on a particular column. I executed the ANALYZE command first and then tried to see the stats by DESCRIBE FORMATTED &amp;lt;table_name&amp;gt; &amp;lt;col_name&amp;gt;. I cant see any values in this. Any idea why its not showing any values?&lt;/P&gt;&lt;P&gt;I tried MSCK and analyzed the table again and checked for stats. No luck so far.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 00:44:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Compute-Statistics-not-showing-any-statistics-while/m-p/207299#M169260</guid>
      <dc:creator>anilpallickal</dc:creator>
      <dc:date>2018-10-05T00:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Compute Statistics not showing any statistics while describe table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Compute-Statistics-not-showing-any-statistics-while/m-p/207300#M169261</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/98223/anilpallickal.html" nodeid="98223"&gt;@Anil Varghese&lt;/A&gt;&lt;P&gt;I suspect that the table is partitioned because of which the "describe formatted" does not show any stats related information.&lt;/P&gt;&lt;P&gt;Try running "describe extended" for particular partition spec.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 16:40:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Compute-Statistics-not-showing-any-statistics-while/m-p/207300#M169261</guid>
      <dc:creator>ssubhas</dc:creator>
      <dc:date>2018-10-05T16:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Compute Statistics not showing any statistics while describe table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Compute-Statistics-not-showing-any-statistics-while/m-p/207301#M169262</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/5019/ssubhas.html" nodeid="5019"&gt;@Sindhu&lt;/A&gt;, Thanks for the reply. &lt;/P&gt;&lt;P&gt;I tried the same and it wont return any values. But the compute statistics command worked fine though &lt;/P&gt;&lt;PRE&gt;hive&amp;gt; analyze table testdb.table partition(data_dt) compute statistics for columns order_dispatch_diff;
Query ID = anil_20181004181226_ed6afd54-fed8-4601-8b54-29214a8dbfc3
Total jobs = 1
Launching Job 1 out of 1
Status: Running (Executing on YARN cluster with App id application_1537195062060_1102639)
--------------------------------------------------------------------------------
        VERTICES      STATUS  TOTAL  COMPLETED  RUNNING  PENDING  FAILED  KILLED
--------------------------------------------------------------------------------
Map 1 ..........   SUCCEEDED     62         62        0        0       0       0
Reducer 2 ......   SUCCEEDED      1          1        0        0       0       0
--------------------------------------------------------------------------------
VERTICES: 02/02  [==========================&amp;gt;&amp;gt;] 100%  ELAPSED TIME: 101.08 s
--------------------------------------------------------------------------------
OK
Time taken: 108.142 seconds
hive&amp;gt; desc extended testdb.table order_dispatch_diff;
OK
order_dispatch_diff     int                     from deserializer
Time taken: 0.041 seconds, Fetched: 1 row(s)&lt;/PRE&gt;</description>
      <pubDate>Fri, 05 Oct 2018 22:58:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Compute-Statistics-not-showing-any-statistics-while/m-p/207301#M169262</guid>
      <dc:creator>anilpallickal</dc:creator>
      <dc:date>2018-10-05T22:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Compute Statistics not showing any statistics while describe table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Compute-Statistics-not-showing-any-statistics-while/m-p/207302#M169263</link>
      <description>&lt;P&gt;Yes, second that, observing the same behaviour surprisingly. &lt;/P&gt;&lt;P&gt;desc formatted/extended shows no values for the column stats for the partition even after analyse. Is this a reported bug?&lt;/P&gt;</description>
      <pubDate>Sat, 06 Oct 2018 17:31:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Compute-Statistics-not-showing-any-statistics-while/m-p/207302#M169263</guid>
      <dc:creator>pranavsinghania</dc:creator>
      <dc:date>2018-10-06T17:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Compute Statistics not showing any statistics while describe table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Compute-Statistics-not-showing-any-statistics-while/m-p/207303#M169264</link>
      <description>&lt;PRE&gt;Below Statement worked for me finally .

hive&amp;gt; desc formatted testdb.table col_name partition (data_dt='20180715');&lt;/PRE&gt;</description>
      <pubDate>Sat, 13 Oct 2018 03:41:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Compute-Statistics-not-showing-any-statistics-while/m-p/207303#M169264</guid>
      <dc:creator>anilpallickal</dc:creator>
      <dc:date>2018-10-13T03:41:45Z</dc:date>
    </item>
  </channel>
</rss>

