Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.14.0
    • CBO
    • None

    Description

      Haven't looked at it yet, but an assertion fails:

        @Override
        public String getDisplayString(String[] children) {
          assert (children.length == 2);
      
      java.lang.AssertionError
      	at org.apache.hadoop.hive.ql.udf.generic.GenericUDFBaseNumeric.getDisplayString(GenericUDFBaseNumeric.java:297)
      	at org.apache.hadoop.hive.ql.plan.ExprNodeGenericFuncDesc.getExprString(ExprNodeGenericFuncDesc.java:157)
      	at org.apache.hadoop.hive.ql.plan.ExprNodeGenericFuncDesc.getExprString(ExprNodeGenericFuncDesc.java:154)
      	at org.apache.hadoop.hive.ql.optimizer.ppr.PartitionPruner.prune(PartitionPruner.java:194)
      	at org.apache.hadoop.hive.ql.optimizer.optiq.RelOptHiveTable.computePartitionList(RelOptHiveTable.java:185)
      	at org.apache.hadoop.hive.ql.optimizer.optiq.rules.HivePartitionPrunerRule.perform(HivePartitionPrunerRule.java:55)
      	at org.apache.hadoop.hive.ql.optimizer.optiq.rules.HivePartitionPrunerRule.onMatch(HivePartitionPrunerRule.java:43)
      	at org.eigenbase.relopt.AbstractRelOptPlanner.fireRule(AbstractRelOptPlanner.java:321)
      	at org.eigenbase.relopt.hep.HepPlanner.applyRule(HepPlanner.java:488)
      	at org.eigenbase.relopt.hep.HepPlanner.applyRules(HepPlanner.java:365)
      	at org.eigenbase.relopt.hep.HepPlanner.executeInstruction(HepPlanner.java:228)
      	at org.eigenbase.relopt.hep.HepInstruction$RuleInstance.execute(HepInstruction.java:118)
      	at org.eigenbase.relopt.hep.HepPlanner.executeProgram(HepPlanner.java:179)
      	at org.eigenbase.relopt.hep.HepPlanner.findBestExp(HepPlanner.java:166)
      	at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer$OptiqBasedPlanner.hepPlan(SemanticAnalyzer.java:12694)
      	at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer$OptiqBasedPlanner.applyPreCBOTransforms(SemanticAnalyzer.java:12652)
      	at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer$OptiqBasedPlanner.apply(SemanticAnalyzer.java:12597)
      	at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer$OptiqBasedPlanner.apply(SemanticAnalyzer.java:12504)
      	at net.hydromatic.optiq.tools.Frameworks$1.apply(Frameworks.java:113)
      	at net.hydromatic.optiq.prepare.OptiqPrepareImpl.perform(OptiqPrepareImpl.java:620)
      	at net.hydromatic.optiq.tools.Frameworks.withPrepare(Frameworks.java:151)
      	at net.hydromatic.optiq.tools.Frameworks.withPlanner(Frameworks.java:109)
      	at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer$OptiqBasedPlanner.getOptimizedAST(SemanticAnalyzer.java:12524)
      	at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer$OptiqBasedPlanner.access$400(SemanticAnalyzer.java:12504)
      	at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.analyzeInternal(SemanticAnalyzer.java:10034)
      	at org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.analyze(BaseSemanticAnalyzer.java:221)
      	at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:419)
      	at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:305)
      	at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:1106)
      	at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1168)
      	at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1043)
      	at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1033)
      

      Attachments

        1. HIVE-8662.patch
          6 kB
          Sergey Shelukhin

        Activity

          People

            sershe Sergey Shelukhin
            sershe Sergey Shelukhin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: