panbingkun commented on code in PR #38531:
URL: https://github.com/apache/spark/pull/38531#discussion_r1022273230
##########
core/src/main/resources/error/error-classes.json:
##########
@@ -290,6 +290,46 @@
"Null typed values cannot be used as arguments of <functionName>."
]
},
+ "NUM_FORMAT_CONT_THOUSANDS_SEPS" : {
+ "message" : [
+ "Thousands separators (, or G) must have digits in between them in
the number format: <format>."
+ ]
+ },
+ "NUM_FORMAT_CUR_MUST_BEFORE_DEC" : {
+ "message" : [
+ "Currency characters must appear before any decimal point in the
number format: <format>."
+ ]
+ },
+ "NUM_FORMAT_CUR_MUST_BEFORE_DIGIT" : {
+ "message" : [
+ "Currency characters must appear before digits in the number format:
<format>."
+ ]
+ },
+ "NUM_FORMAT_EMPTY" : {
+ "message" : [
+ "The number format string cannot be empty."
+ ]
+ },
+ "NUM_FORMAT_THOUSANDS_SEPS_MUST_BEFORE_DEC" : {
+ "message" : [
+ "Thousands separators (, or G) may not appear after the decimal
point in the number format: <format>."
+ ]
+ },
+ "NUM_FORMAT_UNEXPECTED_TOKEN" : {
+ "message" : [
+ "Unexpected <token> found in the format string <format>; the
structure of the format string must match: [MI|S] [$] [0|9|G|,]* [.|D] [0|9]*
[$] [PR|MI|S]."
+ ]
+ },
+ "NUM_FORMAT_WRONG_NUM_DIGIT" : {
Review Comment:
Ok, let me do it.
--
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]