From 146b8c9eab80687d90ce29f8f1db0eadd1b0b601 Mon Sep 17 00:00:00 2001 From: Steven Gu Date: Thu, 9 Dec 2021 11:46:21 +0000 Subject: [PATCH] Fix the duplicate short options in tpch. --- benchmarks/src/bin/tpch.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/benchmarks/src/bin/tpch.rs b/benchmarks/src/bin/tpch.rs index 2e074d2b5ce74..71e68b6c4b75a 100644 --- a/benchmarks/src/bin/tpch.rs +++ b/benchmarks/src/bin/tpch.rs @@ -90,7 +90,7 @@ struct BallistaBenchmarkOpt { // #[structopt(short = "m", long = "mem-table")] // mem_table: bool, /// Number of partitions to process in parallel - #[structopt(short = "p", long = "partitions", default_value = "2")] + #[structopt(short = "n", long = "partitions", default_value = "2")] partitions: usize, /// Ballista executor host @@ -117,7 +117,7 @@ struct DataFusionBenchmarkOpt { iterations: usize, /// Number of partitions to process in parallel - #[structopt(short = "p", long = "partitions", default_value = "2")] + #[structopt(short = "n", long = "partitions", default_value = "2")] partitions: usize, /// Batch size when reading CSV or Parquet files @@ -156,7 +156,7 @@ struct ConvertOpt { compression: String, /// Number of partitions to produce - #[structopt(short = "p", long = "partitions", default_value = "1")] + #[structopt(short = "n", long = "partitions", default_value = "1")] partitions: usize, /// Batch size when reading CSV or Parquet files