hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From na...@apache.org
Subject svn commit: r1421161 - /hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/stats/KeyVerifyingStatsAggregator.java
Date Thu, 13 Dec 2012 09:20:54 GMT
Author: namit
Date: Thu Dec 13 09:20:53 2012
New Revision: 1421161

URL: http://svn.apache.org/viewvc?rev=1421161&view=rev
Log:
HIVE-3783 stats19.q is failing on trunk
(Kevin Wilfong via namit)


Modified:
    hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/stats/KeyVerifyingStatsAggregator.java

Modified: hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/stats/KeyVerifyingStatsAggregator.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/stats/KeyVerifyingStatsAggregator.java?rev=1421161&r1=1421160&r2=1421161&view=diff
==============================================================================
--- hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/stats/KeyVerifyingStatsAggregator.java
(original)
+++ hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/stats/KeyVerifyingStatsAggregator.java
Thu Dec 13 09:20:53 2012
@@ -37,7 +37,8 @@ public class KeyVerifyingStatsAggregator
     SessionState ss = SessionState.get();
     // Have to use the length instead of the actual prefix because the prefix is location
dependent
     // 17 is 16 (16 byte MD5 hash) + 1 for the path separator
-    ss.out.println("Stats prefix is hashed: " + new Boolean(keyPrefix.length() == 17));
+    // Can be less than 17 due to unicode characters
+    ss.out.println("Stats prefix is hashed: " + new Boolean(keyPrefix.length() <= 17));
     return null;
   }
 



Mime
View raw message