hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Dere" <jd...@hortonworks.com>
Subject Re: Review Request 32901: HIVE-10226 Column stats for Date columns not supported
Date Tue, 07 Apr 2015 22:05:08 GMT

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

(Updated April 7, 2015, 10:05 p.m.)


Review request for hive, Ashutosh Chauhan and Prasanth_J.


Changes
-------

Check for null values in Date/Decimal versions of MetaDataFormatUtils.convertToString()


Bugs: HIVE-10226
    https://issues.apache.org/jira/browse/HIVE-10226


Repository: hive-git


Description
-------

Re-use the long stats for Date column stats, using the days since epoch value as the long
value.


Diffs (updated)
-----

  metastore/if/hive_metastore.thrift 57bce0c 
  metastore/src/model/org/apache/hadoop/hive/metastore/model/MPartitionColumnStatistics.java
1666dc3 
  metastore/src/model/org/apache/hadoop/hive/metastore/model/MTableColumnStatistics.java bce9f0f

  ql/src/java/org/apache/hadoop/hive/ql/exec/ColumnStatsTask.java 0c46b00 
  ql/src/java/org/apache/hadoop/hive/ql/exec/ColumnStatsUpdateTask.java b85282c 
  ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/MetaDataFormatUtils.java 1662696

  ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFComputeStats.java 363039b 
  ql/src/test/queries/clientpositive/compute_stats_date.q PRE-CREATION 
  ql/src/test/results/clientpositive/compute_stats_date.q.out PRE-CREATION 

Diff: https://reviews.apache.org/r/32901/diff/


Testing
-------


Thanks,

Jason Dere


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message