hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xu...@apache.org
Subject svn commit: r1635309 - /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/StatObjectConverter.java
Date Wed, 29 Oct 2014 21:38:02 GMT
Author: xuefu
Date: Wed Oct 29 21:38:01 2014
New Revision: 1635309

URL: http://svn.apache.org/r1635309
Log:
HIVE-8627: Compute stats on a table from impala caused the table to be corrupted (Na via Xuefu)

Modified:
    hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/StatObjectConverter.java

Modified: hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/StatObjectConverter.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/StatObjectConverter.java?rev=1635309&r1=1635308&r2=1635309&view=diff
==============================================================================
--- hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/StatObjectConverter.java
(original)
+++ hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/StatObjectConverter.java
Wed Oct 29 21:38:01 2014
@@ -417,6 +417,7 @@ public class StatObjectConverter {
   public static void fillColumnStatisticsData(String colType, ColumnStatisticsData data,
       Object llow, Object lhigh, Object dlow, Object dhigh, Object declow, Object dechigh,
       Object nulls, Object dist, Object avglen, Object maxlen, Object trues, Object falses)
throws MetaException {
+    colType = colType.toLowerCase();
     if (colType.equals("boolean")) {
       BooleanColumnStatsData boolStats = new BooleanColumnStatsData();
       boolStats.setNumFalses(extractSqlLong(falses));



Mime
View raw message