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

CLI to "rewrite" parquet files #3476

Closed
crepererum opened this issue Jan 6, 2023 · 2 comments · Fixed by #3477
Closed

CLI to "rewrite" parquet files #3476

crepererum opened this issue Jan 6, 2023 · 2 comments · Fixed by #3477
Labels
enhancement Any new improvement worthy of a entry in the changelog parquet Changes to the parquet crate

Comments

@crepererum
Copy link
Contributor

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Sometimes I wonder what different settings (compression, row group size, page size, ...) do to a parquet file (in terms of size, number of row groups / pages, performance).

Describe the solution you'd like
Have a CLI that takes a parquet file and writes it again w/ different settings. The resulting file can then be inspected by our other CLI tools like parquet-layout.

Describe alternatives you've considered
Always require user code to perform these kind of experiments.

Additional context
-

@crepererum crepererum added the enhancement Any new improvement worthy of a entry in the changelog label Jan 6, 2023
@crepererum
Copy link
Contributor Author

I'm working on this.

crepererum added a commit to crepererum/arrow-rs that referenced this issue Jan 6, 2023
crepererum added a commit to crepererum/arrow-rs that referenced this issue Jan 6, 2023
tustvold pushed a commit that referenced this issue Jan 9, 2023
* feat: add `parquet-rewrite` CLI

Closes #3476.

* refactor: init ArrowWriter early
@tustvold
Copy link
Contributor

label_issue.py automatically added labels {'parquet'} from #3477

@tustvold tustvold added the parquet Changes to the parquet crate label Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Any new improvement worthy of a entry in the changelog parquet Changes to the parquet crate
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants