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


##########
project/SparkBuild.scala:
##########
@@ -237,7 +237,14 @@ object SparkBuild extends PomBuild {
         //  fixed.
         
"-Wconf:msg=^(?=.*?method|value|type|object|trait|inheritance)(?=.*?deprecated)(?=.*?since
 2.13).+$:s",
         "-Wconf:msg=^(?=.*?Widening conversion from)(?=.*?is deprecated 
because it loses precision).+$:s",
-        "-Wconf:msg=Auto-application to \\`\\(\\)\\` is deprecated:s",
+        // SPARK-45610 Convert "Auto-application to `()` is deprecated" to 
compile error, as it will become a compile error in Scala 3.
+        "-Wconf:cat=deprecation&msg=Auto-application to \\`\\(\\)\\` is 
deprecated:e",

Review Comment:
   Recently, the `Run / Build modules: streaming, sql-kafka-0-10, 
streaming-kafka-0-10, mllib-local, mllib, yarn, kubernetes, hadoop-cloud, 
spark-ganglia-lgpl, connect, protobuf` task is not easily successful, the 
compilation container is always getting killed, I have triggered it again.
   
   



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