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

Research direction

Review the parquet-cli documentation containing the CSV conversion examples in this issue. Confirm the first example and check the HDFS and S3 examples, then update the examples so each output path uses the -o option and all commands launch successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
cli, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.