kingeasternsun commented on code in PR #6624:
URL: https://github.com/apache/iceberg/pull/6624#discussion_r1083420860
##########
spark/v3.2/spark/src/main/java/org/apache/iceberg/spark/procedures/MigrateTableProcedure.java:
##########
@@ -99,7 +100,13 @@ public InternalRow[] call(InternalRow args) {
if (dropBackup) {
result = migrateTableSparkAction.dropBackup().execute();
} else {
- result = migrateTableSparkAction.execute();
+ int parallelism;
+ if (!args.isNullAt(3)) {
+ parallelism = args.getInt(3);
+ } else {
+ parallelism = 1;
+ }
Review Comment:
> Same nit as below i think ternary assignment works well here
Thanks, I have fixed @amogh-jahagirdar .
--
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]