LuciferYang commented on a change in pull request #30441:
URL: https://github.com/apache/spark/pull/30441#discussion_r527560437
##########
File path: project/SparkBuild.scala
##########
@@ -230,6 +231,8 @@ object SparkBuild extends PomBuild {
// see `scalac -Wconf:help` for details
"-Wconf:cat=deprecation:wv,any:e",
// 2.13-specific warning hits to be muted (as narrowly as possible)
and addressed separately
+ // TODO Enable this option when Scala 2.12 is no longer supported.
Review comment:
@HyukjinKwon A little interesting:

Scala 2.13 think this is a `unused import` but Scala 2.12 compile failed
without this import, so comments `-Wunused:imports` in Scala 2.13 and left a
TODO in this pr
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]