difin commented on code in PR #4855:
URL: https://github.com/apache/hive/pull/4855#discussion_r1403559574


##########
ql/src/java/org/apache/hadoop/hive/ql/Context.java:
##########
@@ -250,6 +252,24 @@ public String toString() {
       return prefix;
     }
   }
+  public enum RewritePolicy {
+
+    DEFAULT,
+    ALL_PARTITIONS;
+
+    public static RewritePolicy fromString(String rewritePolicy) {
+      
+      if (rewritePolicy == null) {
+        throw new IllegalArgumentException("Invalid RewritePolicy: null");

Review Comment:
   done



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