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/11/20 03:30:19 UTC

[GitHub] [spark] allisonwang-db opened a new pull request #30438: [SPARK-33472][SQL][3.0] Adjust RemoveRedundantSorts rule order

allisonwang-db opened a new pull request #30438:
URL: https://github.com/apache/spark/pull/30438


   Backport #30373 for branch-3.0.
   
   ### What changes were proposed in this pull request?
   This PR switched the order for the rule `RemoveRedundantSorts` and `EnsureRequirements` so that `EnsureRequirements` will be invoked before `RemoveRedundantSorts` to avoid IllegalArgumentException when instantiating PartitioningCollection.
   
   ### Why are the changes needed?
   `RemoveRedundantSorts` rule uses SparkPlan's `outputPartitioning` to check whether a sort node is redundant. Currently, it is added before `EnsureRequirements`. Since `PartitioningCollection` requires left and right partitioning to have the same number of partitions, which is not necessarily true before applying `EnsureRequirements`, the rule can fail with the following exception:
   ```
   IllegalArgumentException: requirement failed: PartitioningCollection requires all of its partitionings have the same numPartitions.
   ```
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   Unit test


----------------------------------------------------------------
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 #30438: [SPARK-33472][SQL][3.0] Adjust RemoveRedundantSorts rule order

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






----------------------------------------------------------------
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 #30438: [SPARK-33472][SQL][3.0] Adjust RemoveRedundantSorts rule order

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


   Kubernetes integration test status failure
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35997/
   


----------------------------------------------------------------
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 #30438: [SPARK-33472][SQL][3.0] Adjust RemoveRedundantSorts rule order

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


   Kubernetes integration test starting
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35997/
   


----------------------------------------------------------------
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 #30438: [SPARK-33472][SQL][3.0] Adjust RemoveRedundantSorts rule order

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


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


----------------------------------------------------------------
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 #30438: [SPARK-33472][SQL][3.0] Adjust RemoveRedundantSorts rule order

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


   Merged build finished. Test FAILed.


----------------------------------------------------------------
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] dongjoon-hyun closed pull request #30438: [SPARK-33472][SQL][3.0] Adjust RemoveRedundantSorts rule order

Posted by GitBox <gi...@apache.org>.
dongjoon-hyun closed pull request #30438:
URL: https://github.com/apache/spark/pull/30438


   


----------------------------------------------------------------
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 #30438: [SPARK-33472][SQL][3.0] Adjust RemoveRedundantSorts rule order

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


   **[Test build #131393 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/131393/testReport)** for PR 30438 at commit [`775c4e8`](https://github.com/apache/spark/commit/775c4e8b74182a531314cb29ae1b912415442618).


----------------------------------------------------------------
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 #30438: [SPARK-33472][SQL][3.0] Adjust RemoveRedundantSorts rule order

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






----------------------------------------------------------------
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 #30438: [SPARK-33472][SQL][3.0] Adjust RemoveRedundantSorts rule order

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


   Merged build finished. Test FAILed.


----------------------------------------------------------------
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 #30438: [SPARK-33472][SQL][3.0] Adjust RemoveRedundantSorts rule order

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


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


----------------------------------------------------------------
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 #30438: [SPARK-33472][SQL][3.0] Adjust RemoveRedundantSorts rule order

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


   **[Test build #131393 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/131393/testReport)** for PR 30438 at commit [`775c4e8`](https://github.com/apache/spark/commit/775c4e8b74182a531314cb29ae1b912415442618).
    * This patch **fails due to an unknown error code, -9**.
    * 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 #30438: [SPARK-33472][SQL][3.0] Adjust RemoveRedundantSorts rule order

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


   **[Test build #131393 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/131393/testReport)** for PR 30438 at commit [`775c4e8`](https://github.com/apache/spark/commit/775c4e8b74182a531314cb29ae1b912415442618).


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