You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by al...@apache.org on 2023/01/13 21:34:50 UTC

[arrow-rs] branch master updated: Clap fixes (#3528)

This is an automated email from the ASF dual-hosted git repository.

alamb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git


The following commit(s) were added to refs/heads/master by this push:
     new 5a7ec4624 Clap fixes (#3528)
5a7ec4624 is described below

commit 5a7ec4624d35af0a860d84274308ba4f5303cada
Author: Raphael Taylor-Davies <17...@users.noreply.github.com>
AuthorDate: Fri Jan 13 22:34:44 2023 +0100

    Clap fixes (#3528)
---
 parquet/Cargo.toml                       | 2 +-
 parquet/src/bin/parquet-fromcsv-help.txt | 2 +-
 parquet/src/bin/parquet-fromcsv.rs       | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/parquet/Cargo.toml b/parquet/Cargo.toml
index b395a5bad..43bd52bee 100644
--- a/parquet/Cargo.toml
+++ b/parquet/Cargo.toml
@@ -56,7 +56,7 @@ chrono = { version = "0.4.23", default-features = false, features = ["alloc"] }
 num = { version = "0.4", default-features = false }
 num-bigint = { version = "0.4", default-features = false }
 base64 = { version = "0.21", default-features = false, features = ["std", ], optional = true }
-clap = { version = "4", default-features = false, features = ["std", "derive", "env", "help", "error-context", "usage"], optional = true }
+clap = { version = "4.1", default-features = false, features = ["std", "derive", "env", "help", "error-context", "usage"], optional = true }
 serde = { version = "1.0", default-features = false, features = ["derive"], optional = true }
 serde_json = { version = "1.0", default-features = false, features = ["std"], optional = true }
 seq-macro = { version = "0.3", default-features = false }
diff --git a/parquet/src/bin/parquet-fromcsv-help.txt b/parquet/src/bin/parquet-fromcsv-help.txt
index ec7eb0cc1..44d75f5a0 100644
--- a/parquet/src/bin/parquet-fromcsv-help.txt
+++ b/parquet/src/bin/parquet-fromcsv-help.txt
@@ -67,4 +67,4 @@ Options:
           display usage help
 
   -V, --version
-          Print version information
+          Print version
diff --git a/parquet/src/bin/parquet-fromcsv.rs b/parquet/src/bin/parquet-fromcsv.rs
index 53391a6ad..23913f0ea 100644
--- a/parquet/src/bin/parquet-fromcsv.rs
+++ b/parquet/src/bin/parquet-fromcsv.rs
@@ -528,7 +528,7 @@ mod tests {
             Ok(_) => panic!("unexpected success"),
             Err(e) => assert_eq!(
                 format!("{}", e),
-                "error: Invalid value 'zip' for '--parquet-compression <PARQUET_COMPRESSION>': Unknown compression ZIP : possible values UNCOMPRESSED, SNAPPY, GZIP, LZO, BROTLI, LZ4, ZSTD \n\nFor more information try --help\n"),
+                "error: invalid value 'zip' for '--parquet-compression <PARQUET_COMPRESSION>': Unknown compression ZIP : possible values UNCOMPRESSED, SNAPPY, GZIP, LZO, BROTLI, LZ4, ZSTD \n\nFor more information try --help\n"),
         }
     }