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-22124][SQL] Sample and Limit should also defer input evaluation under codegen #19345

Closed
wants to merge 1 commit into from

Conversation

viirya
Copy link
Member

@viirya viirya commented Sep 26, 2017

What changes were proposed in this pull request?

We can override usedInputs to claim that an operator defers input evaluation. Sample and Limit are two operators which should claim it but don't. We should do it.

How was this patch tested?

Existing tests.

@SparkQA
Copy link

SparkQA commented Sep 26, 2017

Test build #82168 has finished for PR 19345 at commit 0252663.

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

@viirya
Copy link
Member Author

viirya commented Sep 26, 2017

cc @cloud-fan or @hvanhovell This should be a straightforward change. Please take a quick look. Thanks.

@cloud-fan
Copy link
Contributor

LGTM, merging to master!

@asfgit asfgit closed this in 64fbd1c Sep 26, 2017
@viirya viirya deleted the SPARK-22124 branch December 27, 2023 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants