We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1100bd5 commit d3cfe89Copy full SHA for d3cfe89
1 file changed
tpchgen-cli/bin/main.rs
@@ -353,14 +353,15 @@ impl Cli {
353
}
354
355
356
- self.args
357
- .common
358
- .builder(format)
359
- .with_parquet_compression(parquet_compression)
360
- .with_parquet_row_group_bytes(parquet_row_group_bytes)
361
- .build()
362
- .generate()
363
- .await
+ let mut builder = self.args.common.builder(format);
+ // TODO: Remove this block when the deprecated top-level --parquet-compression
+ // and --parquet-row-group-bytes flags are removed in v4.0.0.
+ if format == OutputFormat::Parquet {
+ builder = builder
+ .with_parquet_compression(parquet_compression)
+ .with_parquet_row_group_bytes(parquet_row_group_bytes);
+ }
364
+ builder.build().generate().await
365
366
367
0 commit comments