[
https://issues.apache.org/jira/browse/SPARK-35526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dongjoon Hyun resolved SPARK-35526.
-----------------------------------
Fix Version/s: 3.2.0
Resolution: Fixed
Issue resolved by pull request 32669
[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
> Assignee: Yang Jie
> Priority: Trivial
> Fix For: 3.2.0
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]