srielau commented on code in PR #39705:
URL: https://github.com/apache/spark/pull/39705#discussion_r1084153828


##########
core/src/main/resources/error/error-classes.json:
##########
@@ -592,6 +592,17 @@
       "Detected an incompatible DataSourceRegister. Please remove the 
incompatible library from classpath or upgrade it. Error: <message>"
     ]
   },
+  "INCOMPATIBLE_TEMP_VIEW_SCHEMA_CHANGE" : {

Review Comment:
   I propose to merge these two. Presumably the causes are exactly the same.
   As noted in the ticket I also propose to merge all causes of a re-create of 
a view failing into one error class and adding subclasses for the distinct 
causes.
   I think that would be:
   * CANNOT UPCAST
   * TABLE NOT FOUND/UNRESOLVED
   * UNRESOLVED FUNCTION
   * DATATYPE MISMATCH
   
   Really it's a nested error...
   
   



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