karenfeng commented on a change in pull request #33164:
URL: https://github.com/apache/spark/pull/33164#discussion_r664837272
##########
File path: core/src/main/resources/error/error-classes.json
##########
@@ -15,6 +15,10 @@
"message" : [ "The second argument of '%s' function needs to be an
integer." ],
"sqlState" : "22023"
},
+ "UNABLE_TO_ACQUIRE_MEMORY" : {
+ "message" : [ "Unable to acquire %s bytes of memory, got %s" ],
+ "sqlState" : null
Review comment:
Yes; we just need to set the `JsonInclude` configuration. I updated the
test to make sure this is empty if null.
--
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]