srowen commented on a change in pull request #30760:
URL: https://github.com/apache/spark/pull/30760#discussion_r543475707
##########
File path: project/SparkBuild.scala
##########
@@ -238,7 +238,16 @@ object SparkBuild extends PomBuild {
"-Wconf:cat=other-match-analysis&site=org.apache.spark.sql.catalyst.catalog.SessionCatalog.lookupFunction.catalogFunction:wv",
"-Wconf:cat=other-pure-statement&site=org.apache.spark.streaming.util.FileBasedWriteAheadLog.readAll.readFile:wv",
"-Wconf:cat=other-pure-statement&site=org.apache.spark.scheduler.OutputCommitCoordinatorSuite.<local
OutputCommitCoordinatorSuite>.futureAction:wv",
-
"-Wconf:cat=other-pure-statement&site=org.apache.spark.sql.streaming.sources.StreamingDataSourceV2Suite.testPositiveCase.\\$anonfun:wv"
+
"-Wconf:cat=other-pure-statement&site=org.apache.spark.sql.streaming.sources.StreamingDataSourceV2Suite.testPositiveCase.\\$anonfun:wv",
+ // SPARK-33775 Suppress compilation warnings that contain the
following contents.
+
"-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",
+ "-Wconf:msg=Unicode escapes in triple quoted strings are
deprecated:s",
Review comment:
Some of these we should maybe just fix, like how many unicode escape
issues do we have?
We've already got rid of most of the symbol literal usages and view bounds.
The rest look OK, maybe better to suppress than fix. We have to remember to
undo some of them eventually like paying attention to what's deprecated in 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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]