srielau commented on code in PR #39951:
URL: https://github.com/apache/spark/pull/39951#discussion_r1103170279
##########
core/src/main/resources/error/error-classes.json:
##########
@@ -998,6 +998,12 @@
},
"sqlState" : "42K07"
},
+ "INVALID_SET_SYNTAX" : {
+ "message" : [
+ "Expected format is 'SET', 'SET key', or 'SET key=value'. If you want to
include special characters in key, or include semicolon in value, please use
quotes, e.g., SET `key`=`value`."
Review Comment:
```suggestion
"Expected format is 'SET', 'SET key', or 'SET key=value'. If you want
to include special characters in key, or include semicolon in value, please use
backquotes, e.g., SET `key`=`value`."
```
##########
core/src/main/resources/error/error-classes.json:
##########
@@ -998,6 +998,12 @@
},
"sqlState" : "42K07"
},
+ "INVALID_SET_SYNTAX" : {
+ "message" : [
+ "Expected format is 'SET', 'SET key', or 'SET key=value'. If you want to
include special characters in key, or include semicolon in value, please use
quotes, e.g., SET `key`=`value`."
Review Comment:
Is the value back ticked as well? That seems weird. Or is the example wrong
and it should be quotes for both?
--
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]