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


##########
core/src/main/resources/error/error-classes.json:
##########
@@ -933,6 +933,12 @@
     ],
     "sqlState" : "42604"
   },
+  "INVALID_TYPE_FOR_FILTER_EXPR" : {

Review Comment:
   It isn't really a parameter. It's debatable whether it should be a subclass. 
But DATATYPE_MISMATCH is really turning into a catchall. I would either leave 
it as is, or make it:
   DATATYPE_MISMATCH.FILTER_NOT_BOOLEAN or so..



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