panbingkun commented on code in PR #38463: URL: https://github.com/apache/spark/pull/38463#discussion_r1010355945
########## core/src/main/resources/error/error-classes.json: ########## @@ -155,6 +160,21 @@ "To convert values from <srcType> to <targetType>, you can use the functions <functionNames> instead." ] }, + "CREATE_MAP_KEY_DIFF_TYPES" : { Review Comment: but <img width="814" alt="image" src="https://user-images.githubusercontent.com/15246973/199228400-42c1759f-fc16-4205-a052-fc54b1f3d70b.png"> Very hard to reuse it. Maybe `functionName` pass to: `map's keys` or `map's values`, seems unreasonable -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org