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

Reynold Xin closed SPARK-17005.
-------------------------------
    Resolution: Won't Fix

This will break Scala 2.10.


> Fix warning "method tpe in trait AnnotationApi is deprecated"
> -------------------------------------------------------------
>
>                 Key: SPARK-17005
>                 URL: https://issues.apache.org/jira/browse/SPARK-17005
>             Project: Spark
>          Issue Type: Improvement
>          Components: Examples
>    Affects Versions: 2.0.0
>            Reporter: Xin Ren
>            Priority: Trivial
>
> When running module 'examples', there is warning:
> {code}
> [warn] 
> /Users/quickmobile/workspace/spark/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/ScalaReflection.scala:349:
>  method tpe in trait AnnotationApi is deprecated: Use `tree.tpe` instead
> [warn]       case t if t.typeSymbol.annotations.exists(_.tpe =:= 
> typeOf[SQLUserDefinedType]) =>
> [warn]                                                   ^
> [warn] 
> /Users/quickmobile/workspace/spark/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/ScalaReflection.scala:551:
>  method tpe in trait AnnotationApi is deprecated: Use `tree.tpe` instead
> [warn]       case t if t.typeSymbol.annotations.exists(_.tpe =:= 
> typeOf[SQLUserDefinedType]) =>
> [warn]                                                   ^
> [warn] 
> /Users/quickmobile/workspace/spark/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/ScalaReflection.scala:647:
>  method tpe in trait AnnotationApi is deprecated: Use `tree.tpe` instead
> [warn]       case t if t.typeSymbol.annotations.exists(_.tpe =:= 
> typeOf[SQLUserDefinedType]) =>
> [warn]                                                   ^
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to