[jira] [Commented] (SPARK-37256) Replace `ScalaObjectMapper` with `ClassTagExtensions` to fix compilation warnings

2021-11-09 Thread Apache Spark (Jira)


[ 
https://issues.apache.org/jira/browse/SPARK-37256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17441142#comment-17441142
 ] 

Apache Spark commented on SPARK-37256:
--

User 'LuciferYang' has created a pull request for this issue:
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
>Priority: Minor
>
> 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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Commented] (SPARK-37256) Replace `ScalaObjectMapper` with `ClassTagExtensions` to fix compilation warnings

2021-11-09 Thread Apache Spark (Jira)


[ 
https://issues.apache.org/jira/browse/SPARK-37256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17441141#comment-17441141
 ] 

Apache Spark commented on SPARK-37256:
--

User 'LuciferYang' has created a pull request for this issue:
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
>Priority: Minor
>
> 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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org