LuciferYang commented on code in PR #39351:
URL: https://github.com/apache/spark/pull/39351#discussion_r1060254037


##########
core/src/main/scala/org/apache/spark/ErrorClassesJSONReader.scala:
##########
@@ -90,8 +90,8 @@ private object ErrorClassesJsonReader {
   private val mapper: JsonMapper = JsonMapper.builder()
     .addModule(DefaultScalaModule)
     .build()
-  private def readAsMap(url: URL): SortedMap[String, ErrorInfo] = {
-    val map = mapper.readValue(url, new TypeReference[SortedMap[String, 
ErrorInfo]]() {})
+  private def readAsMap(url: URL): Map[String, ErrorInfo] = {

Review Comment:
   cc @MaxGekk FYI



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