nastra commented on code in PR #6887: URL: https://github.com/apache/iceberg/pull/6887#discussion_r1418968329
########## core/src/main/java/org/apache/iceberg/avro/AvroIO.java: ########## @@ -178,7 +178,7 @@ static long findStartingRowPos(Supplier<SeekableInputStream> open, long start) { SYNC_READER.read(decoder, blockSync); if (!Arrays.equals(fileSync, blockSync)) { - throw new RuntimeIOException("Invalid sync at %s", nextSyncPos); + throw new IOException(String.format("Invalid sync at %s", nextSyncPos)); Review Comment: this change doesn't seem to be related to the scope of this PR? -- 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