----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/12826/ -----------------------------------------------------------
Review request for hive. Bugs: HIVE-4913 https://issues.apache.org/jira/browse/HIVE-4913 Repository: hive-git Description ------- Patch add tie breaker when two entries have the same ngram. Diffs ----- metastore/src/model/package.jdo a84d2bf ql/src/java/org/apache/hadoop/hive/ql/udf/generic/NGramEstimator.java 0ef8fca ql/src/test/results/clientpositive/udaf_context_ngrams.q.out de2d395 Diff: https://reviews.apache.org/r/12826/diff/ Testing ------- Test udaf_context_ngrams.q fails when running on JDK7. With the patch, the test passes. Thanks, Xuefu Zhang