nastra commented on code in PR #14226:
URL: https://github.com/apache/iceberg/pull/14226#discussion_r2409718738
##########
spark/v4.0/spark/src/test/java/org/apache/iceberg/spark/actions/TestRewriteTablePathsAction.java:
##########
@@ -159,8 +175,10 @@ private void dropNameSpaces() {
sql("DROP DATABASE IF EXISTS %s CASCADE", backupNs);
}
- @Test
- public void testRewritePath() throws Exception {
+ @ParameterizedTest
+ @ValueSource(ints = {2, 3})
+ public void testRewritePath(int version) throws Exception {
+ setupTableWithFormatVersion(version);
Review Comment:
you can just call `createTableWithSnapshots(...)` here as there is a version
that takes a properties map
--
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]