[ https://issues.apache.org/jira/browse/HIVE-22003?focusedWorklogId=280684&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-280684 ]
ASF GitHub Bot logged work on HIVE-22003: ----------------------------------------- Author: ASF GitHub Bot Created on: 22/Jul/19 23:05 Start Date: 22/Jul/19 23:05 Worklog Time Spent: 10m Work Description: vineetgarg02 commented on pull request #729: HIVE-22003 URL: https://github.com/apache/hive/pull/729#discussion_r306066881 ########## File path: ql/src/java/org/apache/hadoop/hive/ql/optimizer/SharedWorkOptimizer.java ########## @@ -486,6 +510,75 @@ private static boolean sharedWorkOptimization(ParseContext pctx, SharedWorkOptim return mergedExecuted; } + private static void replaceSemijoinExpressions(TableScanOperator tsOp, List<ExprNodeDesc> semijoinExprNodes) { Review comment: If I understand this correctly this is suppose to remove all semijoin related expressions from TS as well as its children filter op. Why is this method taking `retainableTsOp's` `semijoinExprNodes`? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 280684) Time Spent: 10m Remaining Estimate: 0h > Shared work optimizer may leave semijoin branches in plan that are not used > --------------------------------------------------------------------------- > > Key: HIVE-22003 > URL: https://issues.apache.org/jira/browse/HIVE-22003 > Project: Hive > Issue Type: Bug > Components: Physical Optimizer > Reporter: Jesus Camacho Rodriguez > Assignee: Jesus Camacho Rodriguez > Priority: Major > Labels: pull-request-available > Attachments: HIVE-22003.01.patch, HIVE-22003.01.patch, > HIVE-22003.patch > > Time Spent: 10m > Remaining Estimate: 0h > > This may happen only when the TS are the only operators that are shared. > Repro attached in q file. -- This message was sent by Atlassian JIRA (v7.6.14#76016)