Skip to content
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

feat: add domoritz/arrow-tools/csv2arrow #9763

Conversation

CrystalMethod
Copy link
Contributor

domoritz/arrow-tools/csv2arrow: A collection of handy CLI tools to convert CSV and JSON to Apache Arrow and Parquet

$ aqua g -i domoritz/arrow-tools/csv2arrow

How to confirm if this package works well

Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well.
Please confirm if this package works well yourself as much as possible.

Command and output

$ csv2arrow --help
Usage: csv2arrow [OPTIONS] <CSV> [ARROW]

Arguments:
  <CSV>    Input CSV file
  [ARROW]  Output file, stdout if not present

Options:
  -s, --schema-file <SCHEMA_FILE>
          File with Arrow schema in JSON format
  -m, --max-read-records <MAX_READ_RECORDS>
          The number of records to infer the schema from. All rows if not present. Setting max-read-records to zero will stop schema inference and all columns will be string typed
      --header <HEADER>
          Set whether the CSV file has headers [possible values: true, false]
  -d, --delimiter <DELIMITER>
          Set the CSV file's column delimiter as a byte character [default: ,]
  -p, --print-schema
          Print the schema to stderr
  -n, --dry
          Only print the schema
  -h, --help
          Print help
  -V, --version
          Print version

@suzuki-shunsuke suzuki-shunsuke added this to the v3.129.0 milestone Feb 9, 2023
@suzuki-shunsuke suzuki-shunsuke added the enhancement New feature or request label Feb 9, 2023
@suzuki-shunsuke
Copy link
Member

Thanks!

@suzuki-shunsuke
Copy link
Member

Hmm. 🤔 Git history looks strange.
I resolved the conflict, then no file is changed...

@suzuki-shunsuke
Copy link
Member

@CrystalMethod CrystalMethod deleted the feat/domoritz/arrow-tools/csv2arrow branch February 11, 2023 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants