LuciferYang commented on code in PR #39770:
URL: https://github.com/apache/spark/pull/39770#discussion_r1096139146
##########
core/src/test/scala/org/apache/spark/util/JsonProtocolSuite.scala:
##########
@@ -793,7 +793,7 @@ class JsonProtocolSuite extends SparkFunSuite {
}
test("SPARK-42206: skip logging of all-zero Task Executor Metrics") {
- val allZeroTaskExecutorMetrics = new ExecutorMetrics(Map.empty[String,
Long])
+ val allZeroTaskExecutorMetrics = new ExecutorMetrics(Array.emptyLongArray)
Review Comment:
`Map.empty[String, Long]` should also ok for Scala 2.13 after
https://github.com/apache/spark/pull/39772 merged
--
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]