Skip to content

Commit

Permalink
[SQL] Make Strategies a public developer API
Browse files Browse the repository at this point in the history
Author: Michael Armbrust <michael@databricks.com>

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

cbc35c0 [Michael Armbrust] [SQL] Make Strategies a public developer API
  • Loading branch information
marmbrus committed Mar 5, 2015
1 parent 1b4bb25 commit eb48fd6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions sql/core/src/main/scala/org/apache/spark/sql/package.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit eb48fd6

Please sign in to comment.