Skip to content

Commit d723708

Browse files
authored
chore: remove unused method compute_partitions (#4058)
Signed-off-by: BubbleCal <bubble-cal@outlook.com>
1 parent 181d179 commit d723708

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

rust/lance-index/src/vector/ivf/transform.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,6 @@ impl PartitionTransformer {
5454
output_column: PART_ID_COLUMN.to_owned(),
5555
}
5656
}
57-
58-
/// Compute the partition for each row in the input Matrix.
59-
///
60-
#[instrument(level = "debug", skip_all)]
61-
pub(super) fn compute_partitions(&self, data: &FixedSizeListArray) -> UInt32Array {
62-
compute_partitions_arrow_array(&self.centroids, data, self.distance_type)
63-
.expect("failed to compute partitions")
64-
.0
65-
.into()
66-
}
6757
}
6858
impl Transformer for PartitionTransformer {
6959
#[instrument(name = "PartitionTransformer::transform", level = "debug", skip_all)]

0 commit comments

Comments
 (0)