Guosmilesmile commented on code in PR #12979: URL: https://github.com/apache/iceberg/pull/12979#discussion_r2114258216
########## flink/v1.20/flink/src/main/java/org/apache/iceberg/flink/maintenance/operator/TableChange.java: ########## @@ -76,7 +82,11 @@ private TableChange( this.eqDeleteRecordCount += deleteFile.recordCount(); break; default: - throw new IllegalArgumentException("Unexpected delete file content: " + deleteFile); + if (throwException) { + throw new IllegalArgumentException("Unexpected delete file content: " + deleteFile); + } else { + LOG.warn("Unexpected delete file content:{}", deleteFile.content()); + } Review Comment: When working on this part, I considered that there might be more types added in the future. The addition of new types should not cause the job to throw exceptions and restart, so I added logic here to handle that. -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org