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