manojkarthick / pqrs

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

preserve order in cat #50

Closed txdv closed 5 months ago

txdv commented 6 months ago

The order of HashSet is random, so when I cat multiple files its always different. This change will preserve the original order.

manojkarthick commented 5 months ago

This is great, thanks for the contribution @txdv! Does using a LinkedHashSet cause any performance regressions?

txdv commented 5 months ago

It is used for the list of files which is passed. How many files do you think should I try to pass to test the performance implications?