GitHub user liancheng opened a pull request:

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

    Fixes caching related JoinSuite failure

    PR #2860 refines in-memory table statistics and enables broader broadcasted 
hash join optimization for in-memory tables. This makes `JoinSuite` fail when 
some test suite caches test table `testData` and gets executed before 
`JoinSuite`. Because expected `ShuffledHashJoin`s are optimized to 
`BroadcastedHashJoin` according to collected in-memory table statistics.
    
    This PR fixes this issue by clearing the cache before testing join operator 
selection. A separate test case is also added to test broadcasted hash join 
operator selection.

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

    $ git pull https://github.com/liancheng/spark fix-join-suite

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

    https://github.com/apache/spark/pull/2960.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 #2960
    
----
commit 715b2dec4fd569d9361a3713414bce2c76ce5452
Author: Cheng Lian <[email protected]>
Date:   2014-10-27T10:52:21Z

    Fixes caching related JoinSuite failure

----


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