GitHub user JoshRosen opened a pull request:

    https://github.com/apache/spark/pull/6885

    [SPARK-8446] [SQL] Add helper functions for testing SparkPlan physical 
operators

    This patch introduces `SparkPlanTest`, a base class for unit tests of 
SparkPlan physical operators.  This is analogous to Spark SQL's existing 
`QueryTest`, which does something similar for end-to-end tests with actual 
queries.
    
    These helper methods provide nicer error output when tests fail and help 
developers to avoid writing lots of boilerplate in order to execute manually 
constructed physical plans.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/JoshRosen/spark spark-plan-test

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/6885.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 #6885
    
----
commit a46144a4e3d10c4b2d872250518fe06f659eb90f
Author: Josh Rosen <[email protected]>
Date:   2015-06-17T18:14:33Z

    WIP

commit 996332ab0ff6432110f134efaf622d2fa10561b8
Author: Josh Rosen <[email protected]>
Date:   2015-06-18T17:36:34Z

    Add types so that tests compile

commit c60a44d4c9b59a613764484dedbe1cbbc514ad9b
Author: Josh Rosen <[email protected]>
Date:   2015-06-18T18:01:16Z

    Manually bind references

----


---
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]

Reply via email to