yujun777 commented on code in PR #59585:
URL: https://github.com/apache/doris/pull/59585#discussion_r2663502051
##########
fe/fe-core/src/main/java/org/apache/doris/httpv2/rest/StmtExecutionAction.java:
##########
@@ -174,7 +174,12 @@ private ResponseEntity
executeQuery(ActionAuthorizationInfo authInfo, boolean is
}
return ResponseEntityBuilder.ok(resultSet.getResult());
} catch (InterruptedException | ExecutionException e) {
- LOG.warn("failed to execute stmt", e);
+ Throwable cause = e.getCause() != null ? e.getCause() : e;
+ if (cause instanceof java.sql.SQLSyntaxErrorException) {
Review Comment:
add"&& (cause.isSuppressStackTrace() || e.isSuppressStackTrace())" 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]