use of io.prestosql.server.ServerConfig in project hetu-core by openlookeng.
the class EmbedVersion method baseClassName.
private static String baseClassName(ServerConfig serverConfig) {
String builtInVersion = new ServerConfig().getPrestoVersion();
String configuredVersion = serverConfig.getPrestoVersion();
String version = configuredVersion;
if (!Objects.equals(builtInVersion, configuredVersion)) {
version = format("%s__%s", builtInVersion, configuredVersion);
}
return format("Presto_%s___", version);
}
Aggregations