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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]