nastra commented on code in PR #10037: URL: https://github.com/apache/iceberg/pull/10037#discussion_r1538853534
########## api/src/main/java/org/apache/iceberg/actions/MigrateTable.java: ########## @@ -60,6 +60,16 @@ default MigrateTable backupTableName(String tableName) { throw new UnsupportedOperationException("Backup table name cannot be specified"); } + /** + * Sets the number of threads to use for file reading. The default is 1. + * + * @param num the number of threads + * @return this for method chaining + */ + default MigrateTable parallelism(int num) { Review Comment: ```suggestion default MigrateTable parallelism(int numThreads) { ``` ########## api/src/main/java/org/apache/iceberg/actions/SnapshotTable.java: ########## @@ -57,6 +57,16 @@ public interface SnapshotTable extends Action<SnapshotTable, SnapshotTable.Resul */ SnapshotTable tableProperty(String key, String value); + /** + * Sets the number of threads to use for file reading. The default is 1. + * + * @param num the number of threads + * @return this for method chaining + */ + default SnapshotTable parallelism(int num) { Review Comment: ```suggestion default SnapshotTable parallelism(int numThreads) { ``` -- 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