singhpk234 commented on code in PR #14660:
URL: https://github.com/apache/iceberg/pull/14660#discussion_r2553639197
##########
core/src/main/java/org/apache/iceberg/rest/CatalogHandlers.java:
##########
@@ -769,16 +769,22 @@ private static void planFilesFor(TableScan tableScan,
String planId, int tasksPe
Iterables.partition(tableScan.planFiles(), tasksPerPlanTask);
int planTaskSequence = 0;
String previousPlanTask = null;
+ String planTaskKeyPrefix = planId + "-" + tableScan.table().uuid() + "-";
Review Comment:
SG to me, also if there are not next taskPair we can avoid the empty
plan-tasks to be returned which is note required in this case effectively the
response would be :
```
{"status":"completed","plan-id":"sync-a1d448e2-c976-4bca-9a02-92a106e535ae","file-scan-tasks":[]}
```
--
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]