[ 
https://issues.apache.org/jira/browse/PARQUET-2329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gang Wu resolved PARQUET-2329.
------------------------------
    Resolution: Fixed

> Fix wrong help messages of parquet-cli subcommands
> --------------------------------------------------
>
>                 Key: PARQUET-2329
>                 URL: https://issues.apache.org/jira/browse/PARQUET-2329
>             Project: Parquet
>          Issue Type: Bug
>          Components: parquet-cli
>            Reporter: Kengo Seki
>            Assignee: Kengo Seki
>            Priority: Trivial
>             Fix For: 1.14.0
>
>
> There are some minor mistakes in the help messages of parquet-cli, as follows:
> {code}
> $ java -cp 'target/parquet-cli-1.14.0-SNAPSHOT.jar:target/dependency/*' 
> org.apache.parquet.cli.Main help rewrite
> ...
>     --prune-columns
>       <columns to be replaced with masked value>
> {code}
> It is the description about the {{\-\-mask-columns}} option, not for 
> {{\-\-prune-columns}}.
> {code}
> $ java -cp 'target/parquet-cli-1.14.0-SNAPSHOT.jar:target/dependency/*' 
> org.apache.parquet.cli.Main help convert-csv
> ...
>   Examples:
>     # Create a Parquet file from a CSV file
>     parquet convert-csv sample.csv sample.parquet --schema schema.avsc
>     # Create a Parquet file in HDFS from local CSV
>     parquet convert-csv path/to/sample.csv hdfs:/user/me/sample.parquet 
> --schema schema.avsc
>     # Create an Avro file from CSV data in S3
>     parquet convert-csv s3:/data/path/sample.csv sample.avro --format avro 
> --schema s3:/schemas/schema.avsc
> {code}
> Output paths in these examples should be specified using the 
> {{-o}}/{{\-\-output}} option. In addition, that subcommand doesn't have the 
> {{\-\-format}} option.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to