presto-hive/src/main/java/io/prestosql/plugin/hive/HiveNodePartitioningProvider.java/HiveNodePartitioningProvider/getBucketNodeMap
class HiveNodePartitioningProvider:    @Override
    public ConnectorBucketNodeMap getBucketNodeMap(ConnectorTransactionHandle transactionHandle, ConnectorSession session, ConnectorPartitioningHandle partitioningHandle)
    {
        HivePartitioningHandle handle = (HivePartitioningHandle) partitioningHandle;
        return createBucketNodeMap(handle.getBucketCount());
    }