Repository: spark
Updated Branches:
  refs/heads/branch-1.3 083fed555 -> 556e0de1a


[SQL] Make Strategies a public developer API

Author: Michael Armbrust <[email protected]>

Closes #4920 from marmbrus/openStrategies and squashes the following commits:

cbc35c0 [Michael Armbrust] [SQL] Make Strategies a public developer API

(cherry picked from commit eb48fd6e9d55fb034c00e61374bb9c2a86a82fb8)
Signed-off-by: Michael Armbrust <[email protected]>


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

Branch: refs/heads/branch-1.3
Commit: 556e0de1aded8d0b0606063e4e66ee144bcdb5bc
Parents: 083fed5
Author: Michael Armbrust <[email protected]>
Authored: Thu Mar 5 14:50:25 2015 -0800
Committer: Michael Armbrust <[email protected]>
Committed: Thu Mar 5 14:50:58 2015 -0800

----------------------------------------------------------------------
 sql/core/src/main/scala/org/apache/spark/sql/package.scala | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/556e0de1/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 02e5b01..3f97a11 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.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to