You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/05/28 22:20:59 UTC

[GitHub] [spark] maryannxue opened a new pull request #28669: [SPARK-31864][SQL] Adjust AQE skew join trigger condition

maryannxue opened a new pull request #28669:
URL: https://github.com/apache/spark/pull/28669


   <!--
   Thanks for sending a pull request!  Here are some tips for you:
     1. If this is your first time, please read our contributor guidelines: https://spark.apache.org/contributing.html
     2. Ensure you have added or run the appropriate tests for your PR: https://spark.apache.org/developer-tools.html
     3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][SPARK-XXXX] Your PR title ...'.
     4. Be sure to keep the PR description updated to reflect all changes.
     5. Please write your PR title to summarize what this PR proposes.
     6. If possible, provide a concise example to reproduce the issue for a faster review.
     7. If you want to add a new configuration, please read the guideline first for naming configurations in
        'core/src/main/scala/org/apache/spark/internal/config/ConfigEntry.scala'.
   -->
   
   ### What changes were proposed in this pull request?
   <!--
   Please clarify what changes you are proposing. The purpose of this section is to outline the changes and how this PR fixes the issue. 
   If possible, please consider writing useful notes for better and faster reviews in your PR. See the examples below.
     1. If you refactor some codes with changing classes, showing the class hierarchy will help reviewers.
     2. If you fix some SQL features, you can provide some references of other DBMSes.
     3. If there is design documentation, please add the link.
     4. If there is a discussion in the mailing list, please add the link.
   -->
   This PR makes a minor change in deciding whether a partition is skewed by comparing the partition size to the median size of coalesced partitions instead of median size of raw partitions before coalescing.
   
   ### Why are the changes needed?
   <!--
   Please clarify why the changes are needed. For instance,
     1. If you propose a new API, clarify the use case for a new API.
     2. If you fix a bug, you can clarify why it is a bug.
   -->
   This change is line with target size criteria of splitting skew join partitions and can also cope with situations of extra empty partitions caused by over-partitioning. This PR has also improved skew join tests in AQE tests.
   
   ### Does this PR introduce _any_ user-facing change?
   <!--
   Note that it means *any* user-facing change including all aspects such as the documentation fix.
   If yes, please clarify the previous behavior and the change this PR proposes - provide the console output, description and/or an example to show the behavior difference if possible.
   If possible, please also clarify if this is a user-facing change compared to the released Spark versions or within the unreleased branches such as master.
   If no, write 'No'.
   -->
   No.
   
   ### How was this patch tested?
   <!--
   If tests were added, say they were added here. Please make sure to add some test cases that check the changes thoroughly including negative and positive cases if possible.
   If it was tested in a way different from regular unit tests, please clarify how you tested step by step, ideally copy and paste-able, so that other reviewers can test and check, and descendants can verify in the future.
   If tests were not added, please describe why they were not added and/or why it was difficult to add.
   -->
   Updated UTs.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins commented on pull request #28669: [SPARK-31864][SQL] Adjust AQE skew join trigger condition

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #28669:
URL: https://github.com/apache/spark/pull/28669#issuecomment-636171792






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA commented on pull request #28669: [SPARK-31864][SQL] Adjust AQE skew join trigger condition

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #28669:
URL: https://github.com/apache/spark/pull/28669#issuecomment-635735795


   **[Test build #123250 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/123250/testReport)** for PR 28669 at commit [`3ed0f63`](https://github.com/apache/spark/commit/3ed0f6387729d254dc58bd3bca8865019dff0065).
    * This patch passes all tests.
    * This patch merges cleanly.
    * This patch adds no public classes.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA commented on pull request #28669: [SPARK-31864][SQL] Adjust AQE skew join trigger condition

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #28669:
URL: https://github.com/apache/spark/pull/28669#issuecomment-636040748


   **[Test build #123293 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/123293/testReport)** for PR 28669 at commit [`10a468e`](https://github.com/apache/spark/commit/10a468ebdf228e8c07d8ac163bd4db15d05acc41).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA commented on pull request #28669: [SPARK-31864][SQL] Adjust AQE skew join trigger condition

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #28669:
URL: https://github.com/apache/spark/pull/28669#issuecomment-636170973


   **[Test build #123293 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/123293/testReport)** for PR 28669 at commit [`10a468e`](https://github.com/apache/spark/commit/10a468ebdf228e8c07d8ac163bd4db15d05acc41).
    * This patch passes all tests.
    * This patch merges cleanly.
    * This patch adds no public classes.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins commented on pull request #28669: [SPARK-31864][SQL] Adjust AQE skew join trigger condition

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #28669:
URL: https://github.com/apache/spark/pull/28669#issuecomment-635736416






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] maryannxue commented on pull request #28669: [SPARK-31864][SQL] Adjust AQE skew join trigger condition

Posted by GitBox <gi...@apache.org>.
maryannxue commented on pull request #28669:
URL: https://github.com/apache/spark/pull/28669#issuecomment-635639218


   cc @cloud-fan @Ngone51 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] cloud-fan commented on pull request #28669: [SPARK-31864][SQL] Adjust AQE skew join trigger condition

Posted by GitBox <gi...@apache.org>.
cloud-fan commented on pull request #28669:
URL: https://github.com/apache/spark/pull/28669#issuecomment-640574818






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] manuzhang commented on pull request #28669: [SPARK-31864][SQL] Adjust AQE skew join trigger condition

Posted by GitBox <gi...@apache.org>.
manuzhang commented on pull request #28669:
URL: https://github.com/apache/spark/pull/28669#issuecomment-641793942


   @JkSelf That will work but the value doesn't make sense to me. In addition, I don't want to tune the configuration for every specific case but come up with a suite of default configurations that work out of box for most cases.
   
   > I think this PR is meaningful when the rule of OptimizeSkewedJoin is behind CoalesceShufflePartitions in the queryStageOptimizerRules of AdaptiveSparkPlanExec
   
   I don't see too much "meaning" here as we split the skewed partition towards the average size of coalesced non-skew partitions or advisory target size whichever is larger. We'll end up with evenly distributed partitions with or without this PR. However, we lose the chance to optimize skew partitions in some cases with this change.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins commented on pull request #28669: [SPARK-31864][SQL] Adjust AQE skew join trigger condition

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #28669:
URL: https://github.com/apache/spark/pull/28669#issuecomment-635639710






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins commented on pull request #28669: [SPARK-31864][SQL] Adjust AQE skew join trigger condition

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #28669:
URL: https://github.com/apache/spark/pull/28669#issuecomment-636041417






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] cloud-fan closed pull request #28669: [SPARK-31864][SQL] Adjust AQE skew join trigger condition

Posted by GitBox <gi...@apache.org>.
cloud-fan closed pull request #28669:
URL: https://github.com/apache/spark/pull/28669


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] maryannxue edited a comment on pull request #28669: [SPARK-31864][SQL] Adjust AQE skew join trigger condition

Posted by GitBox <gi...@apache.org>.
maryannxue edited a comment on pull request #28669:
URL: https://github.com/apache/spark/pull/28669#issuecomment-640703977


   I assume there's one only key in that 13G partition. You can always run into this when the number of distinct keys is smaller than the partition number. It is not a good idea to use median whether it's pre-coalescing size or post-coalescing size. Suppose, you have 100 keys, and the partition number is set to 200, even with pre-coalescing size, you won't get the skew handling you want, but with partition number being 201 you can. The skew behavior now depends on the partition number. However, it's probably the best we can do for now given we don't have a more advanced strategy here.
   With something like 13G, we should probably always split it.
   
   So think we can:
   1) revert this PR, so for extremely clustered keys, skew can work
   2) change the `spark.sql.adaptive.skewJoin.skewedPartitionFactor` check condition to ">= 0" instead of ">0" so we can force split large partitions even if there isn't an uneven distribution.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA commented on pull request #28669: [SPARK-31864][SQL] Adjust AQE skew join trigger condition

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #28669:
URL: https://github.com/apache/spark/pull/28669#issuecomment-635639292


   **[Test build #123250 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/123250/testReport)** for PR 28669 at commit [`3ed0f63`](https://github.com/apache/spark/commit/3ed0f6387729d254dc58bd3bca8865019dff0065).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] cloud-fan commented on pull request #28669: [SPARK-31864][SQL] Adjust AQE skew join trigger condition

Posted by GitBox <gi...@apache.org>.
cloud-fan commented on pull request #28669:
URL: https://github.com/apache/spark/pull/28669#issuecomment-635751861


   This makes sense to me. e.g. for partitions [1, 1, 1, ..., 1, 10], which are coalesced to `[9, 10]`, I don't think there are skewed partitions.
   
   @JkSelf what do you think?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] manuzhang commented on pull request #28669: [SPARK-31864][SQL] Adjust AQE skew join trigger condition

Posted by GitBox <gi...@apache.org>.
manuzhang commented on pull request #28669:
URL: https://github.com/apache/spark/pull/28669#issuecomment-640934523






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] JkSelf commented on pull request #28669: [SPARK-31864][SQL] Adjust AQE skew join trigger condition

Posted by GitBox <gi...@apache.org>.
JkSelf commented on pull request #28669:
URL: https://github.com/apache/spark/pull/28669#issuecomment-635823877


   Good improvement. Except one small comment.  LGTM. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] cloud-fan commented on pull request #28669: [SPARK-31864][SQL] Adjust AQE skew join trigger condition

Posted by GitBox <gi...@apache.org>.
cloud-fan commented on pull request #28669:
URL: https://github.com/apache/spark/pull/28669#issuecomment-636294332


   thanks, merging to master/3.0!


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA removed a comment on pull request #28669: [SPARK-31864][SQL] Adjust AQE skew join trigger condition

Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #28669:
URL: https://github.com/apache/spark/pull/28669#issuecomment-636040748


   **[Test build #123293 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/123293/testReport)** for PR 28669 at commit [`10a468e`](https://github.com/apache/spark/commit/10a468ebdf228e8c07d8ac163bd4db15d05acc41).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins removed a comment on pull request #28669: [SPARK-31864][SQL] Adjust AQE skew join trigger condition

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #28669:
URL: https://github.com/apache/spark/pull/28669#issuecomment-636171792






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA removed a comment on pull request #28669: [SPARK-31864][SQL] Adjust AQE skew join trigger condition

Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #28669:
URL: https://github.com/apache/spark/pull/28669#issuecomment-635639292


   **[Test build #123250 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/123250/testReport)** for PR 28669 at commit [`3ed0f63`](https://github.com/apache/spark/commit/3ed0f6387729d254dc58bd3bca8865019dff0065).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] JkSelf commented on a change in pull request #28669: [SPARK-31864][SQL] Adjust AQE skew join trigger condition

Posted by GitBox <gi...@apache.org>.
JkSelf commented on a change in pull request #28669:
URL: https://github.com/apache/spark/pull/28669#discussion_r432316209



##########
File path: sql/core/src/main/scala/org/apache/spark/sql/execution/adaptive/OptimizeSkewedJoin.scala
##########
@@ -164,15 +164,15 @@ case class OptimizeSkewedJoin(conf: SQLConf) extends Rule[SparkPlan] {
       assert(left.partitionsWithSizes.length == right.partitionsWithSizes.length)
       val numPartitions = left.partitionsWithSizes.length
       // We use the median size of the original shuffle partitions to detect skewed partitions.

Review comment:
       We may also need to adjust the comment here.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins removed a comment on pull request #28669: [SPARK-31864][SQL] Adjust AQE skew join trigger condition

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #28669:
URL: https://github.com/apache/spark/pull/28669#issuecomment-635736416






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins removed a comment on pull request #28669: [SPARK-31864][SQL] Adjust AQE skew join trigger condition

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #28669:
URL: https://github.com/apache/spark/pull/28669#issuecomment-635639710






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] maryannxue commented on pull request #28669: [SPARK-31864][SQL] Adjust AQE skew join trigger condition

Posted by GitBox <gi...@apache.org>.
maryannxue commented on pull request #28669:
URL: https://github.com/apache/spark/pull/28669#issuecomment-640703977






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] JkSelf commented on pull request #28669: [SPARK-31864][SQL] Adjust AQE skew join trigger condition

Posted by GitBox <gi...@apache.org>.
JkSelf commented on pull request #28669:
URL: https://github.com/apache/spark/pull/28669#issuecomment-641782521


   @manuzhang If you adjust the configuration of `spark.sql.adaptive.skewJoin.skewedPartitionFactor ` between  0 and 1, can the 13GB partition be split? If so, can we set the skewed related configurations to trigger the skew optimization not revert this PR? I think this PR is meaningful when the rule of `OptimizeSkewedJoin` is behind `CoalesceShufflePartitions` in the `queryStageOptimizerRules` of `AdaptiveSparkPlanExec`. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] manuzhang commented on pull request #28669: [SPARK-31864][SQL] Adjust AQE skew join trigger condition

Posted by GitBox <gi...@apache.org>.
manuzhang commented on pull request #28669:
URL: https://github.com/apache/spark/pull/28669#issuecomment-640235282


   @cloud-fan @maryannxue @JkSelf I'm seeing a case where partitions [0,0,0,...,13GB] were coalesced to [13GB]  and took 17 min for a SortMergeJoin. With coalescing disabled, partitions would be split into [0,0,0,..., 256MB, 256MB,...,256MB] by OptimizeSkewedJoin and only took 38s. WDYT ?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins removed a comment on pull request #28669: [SPARK-31864][SQL] Adjust AQE skew join trigger condition

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #28669:
URL: https://github.com/apache/spark/pull/28669#issuecomment-636041417






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org