LuciferYang commented on code in PR #38507: URL: https://github.com/apache/spark/pull/38507#discussion_r1014968186
########## core/src/main/resources/error/error-classes.json: ########## @@ -225,14 +230,14 @@ "The <functionName> should all be of type map, but it's <dataType>." ] }, - "MAP_CONTAINS_KEY_DIFF_TYPES" : { + "MAP_FROM_ENTRIES_WRONG_TYPE" : { Review Comment: SPARK-41027, but if use `UNEXPECTED_INPUT_TYPE` , the `requiredType` should be `Array of pair Struct` ``` "requiredType" -> s"${toSQLType(ArrayType)} of pair ${toSQLType(StructType)}" ``` is it 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: 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