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?
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.