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/json2arrow #9765

Conversation

CrystalMethod
Copy link
Contributor

@CrystalMethod CrystalMethod commented Feb 9, 2023

#9765 domoritz/arrow-tools/json2arrow: Convert JSON files to Apache Arrow. This package is part of Arrow CLI tools

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

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

$ json2arrow --help
WARN[0000] package isn't found                           aqua_version=1.33.0 env=darwin/amd64 exe_name=json2arrow package_name=domoritz/arrow-tools/csv2arrow program=aqua registry_name=standard
WARN[0000] package isn't found                           aqua_version=1.33.0 env=darwin/amd64 exe_name=json2arrow package_name=domoritz/arrow-tools/csv2parquet program=aqua registry_name=standard
Usage: json2arrow [OPTIONS] <JSON> [ARROW]

Arguments:
  <JSON>   Input JSON 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
  -p, --print-schema
          Print the schema to stderr
  -n, --dry
          Only print the schema
  -h, --help
          Print help
  -V, --version
          Print version

[domoritz/arrow-tools/json2arrow](https://github.com/domoritz/arrow-tools): A collection of handy CLI tools to convert CSV and JSON to Apache Arrow and Parquet

```console
$ aqua g -i domoritz/arrow-tools/json2arrow
```

## 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

```console
$
```

If files such as configuration file are needed, please share them.

```
```

Reference

-
@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 suzuki-shunsuke merged commit d22fb15 into aquaproj:main Feb 10, 2023
@suzuki-shunsuke
Copy link
Member

@CrystalMethod CrystalMethod deleted the feat/domoritz/arrow-tools/json2arrow 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