You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by na...@apache.org on 2012/12/13 10:20:54 UTC

svn commit: r1421161 - /hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/stats/KeyVerifyingStatsAggregator.java

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;
   }