miland-db commented on code in PR #49427: URL: https://github.com/apache/spark/pull/49427#discussion_r1916724775
########## sql/core/src/main/scala/org/apache/spark/sql/scripting/SqlScriptingInterpreter.scala: ########## @@ -185,5 +247,7 @@ case class SqlScriptingInterpreter(session: SparkSession) { args, isInternal = false, context) + + case _ => throw new UnsupportedOperationException(s"Unsupported statement: $node") Review Comment: You are correct, I found multiple PRs where this was discussed. Changed to `internalError`. -- 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