Hi,

I created a Merge on Read table and then tried to update a record by
writing the updated record to hudi table base path.

When I look at the affected partition year=2020/month=05, i was expecting
just new log file with the updated record written but in addition to new
log file, i also see that corresponding parquet file is also rewritten.

I see that there is compaction request by looking at below file.
.hoodie/.aux/20200520195745.compaction.requested

My question is whether when we write update to MERGE ON READ table,
compaction is always called? Or is there any setting that controls whether
to automatically call compaction on particular write.

This is the code i ran and also i have attached few screenshots of the
written files
https://gist.github.com/sathyaprakashg/e5107770817f1fe5a1019633ecfafb68


-- 
With Regards,
Sathyaprakash G

Reply via email to