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

[SPARK-5404] [SQL] Update the default statistic number #4914

Closed
wants to merge 1 commit into from

Conversation

chenghao-intel
Copy link
Contributor

By default, the statistic for logical plan with multiple children is quite aggressive, and those statistic are quite critical for the join optimization, hence we need to estimate the statistics as accurate as possible.

For Union, which has 2 children, and overwrite the default implementation by adding its children byteInSize instead of multiplying.
For Expand, which only has a single child, but it will grows the size, and we need to multiply its inflating factor.

@SparkQA
Copy link

SparkQA commented Mar 5, 2015

Test build #28295 has started for PR 4914 at commit d466bbc.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Mar 5, 2015

Test build #28295 has finished for PR 4914 at commit d466bbc.

  • 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/28295/
Test PASSed.

@marmbrus
Copy link
Contributor

marmbrus commented Mar 5, 2015

Please explain you changes.

@chenghao-intel
Copy link
Contributor Author

Thank you @marmbrus I've updated the description.

@marmbrus
Copy link
Contributor

Thanks! Merging to master.

@asfgit asfgit closed this in 78cb08a Mar 18, 2015
@chenghao-intel chenghao-intel deleted the statistic branch July 2, 2015 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants