public static RewritePolicy fromString(String rewritePolicy) {
      if (rewritePolicy == null) {
        return DEFAULT;
      }

      try {
        return valueOf(rewritePolicy.toUpperCase(Locale.ENGLISH));
      } catch (IllegalArgumentException var2) {
        throw new IllegalArgumentException(String.format("Invalid rewrite policy: %s", rewritePolicy), var2);
      }
    }
These ops require special handling in various places
(note that Insert into Acid table is in OTHER category)
ql/src/java/org/apache/hadoop/hive/ql/Context.java