Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Clap dependency to version 4 (#2819)
- Loading branch information
Showing
8 changed files
with
72 additions
and
67 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 |
---|---|---|
@@ -1,66 +1,65 @@ | ||
Apache Arrow <dev@arrow.apache.org> | ||
Binary to convert csv to Parquet | ||
|
||
USAGE: | ||
parquet [OPTIONS] --schema <SCHEMA> --input-file <INPUT_FILE> --output-file <OUTPUT_FILE> | ||
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] | ||
Options: | ||
-s, --schema <SCHEMA> | ||
message schema for output Parquet | ||
|
||
-c, --parquet-compression <PARQUET_COMPRESSION> | ||
compression mode | ||
|
||
[default: SNAPPY] | ||
-i, --input-file <INPUT_FILE> | ||
input CSV file | ||
|
||
-d, --delimiter <DELIMITER> | ||
field delimiter | ||
|
||
default value: when input_format==CSV: ',' when input_format==TSV: 'TAB' | ||
-o, --output-file <OUTPUT_FILE> | ||
output Parquet file | ||
|
||
-D, --double-quote <DOUBLE_QUOTE> | ||
double quote | ||
-f, --input-format <INPUT_FORMAT> | ||
input file format | ||
|
||
[default: csv] | ||
[possible values: csv, tsv] | ||
|
||
-e, --escape-char <ESCAPE_CHAR> | ||
escape charactor | ||
-b, --batch-size <BATCH_SIZE> | ||
batch size | ||
|
||
[env: PARQUET_FROM_CSV_BATCHSIZE=] | ||
[default: 1000] | ||
|
||
-f, --input-format <INPUT_FORMAT> | ||
input file format | ||
|
||
[default: csv] | ||
[possible values: csv, tsv] | ||
-h, --has-header | ||
has header | ||
|
||
-h, --has-header | ||
has header | ||
-d, --delimiter <DELIMITER> | ||
field delimiter | ||
|
||
default value: when input_format==CSV: ',' when input_format==TSV: 'TAB' | ||
|
||
--help | ||
Print help information | ||
-r, --record-terminator <RECORD_TERMINATOR> | ||
record terminator | ||
|
||
[possible values: lf, crlf, cr] | ||
|
||
-i, --input-file <INPUT_FILE> | ||
input CSV file | ||
-e, --escape-char <ESCAPE_CHAR> | ||
escape charactor | ||
|
||
-m, --max-row-group-size <MAX_ROW_GROUP_SIZE> | ||
max row group size | ||
-q, --quote-char <QUOTE_CHAR> | ||
quate charactor | ||
|
||
-o, --output-file <OUTPUT_FILE> | ||
output Parquet file | ||
-D, --double-quote <DOUBLE_QUOTE> | ||
double quote | ||
|
||
[possible values: true, false] | ||
|
||
-q, --quote-char <QUOTE_CHAR> | ||
quate charactor | ||
-c, --parquet-compression <PARQUET_COMPRESSION> | ||
compression mode | ||
|
||
[default: SNAPPY] | ||
|
||
-r, --record-terminator <RECORD_TERMINATOR> | ||
record terminator | ||
|
||
[possible values: lf, crlf, cr] | ||
-w, --writer-version <WRITER_VERSION> | ||
writer version | ||
|
||
-s, --schema <SCHEMA> | ||
message schema for output Parquet | ||
-m, --max-row-group-size <MAX_ROW_GROUP_SIZE> | ||
max row group size | ||
|
||
-V, --version | ||
Print version information | ||
--help | ||
display usage help | ||
|
||
-w, --writer-version <WRITER_VERSION> | ||
writer version | ||
-V, --version | ||
Print version information |
This file contains 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 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