You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Jesus Camacho Rodriguez (JIRA)" <ji...@apache.org> on 2015/06/16 13:30:00 UTC

[jira] [Commented] (HIVE-11005) CBO: Calcite Operator To Hive Operator (Calcite Return Path) : Regression on the latest master

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

Jesus Camacho Rodriguez commented on HIVE-11005:
------------------------------------------------

These issues should be solved when HIVE-10533 goes in.

> CBO: Calcite Operator To Hive Operator (Calcite Return Path) : Regression on the latest master
> ----------------------------------------------------------------------------------------------
>
>                 Key: HIVE-11005
>                 URL: https://issues.apache.org/jira/browse/HIVE-11005
>             Project: Hive
>          Issue Type: Sub-task
>          Components: CBO
>            Reporter: Pengcheng Xiong
>            Assignee: Jesus Camacho Rodriguez
>
> Test cbo_join.q and cbo_views.q on return path failed. Part of the stack trace is 
> {code}
> 2015-06-15 09:51:53,377 ERROR [main]: parse.CalcitePlanner (CalcitePlanner.java:genOPTree(282)) - CBO failed, skipping CBO.
> java.lang.IndexOutOfBoundsException: index (0) must be less than size (0)
>         at com.google.common.base.Preconditions.checkElementIndex(Preconditions.java:305)
>         at com.google.common.base.Preconditions.checkElementIndex(Preconditions.java:284)
>         at com.google.common.collect.EmptyImmutableList.get(EmptyImmutableList.java:80)
>         at org.apache.hadoop.hive.ql.optimizer.calcite.rules.HiveInsertExchange4JoinRule.onMatch(HiveInsertExchange4JoinRule.java:101)
>         at org.apache.calcite.plan.AbstractRelOptPlanner.fireRule(AbstractRelOptPlanner.java:326)
>         at org.apache.calcite.plan.hep.HepPlanner.applyRule(HepPlanner.java:515)
>         at org.apache.calcite.plan.hep.HepPlanner.applyRules(HepPlanner.java:392)
>         at org.apache.calcite.plan.hep.HepPlanner.executeInstruction(HepPlanner.java:255)
>         at org.apache.calcite.plan.hep.HepInstruction$RuleInstance.execute(HepInstruction.java:125)
>         at org.apache.calcite.plan.hep.HepPlanner.executeProgram(HepPlanner.java:207)
>         at org.apache.calcite.plan.hep.HepPlanner.findBestExp(HepPlanner.java:194)
>         at org.apache.hadoop.hive.ql.parse.CalcitePlanner$CalcitePlannerAction.apply(CalcitePlanner.java:888)
>         at org.apache.hadoop.hive.ql.parse.CalcitePlanner$CalcitePlannerAction.apply(CalcitePlanner.java:771)
>         at org.apache.calcite.tools.Frameworks$1.apply(Frameworks.java:109)
>         at org.apache.calcite.prepare.CalcitePrepareImpl.perform(CalcitePrepareImpl.java:876)
>         at org.apache.calcite.tools.Frameworks.withPrepare(Frameworks.java:145)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)