GitHub user rxin opened a pull request:
https://github.com/apache/spark/pull/11712
[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.
## How was this patch tested?
Existing unit/integration tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rxin/spark sqlContext-planner
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/11712.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #11712
----
commit 453bb3a16e3509ec3015e6e7c798235f9f2d4bd3
Author: Reynold Xin <[email protected]>
Date: 2016-03-15T02:48:55Z
[SPARK-13884][SQL] Remove DescribeCommand's dependency on LogicalPlan
commit 31fc6cd1206b5918a3a5fb8b93d9cf27dad28e9b
Author: Reynold Xin <[email protected]>
Date: 2016-03-15T05:09:11Z
[SPARK-13890][SQL] Remove some internal classes' dependency on SQLContext
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]