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

Silence non-row output in pqrs cat #20

Closed
juan-riveros opened this issue Dec 7, 2021 · 1 comment
Closed

Silence non-row output in pqrs cat #20

juan-riveros opened this issue Dec 7, 2021 · 1 comment

Comments

@juan-riveros
Copy link
Contributor

I have to convert formats from time to time and being able to just pipe the outputs is super helpful.

Unfortunately having the extra 6 lines means having a (slightly) more complicated command which is harder to share among my team.

pqrs cat -j foo.parquet | tail -n +6 |jq -c . - | gzip -c > foo.ndjson.gz

Adding a --quiet/-q flag to mute any non-data output would be neat, or possibly just moving that type of output to stderr instead (ie. changing lines 110-112 from println! to eprintln)?

@juan-riveros
Copy link
Contributor Author

Oops, put the PR to the wrong repo. Anyways, it's a simple fix if the quiet flag is just not something you want to deal with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants