presto-spi/src/main/java/io/prestosql/spi/connector/classloader/ClassLoaderSafeConnectorSplitSource.java/ClassLoaderSafeConnectorSplitSource/getNextBatch
class ClassLoaderSafeConnectorSplitSource:    @Override
    public CompletableFuture<ConnectorSplitBatch> getNextBatch(ConnectorPartitionHandle partitionHandle, int maxSize)
    {
        try (ThreadContextClassLoader ignored = new ThreadContextClassLoader(classLoader)) {
            return delegate.getNextBatch(partitionHandle, maxSize);
        }
    }