jadami10 commented on code in PR #14612: URL: https://github.com/apache/pinot/pull/14612#discussion_r1879333029
########## pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotTableRestletResource.java: ########## @@ -1256,8 +1256,9 @@ private long validateSegmentStateForTable(String offlineTableName) TableSegmentValidationInfo tableSegmentValidationInfo = JsonUtils.stringToObject(response, TableSegmentValidationInfo.class); if (!tableSegmentValidationInfo.isValid()) { - throw new ControllerApplicationException(LOGGER, "Table segment validation failed", - Response.Status.PRECONDITION_FAILED); + String error = String.format("Table segment validation failed. error=%s", Review Comment: what's the reasoning? -- 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: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org