public void addAll(SQLPrivTypeGrant[] inputPrivs) {
    if (inputPrivs == null) {
      return;
    }
    for (SQLPrivTypeGrant privType : inputPrivs) {
      addPrivilege(privType);
    }
  }
Capture privileges that are missing. If privilege "X with grant" and "X without grant"
are reported missing, capture only "X with grant". This is useful for better error messages.
ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/sqlstd/RequiredPrivileges.java