nastra commented on code in PR #9613:
URL: https://github.com/apache/iceberg/pull/9613#discussion_r1474594754


##########
spark/v3.5/spark-extensions/src/test/java/org/apache/iceberg/spark/extensions/TestAddFilesProcedure.java:
##########
@@ -85,34 +83,26 @@ public static Object[][] parameters() {
     };
   }
 
-  private final int formatVersion;
+  @Parameter(index = 3)
+  protected int formatVersion;
+
   private final String sourceTableName = "source_table";
   private File fileTableDir;
 
-  public TestAddFilesProcedure(
-      String catalogName, String implementation, Map<String, String> config, 
int formatVersion) {
-    super(catalogName, implementation, config);
-    this.formatVersion = formatVersion;
-  }
-
-  @Rule public TemporaryFolder temp = new TemporaryFolder();
+  @TempDir protected Path temp;

Review Comment:
   no need to make this protected, because this class doesn't have any 
subclasses



-- 
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

Reply via email to