in kyuubi-relocated-hive-metastore-client/src/main/java/org/apache/kyuubi/shaded/hive/metastore/conf/Validator.java [72:81]
public static TYPE valueOf(Object lower, Object upper) {
if (lower instanceof Integer || upper instanceof Integer) {
return INT;
} else if (lower instanceof Long || upper instanceof Long) {
return LONG;
} else if (lower instanceof Float || upper instanceof Float) {
return FLOAT;
}
throw new IllegalArgumentException("invalid range from " + lower + " to " + upper);
}