GitHub user andrewor14 opened a pull request:
https://github.com/apache/spark/pull/8764
[SPARK-10613] [SQL] Reduce LocalNode tests dependency on SQLContext
This is WIP. The remaining tasks include:
- Fix `TakeOrderedAndProjectSuite`, where tests are currently ignored
- Do `HashJoinNodeSuite`
- Actually remove `SharedSQLContext` from `LocalNodeTest`
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/andrewor14/spark sql-local-tests-cleanup
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/8764.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 #8764
----
commit 7740f5cb05babb6f3aa074786688378d045e51a6
Author: Andrew Or <[email protected]>
Date: 2015-09-15T01:37:32Z
Rewrite FilterNodeSuite to use LocalRelations
This commit refactors DummyNode to take in data from LocalRelation.
Then it rewrites FilterNodeSuite to make it read from DummyNode
instead of from a DataFrame. Future commits will cover other
LocalNode test suites.
commit 10fc10972300aa6fcae9110e0b96055611a606f0
Author: Andrew Or <[email protected]>
Date: 2015-09-15T06:42:16Z
Intersect, Project, and Limit
commit a93a2603ce19b60b13a5cd7235d22b28620caea1
Author: Andrew Or <[email protected]>
Date: 2015-09-15T08:13:47Z
TakeOrderedAndProject + Sample
commit 0030ba0b6fb1a629317f4190af9c3ffb9868ad67
Author: Andrew Or <[email protected]>
Date: 2015-09-15T08:16:15Z
Merge branch 'master' of github.com:apache/spark into
sql-local-tests-cleanup
Conflicts:
sql/core/src/main/scala/org/apache/spark/sql/execution/local/LocalNode.scala
sql/core/src/test/scala/org/apache/spark/sql/execution/local/LocalNodeTest.scala
----
---
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]