mihailom-db commented on code in PR #45218:
URL: https://github.com/apache/spark/pull/45218#discussion_r1500370094


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/errors/QueryCompilationErrors.scala:
##########
@@ -289,14 +289,21 @@ private[sql] object QueryCompilationErrors extends 
QueryErrorsBase with Compilat
   }
 
   def namedArgumentsNotEnabledError(functionName: String, argumentName: 
String): Throwable = {
-    new AnalysisException(
+    new SparkUnsupportedOperationException(

Review Comment:
   It slipped in, I was thinking whether my exception should be one or the 
other, so I accidentally changed this.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to