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



##########
File path: api/src/main/java/org/apache/iceberg/actions/ActionsProvider.java
##########
@@ -40,6 +40,13 @@ default MigrateTable migrateTable(String tableIdent) {
     throw new UnsupportedOperationException(this.getClass().getName() + " does 
not implement migrateTable");
   }
 
+  /**
+   * Instantiates an action to migrate an existing table to Iceberg.
+   */
+  default MigrateTable migrateTable(String tableIdent, int parallelism) {

Review comment:
       Instead of extending the base call here I think it makes sense to extend 
MigrateTable with another functional method like
   ```java
   /**
   * @numReaders the number of concurrent file read operations to use per 
partition
   * @return this for method chaining
   **/
   MigrateTable withParallelReads(int numReaders) {
     // Set some internal property here that is passed through to the list 
utility method
     return this
   }
   
   ```




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