Skip to content

Conversation

@ulysses-you
Copy link
Contributor

What changes were proposed in this pull request?

Add check partition expressions is empty.

Why are the changes needed?

We should keep spark.range(1).hint("REPARTITION_BY_RANGE") has default shuffle number instead of 1.

Does this PR introduce any user-facing change?

Yes.

How was this patch tested?

Add test.

@github-actions github-actions bot added the SQL label Jan 6, 2021
@ulysses-you
Copy link
Contributor Author

@SparkQA
Copy link

SparkQA commented Jan 7, 2021

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

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

+1, LGTM. Thank you, @ulysses-you .
The GitHub Action failure is irrevant.

@ulysses-you
Copy link
Contributor Author

thanks @dongjoon-hyun

@SparkQA
Copy link

SparkQA commented Jan 7, 2021

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

@SparkQA
Copy link

SparkQA commented Jan 7, 2021

Test build #133758 has finished for PR 31074 at commit 994192b.

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

@ulysses-you ulysses-you deleted the SPARK-33806-FOLLOWUP branch February 23, 2021 03:56
flyrain pushed a commit to flyrain/spark that referenced this pull request Sep 21, 2021
… should check if partition expression is empty

Add check partition expressions is empty.

We should keep `spark.range(1).hint("REPARTITION_BY_RANGE")` has default shuffle number instead of 1.

Yes.

Add test.

Closes apache#31074 from ulysses-you/SPARK-33806-FOLLOWUP.

Authored-by: ulysses-you <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit f9daf03)
Signed-off-by: Dongjoon Hyun <[email protected]>
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.

3 participants