Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes caching related JoinSuite failure #2960

Closed
wants to merge 1 commit into from

Conversation

liancheng
Copy link
Contributor

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

@@ -89,7 +89,7 @@ object TestData {
LowerCaseData(1, "a") ::
LowerCaseData(2, "b") ::
LowerCaseData(3, "c") ::
LowerCaseData(4, "d") :: Nil)
LowerCaseData(4, "d") :: Nil).toSchemaRDD
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These two changes are only introduced to calm down IntelliJ syntax highlighting...

@SparkQA
Copy link

SparkQA commented Oct 27, 2014

Test build #22296 has started for PR 2960 at commit 715b2de.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Oct 27, 2014

Test build #22296 has finished for PR 2960 at commit 715b2de.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/22296/
Test PASSed.

@asfgit asfgit closed this in 1d7bcc8 Oct 27, 2014
@liancheng liancheng deleted the fix-join-suite branch October 28, 2014 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants