in kyuubi-relocated-hive-metastore-client/src/main/java/org/apache/kyuubi/shaded/hive/metastore/conf/MetastoreConf.java [1018:1036]
static String timeAbbreviationFor(TimeUnit timeunit) {
switch (timeunit) {
case DAYS:
return "d";
case HOURS:
return "h";
case MINUTES:
return "m";
case SECONDS:
return "s";
case MILLISECONDS:
return "ms";
case MICROSECONDS:
return "us";
case NANOSECONDS:
return "ns";
}
throw new IllegalArgumentException("Invalid timeunit " + timeunit);
}