manuzhang commented on code in PR #17018:
URL: https://github.com/apache/iceberg/pull/17018#discussion_r3503120054
##########
flink/v2.1/flink/src/main/java/org/apache/iceberg/flink/maintenance/operator/EqualityConvertPKIndex.java:
##########
@@ -174,6 +180,8 @@ public void processElement(IndexCommand cmd,
ReadOnlyContext ctx, Collector<DVPo
resolveSequenceNumber.update(cmd.deleteSequenceNumber());
}
+ resolveSpecId.update(cmd.deleteSpecId());
Review Comment:
`resolveSpecId` is a single value per equality key, but the PR now removes
specId from the key. Since the planner emits all equality-delete files in one
delete phase, two same-key deletes from different specs overwrite each other
and only the last scope is applied in resolveDeletes。
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]