Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hive >> mail # dev >> Review Request: Column stats : LOW_VALUE (or HIGH_VALUE) will always be 0.0000 , if all the column values larger than 0.0 (or if all column values smaller than 0.0)


+
Zhuoluo Yang 2013-05-15, 07:10
+
Zhuoluo Yang 2013-05-15, 07:11
+
Ashutosh Chauhan 2013-06-01, 21:57
+
Zhuoluo Yang 2013-06-03, 02:48
+
Zhuoluo Yang 2013-06-03, 03:04
+
Zhuoluo Yang 2013-06-03, 04:46
+
Shreepadma Venugopalan 2013-06-04, 00:54
+
Zhuoluo Yang 2013-06-04, 13:41
Copy link to this message
-
Re: Review Request: Column stats : LOW_VALUE (or HIGH_VALUE) will always be 0.0000 , if all the column values larger than 0.0 (or if all column values smaller than 0.0)

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/11172/
-----------------------------------------------------------

(Updated June 5, 2013, 2:06 p.m.)
Review request for hive, Carl Steinbach, Carl Steinbach, Ashutosh Chauhan, Shreepadma Venugopalan, and fangkun cao.
Changes
-------

Like GenericUDAFMax/GenericUDAFMin, it returns null for high/low value.
Description
-------

An initialization error.
Make double and long initialize correctly.
Would you review that and assign the issue to me?
This addresses bug HIVE-4561.
    https://issues.apache.org/jira/browse/HIVE-4561
Diffs (updated)
-----

  http://svn.apache.org/repos/asf/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFComputeStats.java 1489292
  http://svn.apache.org/repos/asf/hive/trunk/ql/src/test/results/clientpositive/compute_stats_empty_table.q.out 1489292
  http://svn.apache.org/repos/asf/hive/trunk/ql/src/test/results/clientpositive/compute_stats_long.q.out 1489292

Diff: https://reviews.apache.org/r/11172/diff/
Testing
-------

ant test -Dtestcase=TestCliDriver -Dqfile=compute_stats_long.q
ant test -Dtestcase=TestCliDriver -Dqfile=compute_stats_double.q

done.
Thanks,

Zhuoluo Yang

+
Ashutosh Chauhan 2013-06-05, 14:11
+
Shreepadma Venugopalan 2013-06-04, 23:09
+
Shreepadma Venugopalan 2013-06-05, 00:00