You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/09/13 08:39:26 UTC
[GitHub] [spark] gengliangwang commented on pull request #37861: [SPARK-40324][SQL][FOLLOWUP] Fix a bug in setting query context in Analyzer
gengliangwang commented on PR #37861:
URL: https://github.com/apache/spark/pull/37861#issuecomment-1245085715
For throwing AnalysisException, we should use the method
```
def failAnalysis(errorClass: String, messageParameters: Array[String]): Nothing = {
throw new AnalysisException(
errorClass = errorClass,
messageParameters = messageParameters,
origin = t.origin)
}
```
or similar approaches.
--
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-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org