[ https://issues.apache.org/jira/browse/SPARK-35526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17351480#comment-17351480 ]
Apache Spark commented on SPARK-35526: -------------------------------------- User 'LuciferYang' has created a pull request for this issue: https://github.com/apache/spark/pull/32669 > Re-cleanup `procedure syntax is deprecated` compilation warning in Scala 2.13 > ----------------------------------------------------------------------------- > > Key: SPARK-35526 > URL: https://issues.apache.org/jira/browse/SPARK-35526 > Project: Spark > Issue Type: Sub-task > Components: Spark Core, SQL > Affects Versions: 3.2.0 > Reporter: Yang Jie > Priority: Trivial > > Similar to SPARK-29291 and SPARK-33352, just to track Spark 3.2.0 > > There are still some compilation warnings about `procedure syntax is > deprecated`: > > {code:java} > [WARNING] [Warn] > /spark/core/src/main/scala/org/apache/spark/MapOutputTracker.scala:723: > [deprecation @ | origin= | version=2.13.0] procedure syntax is deprecated: > instead, add `: Unit =` to explicitly declare `registerMergeResult`'s return > type > [WARNING] [Warn] > /spark/core/src/main/scala/org/apache/spark/MapOutputTracker.scala:748: > [deprecation @ | origin= | version=2.13.0] procedure syntax is deprecated: > instead, add `: Unit =` to explicitly declare `unregisterMergeResult`'s > return type > [WARNING] [Warn] > /spark/core/src/test/scala/org/apache/spark/util/collection/ExternalAppendOnlyMapSuite.scala:223: > [deprecation @ | origin= | version=2.13.0] procedure syntax is deprecated: > instead, add `: Unit =` to explicitly declare > `testSimpleSpillingForAllCodecs`'s return type > [WARNING] [Warn] > /spark/mllib-local/src/test/scala/org/apache/spark/ml/linalg/BLASBenchmark.scala:53: > [deprecation @ | origin= | version=2.13.0] procedure syntax is deprecated: > instead, add `: Unit =` to explicitly declare `runBLASBenchmark`'s return type > [WARNING] [Warn] > /spark/sql/core/src/main/scala/org/apache/spark/sql/execution/command/DataWritingCommand.scala:110: > [deprecation @ | origin= | version=2.13.0] procedure syntax is deprecated: > instead, add `: Unit =` to explicitly declare `assertEmptyRootPath`'s return > type > [WARNING] [Warn] > /spark/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/SQLQuerySuite.scala:602: > [deprecation @ | origin= | version=2.13.0] procedure syntax is deprecated: > instead, add `: Unit =` to explicitly declare > `executeCTASWithNonEmptyLocation`'s return type > {code} > -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org