diff options
author | Vinod K C <vinod.kc@huawei.com> | 2015-07-02 13:42:48 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2015-07-02 13:42:48 +0100 |
commit | c572e25617f993c6b2e7d5f15f0fbf4426f89fab (patch) | |
tree | c55294af316263ed6adfd6fba16902bef80fa4ec | |
parent | 41588365ad29408ccabd216b411e9c43f0053151 (diff) | |
download | spark-c572e25617f993c6b2e7d5f15f0fbf4426f89fab.tar.gz spark-c572e25617f993c6b2e7d5f15f0fbf4426f89fab.tar.bz2 spark-c572e25617f993c6b2e7d5f15f0fbf4426f89fab.zip |
[SPARK-8787] [SQL] Changed parameter order of @deprecated in package object sql
Parameter order of deprecated annotation in package object sql is wrong
>>deprecated("1.3.0", "use DataFrame") .
This has to be changed to deprecated("use DataFrame", "1.3.0")
Author: Vinod K C <vinod.kc@huawei.com>
Closes #7183 from vinodkc/fix_deprecated_param_order and squashes the following commits:
1cbdbe8 [Vinod K C] Modified the message
700911c [Vinod K C] Changed order of parameters
-rw-r--r-- | sql/core/src/main/scala/org/apache/spark/sql/package.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/package.scala b/sql/core/src/main/scala/org/apache/spark/sql/package.scala index 4e94fd07a8..a9c600b139 100644 --- a/sql/core/src/main/scala/org/apache/spark/sql/package.scala +++ b/sql/core/src/main/scala/org/apache/spark/sql/package.scala @@ -46,6 +46,6 @@ package object sql { * Type alias for [[DataFrame]]. Kept here for backward source compatibility for Scala. * @deprecated As of 1.3.0, replaced by `DataFrame`. */ - @deprecated("1.3.0", "use DataFrame") + @deprecated("use DataFrame", "1.3.0") type SchemaRDD = DataFrame } |