itholic commented on code in PR #39890:
URL: https://github.com/apache/spark/pull/39890#discussion_r1098152415
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/errors/QueryExecutionErrors.scala:
##########
@@ -1337,7 +1337,7 @@ private[sql] object QueryExecutionErrors extends
QueryErrorsBase {
def duplicateMapKeyFoundError(key: Any): SparkRuntimeException = {
new SparkRuntimeException(
- errorClass = "_LEGACY_ERROR_TEMP_2127",
+ errorClass = "DUPLICATED_MAP_KEY",
Review Comment:
> Let's inline the config value LAST_WIN as we do for boolean configs, for
instance:
So, let me just inline the "LAST_WIN" instead of quoting the config value.
--
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]