diff options
author | Wenchen Fan <cloud0fan@outlook.com> | 2015-05-14 10:25:18 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2015-05-14 10:25:18 -0700 |
commit | f2cd00be350fdba3acfbfdf155701182d1c404fd (patch) | |
tree | b25f5b8b7a63af97d32c9da65443584ed7ab8b22 /sql/core/src | |
parent | 7fb715de6d90c3eb756935440f75b1de674f8ece (diff) | |
download | spark-f2cd00be350fdba3acfbfdf155701182d1c404fd.tar.gz spark-f2cd00be350fdba3acfbfdf155701182d1c404fd.tar.bz2 spark-f2cd00be350fdba3acfbfdf155701182d1c404fd.zip |
[SQL][minor] rename apply for QueryPlanner
A follow-up of https://github.com/apache/spark/pull/5624
Author: Wenchen Fan <cloud0fan@outlook.com>
Closes #6142 from cloud-fan/tmp and squashes the following commits:
971a92b [Wenchen Fan] use plan instead of execute
24c5ffe [Wenchen Fan] rename apply
Diffstat (limited to 'sql/core/src')
-rw-r--r-- | sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala b/sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala index 521f3dc821..b33a700208 100644 --- a/sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala +++ b/sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala @@ -1321,7 +1321,7 @@ class SQLContext(@transient val sparkContext: SparkContext) // TODO: Don't just pick the first one... lazy val sparkPlan: SparkPlan = { SparkPlan.currentContext.set(self) - planner(optimizedPlan).next() + planner.plan(optimizedPlan).next() } // executedPlan should not be used to initialize any SparkPlan. It should be // only used for execution. |