RussellSpitzer commented on a change in pull request #3724:
URL: https://github.com/apache/iceberg/pull/3724#discussion_r767765801



##########
File path: 
spark/v3.2/spark/src/test/java/org/apache/iceberg/spark/actions/TestRewriteDataFilesAction.java
##########
@@ -1055,12 +1265,11 @@ protected Table createTable(int files) {
     return table;
   }
 
-  protected Table createTablePartitioned(int partitions, int files) {
+  protected Table createTablePartitioned(int partitions, int files, 
Map<String, String> options) {

Review comment:
       Instead of adding a parameter and changing all the usages, it may be 
cleaner to add another method
   ```java
   protected Table createTablePartitioned(int partitions, int files, 
Map<String, String> options) {
   all this code
   }
   ```
   
   And keep a version 
   ```java
    protected Table createTablePartitioned(int partitions, int files) {
        createTablePartitioned(partitions, files, Maps.newHashMap())
    }
   ```




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

Reply via email to