Skip to content

[SPARK-33337][SQL][FOLLOWUP] Prevent possible flakyness in SubexpressionEliminationSuite#30371

Closed
viirya wants to merge 1 commit into
apache:masterfrom
viirya:SPARK-33337-followup
Closed

[SPARK-33337][SQL][FOLLOWUP] Prevent possible flakyness in SubexpressionEliminationSuite#30371
viirya wants to merge 1 commit into
apache:masterfrom
viirya:SPARK-33337-followup

Conversation

@viirya

@viirya viirya commented Nov 13, 2020

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

This is a simple followup to prevent test flakyness in SubexpressionEliminationSuite. If getAllEquivalentExprs returns more than 1 sequences, due to HashMap, we should use contains instead of assuming the order of results.

Why are the changes needed?

Prevent test flakyness in SubexpressionEliminationSuite.

Does this PR introduce any user-facing change?

No, dev only.

How was this patch tested?

Unit test.

@viirya

viirya commented Nov 13, 2020

Copy link
Copy Markdown
Member Author

cc @dongjoon-hyun

@SparkQA

SparkQA commented Nov 13, 2020

Copy link
Copy Markdown

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

@SparkQA

SparkQA commented Nov 13, 2020

Copy link
Copy Markdown

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

@dongjoon-hyun dongjoon-hyun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

+1, LGTM. GitHub Action sql/catalyst passed.
Merged to master.

@viirya

viirya commented Nov 13, 2020

Copy link
Copy Markdown
Member Author

Thank you! @dongjoon-hyun

@SparkQA

SparkQA commented Nov 14, 2020

Copy link
Copy Markdown

Test build #131084 has finished for PR 30371 at commit 9816402.

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

@viirya viirya deleted the SPARK-33337-followup branch December 27, 2023 18:24
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