manojkarthick/pqrs

consider removing first few lines of output from pqrs cat --json?

AlJohri opened this issue · 3 comments

I would love to pipe the contents of pqrs cat --json <filename into jq or other tools. Currently the header from pqrs cat prevents me from doing this.


######################################################
File: ../myfolder/myfile.parquet
######################################################

Is there a chance we can either remove this entirely or remove it specifically when used with the --json flag?

My current version:

❯ pqrs --version
pqrs 0.2.0

Potentially related to --csv --no-header flag that was recently added: #31

maybe we can add --quiet argument to cat command, if this is valid, I can make contribute this feature

maybe we can add --quiet argument to cat command, if this is valid, I can make contribute this feature

Hi @klion26, for sure - happy to review and release the feature if you contribute.