beliefer commented on a change in pull request #30564:
URL: https://github.com/apache/spark/pull/30564#discussion_r537384592
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/package.scala
##########
@@ -42,6 +42,10 @@ package object analysis {
throw new AnalysisException(msg, t.origin.line, t.origin.startPosition)
}
+ def failAnalysis(error: Throwable): Nothing = {
Review comment:
done
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/CheckAnalysis.scala
##########
@@ -50,6 +50,10 @@ trait CheckAnalysis extends PredicateHelper {
throw new AnalysisException(msg)
}
+ protected def failAnalysis(error: Throwable): Nothing = {
+ throw error
Review comment:
done
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]