panbingkun commented on code in PR #38332:
URL: https://github.com/apache/spark/pull/38332#discussion_r1002898122


##########
core/src/main/resources/error/error-classes.json:
##########
@@ -143,6 +143,11 @@
           "Offset expression <offset> must be a literal."
         ]
       },
+      "HASH_MAP_TYPE" : {
+        "message" : [
+          "Input to function <functionName> cannot contain elements of MAP. In 
Spark, same maps may have different hashcode, thus hash expressions are 
prohibited on MapType elements. To restore previous behavior set 
\"spark.sql.legacy.allowHashOnMapType\" to \"true\".",

Review Comment:
   OK



-- 
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]

Reply via email to