singhpk234 commented on code in PR #16024:
URL: https://github.com/apache/iceberg/pull/16024#discussion_r3175093488


##########
core/src/main/java/org/apache/iceberg/rest/RESTTableScan.java:
##########
@@ -314,6 +315,21 @@ private CloseableIterable<FileScanTask> 
fetchPlanningResult() {
     return scanTasksIterable(response.planTasks(), response.fileScanTasks());
   }
 
+  private static String failureMessage(PlanStatus status, String planId, 
ErrorResponse error) {
+    if (error == null) {
+      return String.format(
+          Locale.ROOT, "Remote scan planning %s for planId: %s", 
status.status(), planId);
+    }

Review Comment:
   required for servers not sending anything here 



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