Skip to content

Conversation

@cloud-fan
Copy link
Contributor

What changes were proposed in this pull request?

It's weird that expressions don't always have all the expressions in it. This PR marks QueryPlan.expressions final to forbid sub classes overriding it to exclude some expressions. Currently only Generate override it, we can use producedAttributes to fix the unresolved attribute problem for it.

Note that this PR doesn't fix the problem in #11497

How was this patch tested?

existing tests.

@SparkQA
Copy link

SparkQA commented Mar 5, 2016

Test build #52500 has finished for PR 11532 at commit 5aa533b.

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

@marmbrus
Copy link
Contributor

marmbrus commented Mar 7, 2016

LGTM

@asfgit asfgit closed this in 4896411 Mar 7, 2016
roygao94 pushed a commit to roygao94/spark that referenced this pull request Mar 22, 2016
…pressions

## What changes were proposed in this pull request?

It's weird that expressions don't always have all the expressions in it. This PR marks `QueryPlan.expressions` final to forbid sub classes overriding it to exclude some expressions. Currently only `Generate` override it, we can use `producedAttributes` to fix the unresolved attribute problem for it.

Note that this PR doesn't fix the problem in apache#11497

## How was this patch tested?

existing tests.

Author: Wenchen Fan <[email protected]>

Closes apache#11532 from cloud-fan/generate.
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