diff options
author | Reynold Xin <rxin@databricks.com> | 2015-02-03 00:29:23 -0800 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2015-02-03 00:29:23 -0800 |
commit | 523a93523d0f9fc12de1ba2dc1acc360cdbc7027 (patch) | |
tree | ca2e98da25be4042b665b33c9d25fa9792d03202 /sql/core | |
parent | 37df330135e6a3e62c580e5706eade5f1eaf5b13 (diff) | |
download | spark-523a93523d0f9fc12de1ba2dc1acc360cdbc7027.tar.gz spark-523a93523d0f9fc12de1ba2dc1acc360cdbc7027.tar.bz2 spark-523a93523d0f9fc12de1ba2dc1acc360cdbc7027.zip |
[SPARK-5551][SQL] Create type alias for SchemaRDD for source backward compatibility
Author: Reynold Xin <rxin@databricks.com>
Closes #4327 from rxin/schemarddTypeAlias and squashes the following commits:
e5a8ff3 [Reynold Xin] [SPARK-5551][SQL] Create type alias for SchemaRDD for source backward compatibility
Diffstat (limited to 'sql/core')
-rw-r--r-- | sql/core/src/main/scala/org/apache/spark/sql/package.scala | 6 |
1 files changed, 6 insertions, 0 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 7c49b5220d..02e5b015e8 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 @@ -38,4 +38,10 @@ package object sql { */ @DeveloperApi protected[sql] type Strategy = org.apache.spark.sql.catalyst.planning.GenericStrategy[SparkPlan] + + /** + * Type alias for [[DataFrame]]. Kept here for backward source compatibility for Scala. + */ + @deprecated("1.3.0", "use DataFrame") + type SchemaRDD = DataFrame } |