RussellSpitzer commented on code in PR #16024:
URL: https://github.com/apache/iceberg/pull/16024#discussion_r3164213585
##########
core/src/main/java/org/apache/iceberg/rest/RESTTableScan.java:
##########
@@ -219,7 +219,9 @@ private CloseableIterable<FileScanTask>
planTableScan(PlanTableScanRequest planT
return fetchPlanningResult();
case FAILED:
throw new IllegalStateException(
- String.format("Received status: %s for planId: %s",
PlanStatus.FAILED, planId));
+ String.format(
+ "Received status: %s for planId: %s. Server error: %s",
+ PlanStatus.FAILED, planId, response.errorMessage()));
Review Comment:
nit: planID instead of planId (there are a bunch of places for 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]