aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorReynold Xin <rxin@databricks.com>2016-03-14 23:58:57 -0700
committerReynold Xin <rxin@databricks.com>2016-03-14 23:58:57 -0700
commit276c2d51a3bbe2531763a11580adfec7e39fdd58 (patch)
treee2e6d063986795847167109e6d58464d1b376a39 /conf
parenta51f877b5dc56b7bb9ef95044a50024c6b64718e (diff)
downloadspark-276c2d51a3bbe2531763a11580adfec7e39fdd58.tar.gz
spark-276c2d51a3bbe2531763a11580adfec7e39fdd58.tar.bz2
spark-276c2d51a3bbe2531763a11580adfec7e39fdd58.zip
[SPARK-13890][SQL] Remove some internal classes' dependency on SQLContext
## What changes were proposed in this pull request? In general it is better for internal classes to not depend on the external class (in this case SQLContext) to reduce coupling between user-facing APIs and the internal implementations. This patch removes SQLContext dependency from some internal classes such as SparkPlanner, SparkOptimizer. As part of this patch, I also removed the following internal methods from SQLContext: ``` protected[sql] def functionRegistry: FunctionRegistry protected[sql] def optimizer: Optimizer protected[sql] def sqlParser: ParserInterface protected[sql] def planner: SparkPlanner protected[sql] def continuousQueryManager protected[sql] def prepareForExecution: RuleExecutor[SparkPlan] ``` ## How was this patch tested? Existing unit/integration tests. Author: Reynold Xin <rxin@databricks.com> Closes #11712 from rxin/sqlContext-planner.
Diffstat (limited to 'conf')
0 files changed, 0 insertions, 0 deletions