Skip to content

Commit c0ccaa6

Browse files
committed
fix
Signed-off-by: BubbleCal <bubble-cal@outlook.com>
1 parent 43cf8a1 commit c0ccaa6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

rust/lance/src/index/vector/builder.rs

-4
Original file line numberDiff line numberDiff line change
@@ -472,10 +472,6 @@ impl<S: IvfSubIndex + 'static, Q: Quantization + 'static> IvfIndexBuilder<S, Q>
472472

473473
#[instrument(name = "build_partitions", level = "debug", skip_all)]
474474
async fn build_partitions(&mut self) -> Result<&mut Self> {
475-
let dataset = self.dataset.as_ref().ok_or(Error::invalid_input(
476-
"dataset not set before building partitions",
477-
location!(),
478-
))?;
479475
let ivf = self.ivf.as_mut().ok_or(Error::invalid_input(
480476
"IVF not set before building partitions",
481477
location!(),

0 commit comments

Comments
 (0)