diff options
author | Michael Armbrust <michael@databricks.com> | 2015-03-05 14:50:25 -0800 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2015-03-05 14:50:25 -0800 |
commit | eb48fd6e9d55fb034c00e61374bb9c2a86a82fb8 (patch) | |
tree | 85428fd10a90a3da93e20db124f38d186aacdd92 /sql | |
parent | 1b4bb25c10d72132d7f4f3835ef9a3b94b2349e0 (diff) | |
download | spark-eb48fd6e9d55fb034c00e61374bb9c2a86a82fb8.tar.gz spark-eb48fd6e9d55fb034c00e61374bb9c2a86a82fb8.tar.bz2 spark-eb48fd6e9d55fb034c00e61374bb9c2a86a82fb8.zip |
[SQL] Make Strategies a public developer API
Author: Michael Armbrust <michael@databricks.com>
Closes #4920 from marmbrus/openStrategies and squashes the following commits:
cbc35c0 [Michael Armbrust] [SQL] Make Strategies a public developer API
Diffstat (limited to 'sql')
-rw-r--r-- | sql/core/src/main/scala/org/apache/spark/sql/package.scala | 7 |
1 files changed, 5 insertions, 2 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 02e5b015e8..3f97a11ceb 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 @@ -34,10 +34,13 @@ import org.apache.spark.sql.execution.SparkPlan package object sql { /** - * Converts a logical plan into zero or more SparkPlans. + * Converts a logical plan into zero or more SparkPlans. This API is exposed for experimenting + * with the query planner and is not designed to be stable across spark releases. Developers + * writing libraries should instead consider using the stable APIs provided in + * [[org.apache.spark.sql.sources]] */ @DeveloperApi - protected[sql] type Strategy = org.apache.spark.sql.catalyst.planning.GenericStrategy[SparkPlan] + type Strategy = org.apache.spark.sql.catalyst.planning.GenericStrategy[SparkPlan] /** * Type alias for [[DataFrame]]. Kept here for backward source compatibility for Scala. |