Search code examples
parquet

How to edit Parquet file header programmatically or using editor?


Using parquet-tools I can view header but I dont have a way to edit.

parquet-tools head file.parquet

Do we have a way to edit the header using java code programmatically or using editor?


Solution

  • Parquet files are immutable, so if you need to modify a file you generally need to create a new file with the modifications and replace the old file with it.