Repository: spark
Updated Branches:
  refs/heads/branch-1.4 f5c9296a6 -> eb0dd45de


[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...@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

(cherry picked from commit c572e25617f993c6b2e7d5f15f0fbf4426f89fab)
Signed-off-by: Sean Owen <so...@cloudera.com>


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/eb0dd45d
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/eb0dd45d
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/eb0dd45d

Branch: refs/heads/branch-1.4
Commit: eb0dd45de409f4ab8097cc0aabc93a0d670f3293
Parents: f5c9296
Author: Vinod K C <vinod...@huawei.com>
Authored: Thu Jul 2 13:42:48 2015 +0100
Committer: Sean Owen <so...@cloudera.com>
Committed: Thu Jul 2 13:42:58 2015 +0100

----------------------------------------------------------------------
 sql/core/src/main/scala/org/apache/spark/sql/package.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/eb0dd45d/sql/core/src/main/scala/org/apache/spark/sql/package.scala
----------------------------------------------------------------------
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 4e94fd0..a9c600b 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
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to