gengliangwang commented on code in PR #36702: URL: https://github.com/apache/spark/pull/36702#discussion_r883660730
########## core/src/main/java/org/apache/spark/SparkThrowable.java: ########## @@ -42,6 +42,8 @@ default String getSqlState() { return SparkThrowableHelper.getSqlState(this.getErrorClass()); } + default QueryContext getQueryContext() { return null; } Review Comment: I should add some test cases for this. Will do it later. -- 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