nastra commented on code in PR #14351:
URL: https://github.com/apache/iceberg/pull/14351#discussion_r2454091947
##########
spark/v3.4/spark/src/test/java/org/apache/iceberg/spark/actions/TestRewriteTablePathsAction.java:
##########
@@ -81,16 +85,26 @@
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.TestTemplate;
+import org.junit.jupiter.api.extension.ExtendWith;
import org.junit.jupiter.api.io.TempDir;
import scala.Tuple2;
+@ExtendWith(ParameterizedTestExtension.class)
public class TestRewriteTablePathsAction extends TestBase {
@TempDir private Path staging;
@TempDir private Path tableDir;
@TempDir private Path newTableDir;
@TempDir private Path targetTableDir;
+ @Parameters(name = "formatVersion = {0}")
+ protected static List<Integer> formatVersions() {
+ return TestHelpers.V2_AND_ABOVE;
+ }
+
+ @Parameter private int formatVersion = 2;
Review Comment:
```suggestion
@Parameter private int formatVersion;
```
--
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]