When persisting a stream into a file using the Apache ORC file format, is there a way to perform an update to an entry? Instead of appending and effectively having an entry multiple time when updating an entry.
incomingStreamDF.writeStream
.format("orc")
.option("path", "/mnt/adls/orc")
.option("checkpointLocation", "/mnt/adls/orc/check")
.trigger(ProcessingTime("25 seconds"))
.start()
It seems that ORC support update, so is there a way to indicate the key of the entry maybe in the writeStream options.