itholic commented on code in PR #48381:
URL: https://github.com/apache/spark/pull/48381#discussion_r1798652820
##########
sql/api/src/main/scala/org/apache/spark/sql/errors/ExecutionErrors.scala:
##########
@@ -195,7 +195,7 @@ private[sql] trait ExecutionErrors extends
DataTypeErrorsBase {
fieldName: String,
walkedTypePath: WalkedTypePath): SparkUnsupportedOperationException = {
new SparkUnsupportedOperationException(
- errorClass = "_LEGACY_ERROR_TEMP_2140",
+ errorClass = "INVALID_JAVA_IDENTIFIER_AS_FIELD_NAME",
messageParameters =
Map("fieldName" -> fieldName, "walkedTypePath" ->
walkedTypePath.toString))
Review Comment:
Sounds good. Just updated, thanks!
--
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]