hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Work logged] (HIVE-22003) Shared work optimizer may leave semijoin branches in plan that are not used
Date Mon, 22 Jul 2019 23:16:00 GMT

     [ https://issues.apache.org/jira/browse/HIVE-22003?focusedWorklogId=280690&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-280690
]

ASF GitHub Bot logged work on HIVE-22003:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 22/Jul/19 23:15
            Start Date: 22/Jul/19 23:15
    Worklog Time Spent: 10m 
      Work Description: jcamachor commented on pull request #729: HIVE-22003
URL: https://github.com/apache/hive/pull/729#discussion_r306070882
 
 

 ##########
 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:
   We are merging the discardable TS into the retainable TS. We remove the SJ expressions
from the discardable TS since we are about to remove it from the operator tree (we preserve
the rest of filter expressions without SJ expressions from this branch + the expressions with
SJ coming from other branch so we can add them to the Filter operator on top of the TS).
 
----------------------------------------------------------------
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:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 280690)
    Time Spent: 40m  (was: 0.5h)

> 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: 40m
>  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)

Mime
View raw message