[
https://issues.apache.org/jira/browse/SPARK-25851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Apache Spark reassigned SPARK-25851:
------------------------------------
Assignee: Apache Spark
> Fix deprecated API warning in SQLListener
> -----------------------------------------
>
> Key: SPARK-25851
> URL: https://issues.apache.org/jira/browse/SPARK-25851
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.0.0
> Reporter: Gengliang Wang
> Assignee: Apache Spark
> Priority: Trivial
>
> In https://github.com/apache/spark/pull/21596, Jackson is upgraded to 2.9.6.
> There are some deprecated API warnings in SQLListener.
> Create a trivial PR to fix them.
> ```
> [warn] SQLListener.scala:92: method uncheckedSimpleType in class TypeFactory
> is deprecated: see corresponding Javadoc for more information.
> [warn] val objectType = typeFactory.uncheckedSimpleType(classOf[Object])
> [warn]
> [warn] SQLListener.scala:93: method constructSimpleType in class TypeFactory
> is deprecated: see corresponding Javadoc for more information.
> [warn] typeFactory.constructSimpleType(classOf[(_, _)], classOf[(_, _)],
> Array(objectType, objectType))
> [warn]
> [warn] SQLListener.scala:97: method uncheckedSimpleType in class TypeFactory
> is deprecated: see corresponding Javadoc for more information.
> [warn] val longType = typeFactory.uncheckedSimpleType(classOf[Long])
> [warn]
> [warn] SQLListener.scala:98: method constructSimpleType in class TypeFactory
> is deprecated: see corresponding Javadoc for more information.
> [warn] typeFactory.constructSimpleType(classOf[(_, _)], classOf[(_, _)],
> Array(longType, longType))
> ```
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]