File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
benchmarks/compress-bench/src Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,8 @@ use ::vortex::array::arrays::ChunkedArray;
77use :: vortex:: array:: arrays:: recursive_list_from_list_view;
88use arrow_array:: RecordBatch ;
99use arrow_schema:: Schema ;
10-
10+ #[ cfg( feature = "lance" ) ]
11+ pub use lance_bench:: compress:: LanceCompressor ;
1112pub mod parquet;
1213pub mod vortex;
1314
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ use std::path::PathBuf;
55use std:: time:: Duration ;
66
77use clap:: Parser ;
8+ #[ cfg( feature = "lance" ) ]
9+ use compress_bench:: LanceCompressor ;
810use compress_bench:: parquet:: ParquetCompressor ;
911use compress_bench:: vortex:: VortexCompressor ;
1012use indicatif:: ProgressBar ;
@@ -92,7 +94,7 @@ fn get_compressor(format: Format) -> Box<dyn Compressor> {
9294 Format :: OnDiskVortex => Box :: new ( VortexCompressor ) ,
9395 Format :: Parquet => Box :: new ( ParquetCompressor :: new ( ) ) ,
9496 #[ cfg( feature = "lance" ) ]
95- Format :: Lance => todo ! ( ) ,
97+ Format :: Lance => Box :: new ( LanceCompressor ) ,
9698 _ => unimplemented ! ( "Compress bench not implemented for {format}" ) ,
9799 }
98100}
You can’t perform that action at this time.
0 commit comments