@@ -35,6 +35,7 @@ use lance_core::datatypes::Field;
3535use lance_core:: utils:: tracing:: { IO_TYPE_OPEN_SCALAR , TRACE_IO_EVENTS } ;
3636use lance_core:: { Error , ROW_ADDR , ROW_ID , Result } ;
3737use lance_datafusion:: exec:: LanceExecutionOptions ;
38+ use lance_index:: frag_reuse:: FragReuseIndexHandle ;
3839use lance_index:: metrics:: { MetricsCollector , NoOpMetricsCollector } ;
3940use lance_index:: pbold:: {
4041 BTreeIndexDetails , BitmapIndexDetails , InvertedIndexDetails , LabelListIndexDetails ,
@@ -49,7 +50,6 @@ use lance_index::scalar::label_list::{
4950use lance_index:: scalar:: registry:: {
5051 ScalarIndexLoad , ScalarIndexPlugin , TrainingCriteria , TrainingOrdering , VALUE_COLUMN_NAME ,
5152} ;
52- use lance_index:: frag_reuse:: FragReuseIndexHandle ;
5353use lance_index:: scalar:: { BuiltinIndexType , CreatedIndex , InvertedIndexParams } ;
5454use lance_index:: scalar:: {
5555 RowIdRemapper , ScalarIndex , ScalarIndexParams , bitmap:: BITMAP_LOOKUP_NAME ,
@@ -460,8 +460,8 @@ pub async fn open_scalar_index(
460460 . index_cache
461461 . for_index ( & index. uuid , frag_reuse_index. as_ref ( ) . map ( |f| & f. uuid ) ) ;
462462
463- let frag_reuse_index: Option < Arc < dyn RowIdRemapper > > = frag_reuse_index
464- . map ( |f| Arc :: new ( FragReuseIndexHandle ( f) ) as Arc < dyn RowIdRemapper > ) ;
463+ let frag_reuse_index: Option < Arc < dyn RowIdRemapper > > =
464+ frag_reuse_index . map ( |f| Arc :: new ( FragReuseIndexHandle ( f) ) as Arc < dyn RowIdRemapper > ) ;
465465
466466 // Runs only on a cold miss, and at most once even under concurrent opens
467467 // (the plugin coalesces). The compat check lives here because a warm hit was
0 commit comments