PlotJuggler icon indicating copy to clipboard operation
PlotJuggler copied to clipboard

detect apache hive directory structures and use them as prefix suggestions

Open gvz opened this issue 1 month ago • 2 comments

when the parent directories name contains a "=" sign the code traverses upwards until no "=" is found, the parts behind the "=" are joined together with / to create a tree to make the data easy to select when a handling lots of data.

Apache hive format: test ├── year=2021 │ ├── month=1 │ │ ├── file1.parquet │ │ └── file2.parquet │ └── month=2 │ └── file3.parquet

becomes 2021/1/ as the suggestion in the prefix dialog

gvz avatar Nov 19 '25 21:11 gvz

this is nice, but as a directory like this can contain a LOT of files, I think It would be good to have a popup that display the number and size of the files that will be loaded and potentially a checkbox to select / deselect them

facontidavide avatar Nov 21 '25 18:11 facontidavide

I think, I was not clear enough with my explanation. This does not load all files in the parent directories automatically. It is just changing the suggested prefixes from the filename to the hive structure path of the file

gvz avatar Nov 22 '25 11:11 gvz