apache / apache/parquet-java

Parquet-cli convert-csv : Unknown --format option in example

Open
#2,093 0 comments 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

In the following example :

"# Create an Avro file from CSV data in S3",
"s3:/data/path/sample.csv -o sample.avro --format avro --schema s3:/schemas/schema.avsc"

the option --format doesn't exist (or doesn't exist anymore)

It seems it has been replaced by the to-avro command of parquet-cli

So, example could simply be :
"# Create a parquet file from CSV data in S3",
"s3:/data/path/sample.csv -o sample.parquet --schema s3:/schemas/schema.avsc"

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-1131](https://issues.apache.org/jira/browse/PARQUET-1131). 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

The affected entry point is the parquet-cli conversion example shown in the issue; first locate that example in the repository and confirm the supported command syntax for --format and to-avro. Done means the example uses an existing command and its output filename and format description agree.

Written by the indexing model from the issue text.

Assessment

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.