presto-spi/src/main/java/io/prestosql/spi/connector/classloader/ClassLoaderSafeNodePartitioningProvider.java/ClassLoaderSafeNodePartitioningProvider/getBucketFunction
class ClassLoaderSafeNodePartitioningProvider:    @Override
    public BucketFunction getBucketFunction(
            ConnectorTransactionHandle transactionHandle,
            ConnectorSession session,
            ConnectorPartitioningHandle partitioningHandle,
            List<Type> partitionChannelTypes,
            int bucketCount)
    {
        try (ThreadContextClassLoader ignored = new ThreadContextClassLoader(classLoader)) {
            return delegate.getBucketFunction(transactionHandle, session, partitioningHandle, partitionChannelTypes, bucketCount);
        }
    }