anishshri-db commented on code in PR #56153:
URL: https://github.com/apache/spark/pull/56153#discussion_r3313726770


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/errors/QueryCompilationErrors.scala:
##########
@@ -2472,6 +2472,13 @@ private[sql] object QueryCompilationErrors extends 
QueryErrorsBase with Compilat
     DataTypeErrors.userSpecifiedSchemaUnsupportedError(operation)
   }
 
+  def streamingUserSpecifiedSchemaNotAllowedInTableError(): Throwable = {
+    new AnalysisException(
+      errorClass = "STREAMING_USER_SPECIFIED_SCHEMA_NOT_ALLOWED_IN_TABLE",

Review Comment:
   Can we group this under an existing error class ?



-- 
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