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-21103][SQL] QueryPlanConstraints should be part of LogicalPlan #18310

Closed
wants to merge 1 commit into from

Conversation

rxin
Copy link
Contributor

@rxin rxin commented Jun 15, 2017

What changes were proposed in this pull request?

QueryPlanConstraints should be part of LogicalPlan, rather than QueryPlan, since the constraint framework is only used for query plan rewriting and not for physical planning.

How was this patch tested?

Should be covered by existing tests, since it is a simple refactoring.

@rxin
Copy link
Contributor Author

rxin commented Jun 15, 2017

This current includes all the changes from #18299

But only the last commit matters: 40de35c

@SparkQA
Copy link

SparkQA commented Jun 15, 2017

Test build #78078 has finished for PR 18310 at commit 40de35c.

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

@rxin
Copy link
Contributor Author

rxin commented Jun 15, 2017

Closing for now, since @sameeragarwal said it might be useful in physical planning in the future.

@rxin rxin closed this Jun 15, 2017
@rxin rxin reopened this Jun 15, 2017
@SparkQA
Copy link

SparkQA commented Jun 15, 2017

Test build #78087 has started for PR 18310 at commit 7040877.

@SparkQA
Copy link

SparkQA commented Jun 15, 2017

Test build #3798 has finished for PR 18310 at commit 7040877.

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

@rxin
Copy link
Contributor Author

rxin commented Jun 20, 2017

Merging in master.

@sameeragarwal
Copy link
Member

LGTM

@asfgit asfgit closed this in b6b1088 Jun 20, 2017
robert3005 pushed a commit to palantir/spark that referenced this pull request Jun 29, 2017
## What changes were proposed in this pull request?
QueryPlanConstraints should be part of LogicalPlan, rather than QueryPlan, since the constraint framework is only used for query plan rewriting and not for physical planning.

## How was this patch tested?
Should be covered by existing tests, since it is a simple refactoring.

Author: Reynold Xin <rxin@databricks.com>

Closes apache#18310 from rxin/SPARK-21103.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants