[ 
https://issues.apache.org/jira/browse/SPARK-25851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Owen resolved SPARK-25851.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0

Issue resolved by pull request 22848
[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
>            Assignee: Gengliang Wang
>            Priority: Trivial
>             Fix For: 3.0.0
>
>
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to