manojkarthick / pqrs

Command line tool for inspecting Parquet files
Apache License 2.0
283 stars 27 forks source link

Don't show file header when outputting json #27

Closed theduke closed 2 years ago

theduke commented 2 years ago

When using pqrs cat --json the output still contains the file headers for each file, making it much less useful for quickly converting a file or a bunch of files to JSON.

I feel like the headers should not be present at all when outputting JSON or CSV. There could be an additional flag to add them.

manojkarthick commented 2 years ago

The header is already removed when using head with the --json flag, and cat command should work the same way too. Thanks for opening the issue!

manojkarthick commented 2 years ago

Hi @theduke, this has been fixed in the master branch. I am working a few other changes, so I'll publish a release in a couple of days.

theduke commented 2 years ago

Thanks!