[
https://issues.apache.org/jira/browse/SPARK-37256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sean R. Owen resolved SPARK-37256.
----------------------------------
Fix Version/s: 3.3.0
Resolution: Fixed
Issue resolved by pull request 34532
[https://github.com/apache/spark/pull/34532]
> Replace `ScalaObjectMapper` with `ClassTagExtensions` to fix compilation
> warnings
> ---------------------------------------------------------------------------------
>
> Key: SPARK-37256
> URL: https://issues.apache.org/jira/browse/SPARK-37256
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.3.0
> Reporter: Yang Jie
> Assignee: Yang Jie
> Priority: Minor
> Fix For: 3.3.0
>
>
> There are some compilation warning log as follows:
> {code:java}
> [WARNING] [Warn]
> /spark/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/util/RebaseDateTime.scala:268:
> [deprecation @
> org.apache.spark.sql.catalyst.util.RebaseDateTime.loadRebaseRecords.mapper.$anon
> | origin=com.fasterxml.jackson.module.scala.ScalaObjectMapper |
> version=2.12.1] trait ScalaObjectMapper in package scala is deprecated (since
> 2.12.1): ScalaObjectMapper is deprecated because Manifests are not supported
> in Scala3 {code}
> We can refer to the recommendations of `jackson-module-scala` for fix
> {code:java}
> ScalaObjectMapper is deprecated because Manifests are not supported in
> Scala3, you might want to use ClassTagExtensions as a replacement {code}
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]