presto-hive/src/main/java/io/prestosql/plugin/hive/HiveNodePartitioningProvider.java/HiveNodePartitioningProvider/listPartitionHandles
class HiveNodePartitioningProvider:    @Override
    public List<ConnectorPartitionHandle> listPartitionHandles(ConnectorTransactionHandle transactionHandle, ConnectorSession session, ConnectorPartitioningHandle partitioningHandle)
    {
        HivePartitioningHandle handle = (HivePartitioningHandle) partitioningHandle;
        int bucketCount = handle.getBucketCount();
        return IntStream.range(0, bucketCount).mapToObj(HivePartitionHandle::new).collect(toImmutableList());
    }