public static String getLowerCaseTableName(String refName) {
    String[] refParts = refName.split("\\.");
    if (refParts.length == 3 && SNAPSHOT_REF.matcher(refParts[2]).matches()) {
      return (refParts[0] + "." + refParts[1]).toLowerCase() + "." + refParts[2];
    }
    return refName.toLowerCase();
  }
Return HiveAuthorizerFactory used by new authorization plugin interface.
@param conf
@param authorizationProviderConfKey
@return
@throws HiveException if HiveAuthorizerFactory specified in configuration could not
ql/src/java/org/apache/hadoop/hive/ql/metadata/HiveUtils.java