Skip to content

[SPARK-21103][SQL] QueryPlanConstraints should be part of LogicalPlan - #18310

Closed
rxin wants to merge 1 commit into
apache:masterfrom
rxin:SPARK-21103
Closed

[SPARK-21103][SQL] QueryPlanConstraints should be part of LogicalPlan#18310
rxin wants to merge 1 commit into
apache:masterfrom
rxin:SPARK-21103

Conversation

@rxin

@rxinrxin commented Jun 15, 2017

Copy link
Copy Markdown
Contributor

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

rxin commented Jun 15, 2017

Copy link
Copy Markdown
ContributorAuthor

This current includes all the changes from #18299

But only the last commit matters: 40de35c

@SparkQA

Copy link
Copy Markdown

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

rxin commented Jun 15, 2017

Copy link
Copy Markdown
ContributorAuthor

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

@rxinrxin closed this Jun 15, 2017
@rxinrxin reopened this Jun 15, 2017
@SparkQA

Copy link
Copy Markdown

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

@SparkQA

Copy link
Copy Markdown

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

rxin commented Jun 20, 2017

Copy link
Copy Markdown
ContributorAuthor

Merging in master.

@sameeragarwal

Copy link
Copy Markdown
Member

LGTM

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>
Closesapache#18310 from rxin/SPARK-21103.
Sign up for freeto 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

@rxin@SparkQA@sameeragarwal