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

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

                Author: ASF GitHub Bot
            Created on: 12/Oct/20 09:40
            Start Date: 12/Oct/20 09:40
    Worklog Time Spent: 10m 
      Work Description: kgyrtkirk commented on a change in pull request #1553:
URL: https://github.com/apache/hive/pull/1553#discussion_r503169537



##########
File path: 
ql/src/java/org/apache/hadoop/hive/ql/optimizer/SharedWorkOptimizer.java
##########
@@ -159,9 +158,15 @@ public ParseContext transform(ParseContext pctx) throws 
SemanticException {
     // Gather information about the DPP table scans and store it in the cache
     gatherDPPTableScanOps(pctx, optimizerCache);
 
+    BaseSharedWorkOptimizer swo;
+    if (pctx.getConf().getBoolVar(ConfVars.HIVE_SHARED_WORK_MERGE_TS_SCHEMA)) {
+      swo = new BaseSharedWorkOptimizer();

Review comment:
       `SchemaAwareSharedWorkOptimizer` is the more strict version
   
   
https://github.com/apache/hive/blob/78d42f0321c846ee74794a58b94a92f65797430d/ql/src/java/org/apache/hadoop/hive/ql/optimizer/SharedWorkOptimizer.java#L591
   
   I just wanted to enable schema merge for all the optimizations - so I've 
moved it here




----------------------------------------------------------------
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:
[email protected]


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

    Worklog Id:     (was: 499298)
    Time Spent: 0.5h  (was: 20m)

> 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: 0.5h
>  Remaining Estimate: 0h
>




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

Reply via email to