You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Spark SQL MERGE INTO that moves a row of a table without a record key gives the row a new row ID #21044
On a merge-on-read table without a record key in a non-native table format, with hoodie.write.updates.as.deletes.and.inserts enabled, a Spark SQL MERGE INTO that moves a matched row to another partition gives the new version a new row ID. The statement writes the new version with a newly generated record key, so the write cannot pair it with the delete of the old row and carry over the format meta column values the way a keyless UPDATE (#21020) and a global index move (#21021) do.
Keeping the row ID needs the new version to keep the generated record key of the row it replaces, or another way to pair the two records. Raised in review of #21020.
Activity