protected String convertIdentifierPattern(final String pattern, boolean datanucleusFormat) {
    if (pattern == null) {
      return convertPattern("%", true);
    } else {
      return convertPattern(pattern, datanucleusFormat);
    }
  }
Convert wildchars and escape sequence from JDBC format to datanucleous/regex
service/src/java/org/apache/hive/service/cli/operation/MetadataOperation.java