in kyuubi-relocated-hive-metastore-client/src/main/java/org/apache/kyuubi/shaded/hive/metastore/utils/MetaStoreUtils.java [85:100]
public static String getHttpPath(String httpPath) {
if (httpPath == null || httpPath.equals("")) {
httpPath = "/*";
} else {
if (!httpPath.startsWith("/")) {
httpPath = "/" + httpPath;
}
if (httpPath.endsWith("/")) {
httpPath = httpPath + "*";
}
if (!httpPath.endsWith("/*")) {
httpPath = httpPath + "/*";
}
}
return httpPath;
}