You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2018/10/26 08:34:00 UTC
[jira] [Commented] (SPARK-25851) Fix deprecated API warning in
SQLListener
[ https://issues.apache.org/jira/browse/SPARK-25851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16664891#comment-16664891 ]
Apache Spark commented on SPARK-25851:
--------------------------------------
User 'gengliangwang' has created a pull request for this issue:
https://github.com/apache/spark/pull/22848
> 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
> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org