deniskuzZ commented on code in PR #4629:
URL: https://github.com/apache/hive/pull/4629#discussion_r1324101687


##########
ql/src/java/org/apache/hadoop/hive/ql/DriverFactory.java:
##########
@@ -66,23 +68,13 @@ public static IDriver newDriver(QueryState queryState, 
QueryInfo queryInfo) {
   }
 
   private static IReExecutionPlugin buildReExecPlugin(String name) throws 
RuntimeException {
-    if ("overlay".equals(name)) {
-      return new ReExecutionOverlayPlugin();
+    ReExecutionStrategyType pluginType = 
ReExecutionStrategyType.fromStrategyName(name);

Review Comment:
   👍 



##########
ql/src/java/org/apache/hadoop/hive/ql/DriverFactory.java:
##########
@@ -66,23 +68,13 @@ public static IDriver newDriver(QueryState queryState, 
QueryInfo queryInfo) {
   }
 
   private static IReExecutionPlugin buildReExecPlugin(String name) throws 
RuntimeException {
-    if ("overlay".equals(name)) {
-      return new ReExecutionOverlayPlugin();
+    ReExecutionStrategyType pluginType = 
ReExecutionStrategyType.fromStrategyName(name);

Review Comment:
   👍 



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to