presto-hive/src/main/java/io/prestosql/plugin/hive/metastore/MetastoreUtil.java/MetastoreUtil/toPartitionName
class MetastoreUtil:    public static String toPartitionName(List<String> names, List<String> values)
    {
        checkArgument(names.size() == values.size(), "partition value count must match partition column count");
        checkArgument(values.stream().allMatch(Objects::nonNull), "partition value must not be null");

        return FileUtils.makePartName(names, values);
    }