[ https://issues.apache.org/jira/browse/HIVE-24231?focusedWorklogId=502642&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-502642 ]
ASF GitHub Bot logged work on HIVE-24231: ----------------------------------------- Author: ASF GitHub Bot Created on: 20/Oct/20 11:56 Start Date: 20/Oct/20 11:56 Worklog Time Spent: 10m Work Description: kgyrtkirk commented on a change in pull request #1553: URL: https://github.com/apache/hive/pull/1553#discussion_r508438776 ########## 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: added fix to HIVE-24241 ---------------------------------------------------------------- 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: 502642) Time Spent: 3.5h (was: 3h 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: 3.5h > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.3.4#803005)