manojkarthick / pqrs

Command line tool for inspecting Parquet files
Apache License 2.0
294 stars 29 forks source link

CSV-support in `pqrs cat`? #15

Closed Hoeze closed 3 years ago

Hoeze commented 3 years ago

Hi, would it be possible to support CSV/TSV in addition to JSON in pqrs cat?

manojkarthick commented 3 years ago

Hi @Hoeze, thanks for filing this feature request. I've added support for CSV output to the cat subcommand.

Do note that CSV output is not supported if the parquet file contains struct or byte columns. This is due to a limitation in the CSV writer provided by Apache arrow.

Let me know if you face any issues. Thanks!