-
Notifications
You must be signed in to change notification settings - Fork 1.1k
add parquet-fromcsv (#1) #1798
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
add parquet-fromcsv (#1) #1798
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
cdf3657
add parquet-fromcsv (#1)
kazuk 414c7b7
add `text` for non-rust documentation text
kazuk 7338cc2
Update parquet/src/bin/parquet-fromcsv.rs
kazuk 7174b2d
Update parquet/src/bin/parquet-fromcsv.rs
kazuk 4b406be
Update parquet/src/bin/parquet-fromcsv.rs
kazuk 6dbd7ca
Update parquet/src/bin/parquet-fromcsv.rs
kazuk 3ccf705
automate update help text
kazuk d91bfde
remove anyhow
kazuk 71d0f8f
add rat_exclude_files
kazuk 7a1e80f
update test_command_help
kazuk ddeeff2
fix clippy warnings
kazuk ff77901
Merge branch 'master' of https://github.com/apache/arrow-rs into pr/k…
kazuk ce3cefd
add writer-version, max-row-group-size arg
kazuk 312a596
fix cargo fmt lint
kazuk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,67 @@ | ||
| parquet 15.0.0 | ||
| Apache Arrow <[email protected]> | ||
| Binary to convert csv to Parquet | ||
|
|
||
| USAGE: | ||
| parquet [OPTIONS] --schema <SCHEMA> --input-file <INPUT_FILE> --output-file <OUTPUT_FILE> | ||
|
|
||
| OPTIONS: | ||
| -b, --batch-size <BATCH_SIZE> | ||
| batch size | ||
|
|
||
| [env: PARQUET_FROM_CSV_BATCHSIZE=] | ||
| [default: 1000] | ||
|
|
||
| -c, --parquet-compression <PARQUET_COMPRESSION> | ||
| compression mode | ||
|
|
||
| [default: SNAPPY] | ||
|
|
||
| -d, --delimiter <DELIMITER> | ||
| field delimiter | ||
|
|
||
| default value: when input_format==CSV: ',' when input_format==TSV: 'TAB' | ||
|
|
||
| -D, --double-quote <DOUBLE_QUOTE> | ||
| double quote | ||
|
|
||
| -e, --escape-char <ESCAPE_CHAR> | ||
| escape charactor | ||
|
|
||
| -f, --input-format <INPUT_FORMAT> | ||
| input file format | ||
|
|
||
| [default: csv] | ||
| [possible values: csv, tsv] | ||
|
|
||
| -h, --has-header | ||
| has header | ||
|
|
||
| --help | ||
| Print help information | ||
|
|
||
| -i, --input-file <INPUT_FILE> | ||
| input CSV file | ||
|
|
||
| -m, --max-row-group-size <MAX_ROW_GROUP_SIZE> | ||
| max row group size | ||
|
|
||
| -o, --output-file <OUTPUT_FILE> | ||
| output Parquet file | ||
|
|
||
| -q, --quote-char <QUOTE_CHAR> | ||
| quate charactor | ||
|
|
||
| -r, --record-terminator <RECORD_TERMINATOR> | ||
| record terminator | ||
|
|
||
| [possible values: lf, crlf, cr] | ||
|
|
||
| -s, --schema <SCHEMA> | ||
| message schema for output Parquet | ||
|
|
||
| -V, --version | ||
| Print version information | ||
|
|
||
| -w, --writer-version <WRITER_VERSION> | ||
| writer version | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.