rdblue commented on code in PR #19129:
URL: https://github.com/apache/iceberg/pull/19129#discussion_r4807826935
##########
core/src/main/java/org/apache/iceberg/BaseReplacePartitions.java:
##########
@@ -116,11 +115,6 @@ public List<ManifestFile> apply(TableMetadata base,
Snapshot snapshot) {
deleteByRowFilter(Expressions.alwaysTrue());
}
- try {
- return super.apply(base, snapshot);
- } catch (ManifestFilterManager.DeleteException e) {
- throw new ValidationException(
- "Cannot commit file that conflicts with existing partition: %s",
e.partition());
- }
+ return super.apply(base, snapshot);
Review Comment:
The change is simpler and improves the error message because it shows which
files would be deleted, not just which partition had a data file added to it.
That's more information than just the partition.
--
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]