You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xin Ren (JIRA)" <ji...@apache.org> on 2016/08/11 00:14:20 UTC

[jira] [Created] (SPARK-17005) Fix warning "method tpe in trait AnnotationApi is deprecated"

Xin Ren created SPARK-17005:
-------------------------------

             Summary: 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