Skip to content

Commit 523a935

Browse files
committed
[SPARK-5551][SQL] Create type alias for SchemaRDD for source backward compatibility
Author: Reynold Xin <[email protected]> Closes apache#4327 from rxin/schemarddTypeAlias and squashes the following commits: e5a8ff3 [Reynold Xin] [SPARK-5551][SQL] Create type alias for SchemaRDD for source backward compatibility
1 parent 37df330 commit 523a935

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

sql/core/src/main/scala/org/apache/spark/sql/package.scala

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,10 @@ package object sql {
3838
*/
3939
@DeveloperApi
4040
protected[sql] type Strategy = org.apache.spark.sql.catalyst.planning.GenericStrategy[SparkPlan]
41+
42+
/**
43+
* Type alias for [[DataFrame]]. Kept here for backward source compatibility for Scala.
44+
*/
45+
@deprecated("1.3.0", "use DataFrame")
46+
type SchemaRDD = DataFrame
4147
}

0 commit comments

Comments
 (0)