yihua opened a new issue, #20892: URL: https://github.com/apache/hudi/issues/20892
On a merge-on-read table, a Spark SQL MERGE INTO that writes partial updates (the default for an `UPDATE SET col = ...` clause) can corrupt the updated record when the same write routes another source record into a small base file of the same file group. The merge that packs inserts into the small base file reads every record of the file group, and takes the partial update of the matched record for a full record, so the fields the statement did not assign come back as null (the record key included). The statement succeeds and the table silently holds a broken row. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
