Skip to content

Conversation

@Southwest16
Copy link
Contributor

@Southwest16 Southwest16 commented Nov 14, 2020

What changes were proposed in this pull request?

In the 'Optimizing Skew Join' section of the following two pages:

  1. https://spark.apache.org/docs/3.0.0/sql-performance-tuning.html
  2. https://spark.apache.org/docs/3.0.1/sql-performance-tuning.html

The configuration 'spark.sql.adaptive.skewedPartitionThresholdInBytes' should be changed to 'spark.sql.adaptive.skewJoin.skewedPartitionThresholdInBytes', The former is missing the 'skewJoin'.

Why are the changes needed?

To document the correct name of configuration

Does this PR introduce any user-facing change?

Yes, this is a user-facing doc change.

How was this patch tested?

Jenkins / CI builds in this PR.

….sql.adaptive.skewJoin.skewedPartitionThresholdInBytes'
@github-actions github-actions bot added the DOCS label Nov 14, 2020
@AmplabJenkins
Copy link

Can one of the admins verify this patch?

<td>10</td>
<td>
A partition is considered as skewed if its size is larger than this factor multiplying the median partition size and also larger than <code>spark.sql.adaptive.skewedPartitionThresholdInBytes</code>.
A partition is considered as skewed if its size is larger than this factor multiplying the median partition size and also larger than <code>spark.sql.adaptive.skewJoin.skewedPartitionThresholdInBytes</code>.
Copy link

Choose a reason for hiding this comment

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

LGTM

@HyukjinKwon HyukjinKwon changed the title change 'spark.sql.adaptive.skewedPartitionThresholdInBytes' to 'spark.sql.adaptive.skewJoin.skewedPartitionThresholdInBytes' #SPARK-33451 [SPARK-33451][DOCS] Change to 'spark.sql.adaptive.skewJoin.skewedPartitionThresholdInBytes' in documentation Nov 16, 2020
@HyukjinKwon
Copy link
Member

@aof00, I fixed the PR title and description but please keep the GitHub PR template and fix the title according to http://spark.apache.org/contributing.html next time.

@HyukjinKwon
Copy link
Member

Merged to master and branch-3.0.

HyukjinKwon pushed a commit that referenced this pull request Nov 16, 2020
…itionThresholdInBytes' in documentation

### What changes were proposed in this pull request?

In the 'Optimizing Skew Join' section of the following two pages:
1. [https://spark.apache.org/docs/3.0.0/sql-performance-tuning.html](https://spark.apache.org/docs/3.0.0/sql-performance-tuning.html)
2. [https://spark.apache.org/docs/3.0.1/sql-performance-tuning.html](https://spark.apache.org/docs/3.0.1/sql-performance-tuning.html)

The configuration 'spark.sql.adaptive.skewedPartitionThresholdInBytes' should be changed to 'spark.sql.adaptive.skewJoin.skewedPartitionThresholdInBytes', The former is missing the 'skewJoin'.

### Why are the changes needed?

To document the correct name of configuration

### Does this PR introduce _any_ user-facing change?

Yes, this is a user-facing doc change.

### How was this patch tested?

Jenkins / CI builds in this PR.

Closes #30376 from aof00/doc_change.

Authored-by: aof00 <[email protected]>
Signed-off-by: HyukjinKwon <[email protected]>
(cherry picked from commit 0933f1c)
Signed-off-by: HyukjinKwon <[email protected]>
@Southwest16
Copy link
Contributor Author

@aof00, I fixed the PR title and description but please keep the GitHub PR template and fix the title according to http://spark.apache.org/contributing.html next time.

OK, I'll remember that next time! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants