@@ -269,7 +269,7 @@ async fn benchmark_random_access(
269269 let timing = TimingMeasurement {
270270 name : measurement_name. to_string ( ) ,
271271 storage : storage. to_string ( ) ,
272- target : Target :: new ( format_to_engine ( format ) , format) ,
272+ target : Target :: new ( Engine :: default ( ) , format) ,
273273 runs,
274274 } ;
275275 Ok ( RandomAccessRun {
@@ -326,17 +326,6 @@ fn push_v3_random_access_record(records: &mut Vec<v3::V3Record>, run: &RandomAcc
326326 records. push ( v3:: random_access_record ( & run. timing , & dataset) ) ;
327327}
328328
329- /// Map format to the appropriate engine for random access benchmarks.
330- fn format_to_engine ( format : Format ) -> Engine {
331- match format {
332- Format :: OnDiskVortex | Format :: VortexCompact => Engine :: Vortex ,
333- Format :: Parquet => Engine :: Arrow ,
334- #[ cfg( feature = "lance" ) ]
335- Format :: Lance => Engine :: Arrow , // Is this right here?
336- _ => Engine :: default ( ) ,
337- }
338- }
339-
340329/// Open a random accessor for any supported format.
341330///
342331/// For Vortex and Parquet, the path comes from [`BenchDataset::path`].
@@ -528,7 +517,7 @@ mod tests {
528517 RandomAccessRun {
529518 timing : TimingMeasurement {
530519 name : format ! ( "random-access/{dataset}/parquet-tokio-local-disk" ) ,
531- target : Target :: new ( Engine :: Arrow , Format :: Parquet ) ,
520+ target : Target :: new ( Engine :: Vortex , Format :: Parquet ) ,
532521 storage : STORAGE_NVME . to_string ( ) ,
533522 runs : vec ! [ Duration :: from_nanos( 10 ) ] ,
534523 } ,
0 commit comments