[ https://issues.apache.org/jira/browse/HIVE-8181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14260381#comment-14260381 ]
Ashutosh Chauhan commented on HIVE-8181: ---------------------------------------- +1 > 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 > > > 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)