spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (SPARK-17005) Fix warning "method tpe in trait AnnotationApi is deprecated"
Date Thu, 11 Aug 2016 00:17:20 GMT

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

Apache Spark reassigned SPARK-17005:
------------------------------------

    Assignee:     (was: Apache Spark)

> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message