cloud-fan commented on a change in pull request #30564:
URL: https://github.com/apache/spark/pull/30564#discussion_r537340743
##########
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:
is this method necessary? Can we just let the caller side use throw
directly?
----------------------------------------------------------------
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]