mukunku / ParquetViewer

Simple Windows desktop application for viewing & querying Apache Parquet files
GNU General Public License v3.0
754 stars 91 forks source link

Select all fields by default, when opening a file #10

Closed tobias-hd closed 3 years ago

tobias-hd commented 5 years ago

When opening a parquet file, ParquetViewer first launches a popup "Select fields to load", where you either can confirm to load all fields, or select the fields you want.

In all use cases relevant for me, I want to display all fields. Hence I'm wondering if it would be possible to skip this popup all together? It's just inconvenient to always confirm the "All fields...", before you see any data.

Maybe skipping this popup can become a configuration option somewhere?

mukunku commented 5 years ago

This can be achieved by adding an additional radio button such as 'All Fields (Don't Ask Again)'. But this will only be valid for the active session as the ParquetViewer does not store any user settings any where at this time.

tobias-hd commented 5 years ago

Hmm, I think that might not be an optimal solution, since I rarely open multiple parquet-files with the same window of ParquetViewer.

What about introducing a maximum number of columns (e.g., 10), below which all columns are immediately displayed by default, without the popup?

mukunku commented 5 years ago

10 would be sort of a 'magic number' in this case. It might work for you, but not others.

mukunku commented 3 years ago

This feature has been added in the latest release (#21)

image