[
https://issues.apache.org/jira/browse/PARQUET-2329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17750679#comment-17750679
]
ASF GitHub Bot commented on PARQUET-2329:
-----------------------------------------
wgtmac merged PR #1126:
URL: https://github.com/apache/parquet-mr/pull/1126
> 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
>
> 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)