LuciferYang commented on code in PR #44179: URL: https://github.com/apache/spark/pull/44179#discussion_r1415981487
########## core/src/main/scala/org/apache/spark/ui/UIUtils.scala: ########## @@ -431,7 +431,7 @@ private[spark] object UIUtils extends Logging { } val headerRow: Seq[Node] = { - headers.view.zipWithIndex.map { x => + headers.to(LazyList).zipWithIndex.map { x => Review Comment: When using Scala 2.12, it is lazy, so I prefer to use LazyList to restore its lazy characteristics with Scala 2.13 -- 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