[
https://issues.apache.org/jira/browse/HIVE-4913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13736264#comment-13736264
]
Hudson commented on HIVE-4913:
------------------------------
ABORTED: Integrated in Hive-trunk-hadoop2 #350 (See
[https://builds.apache.org/job/Hive-trunk-hadoop2/350/])
HIVE-4913 : Put deterministic ordering in the top-K ngrams output of UDF
context_ngrams() (Xuefu Zhang via Ashutosh Chauhan) (hashutosh:
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1512590)
*
/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/NGramEstimator.java
* /hive/trunk/ql/src/test/results/clientpositive/udaf_context_ngrams.q.out
> Put deterministic ordering in the top-K ngrams output of UDF context_ngrams()
> -----------------------------------------------------------------------------
>
> Key: HIVE-4913
> URL: https://issues.apache.org/jira/browse/HIVE-4913
> Project: Hive
> Issue Type: Improvement
> Components: UDF
> Affects Versions: 0.10.0, 0.11.0
> Reporter: Xuefu Zhang
> Assignee: Xuefu Zhang
> Priority: Minor
> Fix For: 0.12.0
>
> Attachments: HIVE-4913.patch, HIVE-4913.patch
>
>
> Currently UDF context_ngrams() output top-K ngrams in the order of descending
> frequency. When there are ties, i.e., phrases with same ngram value, the
> order is indeterministic. Tie breaker is needed to break the ties, so that
> the output is deterministic.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira