[ 
https://issues.apache.org/jira/browse/HIVE-1215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12841591#action_12841591
 ] 

John Sichi commented on HIVE-1215:
----------------------------------

We have tests for such queries, and we enable assertions in the junit ant task, 
but we do not seem to be enabling assertions for the forked JVM's which execute 
the plan.  We should find a way to address this in order to get more coverage 
for assertions (and also to expose any more bogus ones).


> bogus assertion in GroupByOperator.initializeOp
> -----------------------------------------------
>
>                 Key: HIVE-1215
>                 URL: https://issues.apache.org/jira/browse/HIVE-1215
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.5.0
>            Reporter: John Sichi
>             Fix For: 0.6.0
>
>
> export HADOOP_OPTS="-ea"
> and then run the following query in Hive:
> select count(1) from pokes;
> This causes an assertion failure:
> Caused by: java.lang.AssertionError
>       at 
> org.apache.hadoop.hive.ql.exec.GroupByOperator.initializeOp(GroupByOperator.java:161)
>       at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:344)
>       at 
> org.apache.hadoop.hive.ql.exec.ExecReducer.configure(ExecReducer.java:143)
>       ... 10 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to