itschrispeck commented on code in PR #16212: URL: https://github.com/apache/pinot/pull/16212#discussion_r2175535970
########## pinot-query-planner/src/main/java/org/apache/pinot/query/QueryEnvironment.java: ########## @@ -280,7 +282,13 @@ public CompiledQuery compile(String sqlQuery, SqlNodeAndOptions sqlNodeAndOption if (plannerContext != null) { plannerContext.close(); } - throw QueryErrorCode.SQL_PARSING.asException("Error composing query plan: " + t.getMessage(), t); + String message = t.getMessage(); + if (message == null) { + message = "Null message from " + t.getClass().getSimpleName(); + LOGGER.error("Query plan composing failed with null message. Exception type: {}, SQL: {}, Stack trace: {}", Review Comment: Can this issue be solved with `-XX:-OmitStackTraceInFastThrow`? -- 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