srielau commented on code in PR #36693: URL: https://github.com/apache/spark/pull/36693#discussion_r890413958
########## core/src/main/java/org/apache/spark/SparkThrowable.java: ########## @@ -46,4 +49,13 @@ default String getSqlState() { default boolean isInternalError() { return SparkThrowableHelper.isInternalError(this.getErrorClass()); } + + default String[] getMessageParameters() { + return new String[]{}; + } + + // True if this error is an internal error. Review Comment: ```suggestion // Returns a string array of all parameters that need to be passed to this error message ``` -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org