[ https://issues.apache.org/jira/browse/HIVE-21799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16857478#comment-16857478 ]
Hive QA commented on HIVE-21799: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12970958/HIVE-21799.5.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 16080 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.llap.cache.TestBuddyAllocator.testMTT[2] (batchId=348) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/17448/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/17448/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-17448/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.YetusPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 1 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12970958 - PreCommit-HIVE-Build > NullPointerException in DynamicPartitionPruningOptimization, when join key is > on aggregation column > --------------------------------------------------------------------------------------------------- > > Key: HIVE-21799 > URL: https://issues.apache.org/jira/browse/HIVE-21799 > Project: Hive > Issue Type: Bug > Components: Query Planning > Reporter: Jason Dere > Assignee: Jason Dere > Priority: Major > Attachments: HIVE-21799.1.patch, HIVE-21799.2.patch, > HIVE-21799.3.patch, HIVE-21799.4.patch, HIVE-21799.5.patch > > > Following table/query results in NPE: > {noformat} > create table tez_no_dynpart_hashjoin_on_agg(id int, outcome string, eventid > int) stored as orc; > explain select a.id, b.outcome from (select id, max(eventid) as event_id_max > from tez_no_dynpart_hashjoin_on_agg group by id) a > LEFT OUTER JOIN tez_no_dynpart_hashjoin_on_agg b > on a.event_id_max = b.eventid; > {noformat} > Stack trace: > {noformat} > java.lang.NullPointerException > at > org.apache.hadoop.hive.ql.optimizer.DynamicPartitionPruningOptimization.generateSemiJoinOperatorPlan(DynamicPartitionPruningOptimization.java:608) > at > org.apache.hadoop.hive.ql.optimizer.DynamicPartitionPruningOptimization.process(DynamicPartitionPruningOptimization.java:239) > at > org.apache.hadoop.hive.ql.lib.DefaultRuleDispatcher.dispatch(DefaultRuleDispatcher.java:90) > at > org.apache.hadoop.hive.ql.lib.DefaultGraphWalker.dispatchAndReturn(DefaultGraphWalker.java:105) > at > org.apache.hadoop.hive.ql.lib.DefaultGraphWalker.dispatch(DefaultGraphWalker.java:89) > at > org.apache.hadoop.hive.ql.lib.ForwardWalker.walk(ForwardWalker.java:74) > at > org.apache.hadoop.hive.ql.lib.DefaultGraphWalker.startWalking(DefaultGraphWalker.java:120) > at > org.apache.hadoop.hive.ql.parse.TezCompiler.runDynamicPartitionPruning(TezCompiler.java:584) > at > org.apache.hadoop.hive.ql.parse.TezCompiler.optimizeOperatorPlan(TezCompiler.java:165) > at > org.apache.hadoop.hive.ql.parse.TaskCompiler.compile(TaskCompiler.java:159) > at > org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.analyzeInternal(SemanticAnalyzer.java:12562) > at > org.apache.hadoop.hive.ql.parse.CalcitePlanner.analyzeInternal(CalcitePlanner.java:370) > at > org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.analyze(BaseSemanticAnalyzer.java:289) > at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:671) > at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:1905) > at > org.apache.hadoop.hive.ql.Driver.compileAndRespond(Driver.java:1852) > at > org.apache.hadoop.hive.ql.Driver.compileAndRespond(Driver.java:1847) > at > org.apache.hadoop.hive.ql.reexec.ReExecDriver.compileAndRespond(ReExecDriver.java:126) > at > org.apache.hadoop.hive.ql.reexec.ReExecDriver.run(ReExecDriver.java:219) > at > org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:242) > at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:189) > at > org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:408) > at > org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:340) > at > org.apache.hadoop.hive.ql.QTestUtil.executeClientInternal(QTestUtil.java:676) > at > org.apache.hadoop.hive.ql.QTestUtil.executeClient(QTestUtil.java:647) > at > org.apache.hadoop.hive.cli.control.CoreCliDriver.runTest(CoreCliDriver.java:182) > at > org.apache.hadoop.hive.cli.control.CliAdapter.runTest(CliAdapter.java:104) > at > org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver(TestMiniLlapLocalCliDriver.java:59) > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)