I am trying to append some data to my parquet file and for that, I'm using the following code:
ParquetWriter<GenericRecord> parquetWriter = new ParquetWriter(path, writeSupport, CompressionCodecName.SNAPPY, BLOCK_SIZE, PAGE_SIZE);
final GenericRecord record = new GenericData.Record(avroSchema);
But this creates a new file, it does not append the file. What should I do to append the file?