Closed juan-riveros closed 2 years ago
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)?
--quiet/-q
println!
eprintln
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.
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 fromprintln!
toeprintln
)?