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

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

                Author: ASF GitHub Bot
            Created on: 20/Oct/20 05:39
            Start Date: 20/Oct/20 05:39
    Worklog Time Spent: 10m 
      Work Description: jcamachor commented on a change in pull request #1553:
URL: https://github.com/apache/hive/pull/1553#discussion_r508220345



##########
File path: 
ql/src/java/org/apache/hadoop/hive/ql/optimizer/SharedWorkOptimizer.java
##########
@@ -284,6 +304,54 @@ public ParseContext transform(ParseContext pctx) throws 
SemanticException {
     return pctx;
   }
 
+  /** SharedWorkOptimization strategy modes */
+  public enum Mode {
+    /**
+     * Merges two identical subtrees.
+     */
+    SubtreeMerge,
+    /**
+     * Merges a filtered scan into a non-filtered scan.
+     *
+     * In case we are already scanning the whole table - we should not scan it 
twice.
+     */
+    RemoveSemijoin,
+    /**
+     * Fuses two filtered table scans into a single one.
+     *
+     * Dynamic filter subtree is kept on both sides - but the table is onlt 
scanned once.

Review comment:
       typo. onlt




----------------------------------------------------------------
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: 502520)
    Time Spent: 3h 20m  (was: 3h 10m)

> Enhance shared work optimizer to merge scans with filters on both sides
> -----------------------------------------------------------------------
>
>                 Key: HIVE-24231
>                 URL: https://issues.apache.org/jira/browse/HIVE-24231
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Zoltan Haindrich
>            Assignee: Zoltan Haindrich
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 3h 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to