pvary commented on code in PR #12692: URL: https://github.com/apache/iceberg/pull/12692#discussion_r2067872681
########## spark/v3.5/spark-extensions/src/test/java/org/apache/iceberg/spark/extensions/TestRewriteDataFilesProcedure.java: ########## @@ -638,7 +638,7 @@ public void testRewriteDataFilesWithInvalidInputs() { + "sort_order => 'c1 ASC NULLS FIRST')", catalogName, tableIdent)) .isInstanceOf(IllegalArgumentException.class) - .hasMessage("Must use only one rewriter type (bin-pack, sort, zorder)"); + .hasMessageStartingWith("Rewriter type already set to "); Review Comment: Changed to `Cannot set rewrite mode, it has already been set to `. I think this is a bit better, but ok with reverting to your version if you don't agree. -- 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