Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-35351][SQL][FOLLOWUP] Avoid using loaded variable for LEFT ANTI SMJ code-gen #32681

Closed
wants to merge 1 commit into from

Conversation

c21
Copy link
Contributor

@c21 c21 commented May 27, 2021

What changes were proposed in this pull request?

This is a followup from #32547 (comment), where for LEFT ANTI join, we do not need to depend on loaded variable, as in codegenAnti we only load streamedAfter no more than once (i.e. assign column values from streamed row which are not used in join condition).

Why are the changes needed?

Avoid unnecessary processing in code-gen (though it's just boolean $loaded = false;, and if (!$loaded) { $loaded = true; }).

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Existing unite tests in ExistenceJoinSuite.

@github-actions github-actions bot added the SQL label May 27, 2021
@c21
Copy link
Contributor Author

c21 commented May 27, 2021

cc @viirya, @maropu and @cloud-fan, thanks.

@SparkQA
Copy link

SparkQA commented May 27, 2021

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

@SparkQA
Copy link

SparkQA commented May 27, 2021

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

@cloud-fan
Copy link
Contributor

thanks, merging to master!

@SparkQA
Copy link

SparkQA commented May 27, 2021

Test build #138992 has finished for PR 32681 at commit 012013e.

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

@cloud-fan cloud-fan closed this in 5cc17ba May 27, 2021
@c21
Copy link
Contributor Author

c21 commented May 27, 2021

Thank you @cloud-fan and @viirya for review!

@c21 c21 deleted the join-followup branch May 27, 2021 05:22
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