Skip to content
Merged
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
12 changes: 7 additions & 5 deletions parquet/benches/arrow_writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ use arrow::util::bench_util::{create_f16_array, create_f32_array, create_f64_arr
use arrow::{record_batch::RecordBatch, util::data_gen::*};
use arrow_array::RecordBatchOptions;
use parquet::errors::Result;
use parquet::file::properties::{CdcOptions, WriterProperties, WriterVersion};
use parquet::file::properties::{WriterProperties, WriterVersion};

fn create_primitive_bench_batch(
size: usize,
Expand Down Expand Up @@ -420,10 +420,12 @@ fn create_writer_props() -> Vec<(&'static str, WriterProperties)> {
.build();
props.push(("zstd_parquet_2", prop));

let prop = WriterProperties::builder()
.set_content_defined_chunking(Some(CdcOptions::default()))
.build();
props.push(("cdc", prop));
// Disabled until https://github.com/apache/arrow-rs/issues/9637 is fixed

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like a comment only change, do I miss something?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or just GH's syntax highligthing is fooling me?

Image

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's creating a comment block which encloses the benchmark definition, effectively disabling it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will switch to // comments to make this clearer

//
// let prop = WriterProperties::builder()
// .set_content_defined_chunking(Some(CdcOptions::default()))
// .build();
// props.push(("cdc", prop));

props
}
Expand Down
Loading