[ https://issues.apache.org/jira/browse/HIVE-20826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16680434#comment-16680434 ]
Hive QA commented on HIVE-20826: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12947307/HIVE-20826.3.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 10 failed/errored test(s), 15527 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[cbo_rp_limit] (batchId=171) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[explainuser_1] (batchId=167) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[optimize_join_ptp] (batchId=177) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[subquery_in] (batchId=175) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[subquery_views] (batchId=161) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[vector_mapjoin_reduce] (batchId=179) org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver[spark_explainuser_1] (batchId=190) org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[subquery_in] (batchId=139) org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[subquery_views] (batchId=116) org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[vector_mapjoin_reduce] (batchId=147) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/14816/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/14816/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-14816/ 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: 10 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12947307 - PreCommit-HIVE-Build > Enhance HiveSemiJoin rule to convert join + group by on left side to Left > Semi Join > ----------------------------------------------------------------------------------- > > Key: HIVE-20826 > URL: https://issues.apache.org/jira/browse/HIVE-20826 > Project: Hive > Issue Type: Improvement > Reporter: Vineet Garg > Assignee: Vineet Garg > Priority: Major > Attachments: HIVE-20826.1.patch, HIVE-20826.2.patch, > HIVE-20826.3.patch > > > Currently HiveSemiJoin rule looks for pattern where group by is on right side. > We can convert joins which have group by on left side (assuming group by keys > are same as join keys and none of the columns are being projected from left > side) to LEFT SEMI JOIN by swapping the inputs. e.g. queries such as: > {code:sql} > explain select pp.p_partkey from (select distinct p_name from part) p join > part pp on pp.p_name = p.p_name; > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)