[ https://issues.apache.org/jira/browse/HIVE-8181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14262781#comment-14262781 ]
Navis commented on HIVE-8181: ----------------------------- [~gopalv] I think I've misunderstood the argument of theses functions. I thought (13,2,4,8589934592,4096,0) is index of a bitset, which is not. Scratch the patch. Sorry. > Upgrade JavaEWAH version to allow for unsorted bitset creation > -------------------------------------------------------------- > > Key: HIVE-8181 > URL: https://issues.apache.org/jira/browse/HIVE-8181 > Project: Hive > Issue Type: Bug > Components: UDF > Affects Versions: 0.14.0, 0.13.1 > Reporter: Gopal V > Assignee: Gopal V > Attachments: HIVE-8181.1.patch, HIVE-8181.2.patch.txt > > > JavaEWAH has removed the restriction that bitsets can only be set in order in > the latest release. > Currently the use of {{ewah_bitmap}} UDAF requires a {{SORT BY}}. > {code} > Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: > java.lang.RuntimeException: Can't set bits out of order with > EWAHCompressedBitmap > at > org.apache.hadoop.hive.ql.exec.GroupByOperator.processOp(GroupByOperator.java:824) > at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:474) > at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:800) > at > org.apache.hadoop.hive.ql.exec.SelectOperator.processOp(SelectOperator.java:84) > at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:474) > at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:800) > at > org.apache.hadoop.hive.ql.exec.ExtractOperator.processOp(ExtractOperator.java:45) > at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:474) > at > org.apache.hadoop.hive.ql.exec.ExecReducer.reduce(ExecReducer.java:249) > ... 7 more > Caused by: java.lang.RuntimeException: Can't set bits out of order with > EWAHCompressedBitmap > at > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)