Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion benchmarks/compress-bench/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ use ::vortex::array::arrays::ChunkedArray;
use ::vortex::array::arrays::recursive_list_from_list_view;
use arrow_array::RecordBatch;
use arrow_schema::Schema;

#[cfg(feature = "lance")]
pub use lance_bench::compress::LanceCompressor;
pub mod parquet;
pub mod vortex;

Expand Down
4 changes: 3 additions & 1 deletion benchmarks/compress-bench/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ use std::path::PathBuf;
use std::time::Duration;

use clap::Parser;
#[cfg(feature = "lance")]
use compress_bench::LanceCompressor;
use compress_bench::parquet::ParquetCompressor;
use compress_bench::vortex::VortexCompressor;
use indicatif::ProgressBar;
Expand Down Expand Up @@ -92,7 +94,7 @@ fn get_compressor(format: Format) -> Box<dyn Compressor> {
Format::OnDiskVortex => Box::new(VortexCompressor),
Format::Parquet => Box::new(ParquetCompressor::new()),
#[cfg(feature = "lance")]
Format::Lance => todo!(),
Format::Lance => Box::new(LanceCompressor),
_ => unimplemented!("Compress bench not implemented for {format}"),
}
}
Expand Down
Loading