apache / apache/parquet-java

Parquet-cli convert-csv : Missing option -o for output file path in examples

Open
#2,092 1 comment 0 reactions 0 assignees View on GitHub
Component: CLI Component: Parquet Priority: Minor Type: bug
Dominant language
Java
Stars
3.1k
Forks
1.6k
Avg merge
3d 12h
Merged PRs (30d)
33

Description

Examples fail to launch with the current parameters as output file name is not preceded by -o option

{{ "# Create a Parquet file from a CSV file",
"sample.csv -o sample.parquet --schema schema.avsc",
"# Create a Parquet file in HDFS from local CSV",
"path/to/sample.csv -o hdfs:/user/me/sample.parquet --schema schema.avsc",
"# Create an Avro file from CSV data in S3",
"s3:/data/path/sample.csv -o sample.avro --format avro --schema s3:/schemas/schema.avsc"}}

I have checked the first example with the -o, it works.
I have not checked the second and third examples.

Best regards,

Christophe

**Reporter**: [Christophe SEBILLE](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=csebille) / @csebille

**Note**: *This issue was originally created as [PARQUET-1130](https://issues.apache.org/jira/browse/PARQUET-1130). Please see the [migration documentation](https://issues.apache.org/jira/browse/PARQUET-2502) for further details.*

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.