Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-9132 CBO: Calcite Operator To Hive Operator (Calcite Return Path)
  3. HIVE-11005

CBO: Calcite Operator To Hive Operator (Calcite Return Path) : Regression on the latest master

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to IssueMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • CBO
    • None

    Description

      Test cbo_join.q and cbo_views.q on return path failed. Part of the stack trace is

      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)
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jcamacho Jesús Camacho Rodríguez Assign to me
            pxiong Pengcheng Xiong
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment