Skip to content

[SPARK-32528][SQL][TEST][3.0] The analyze method should make sure the plan is analyzed - #29400

Closed
cloud-fan wants to merge 1 commit into
apache:branch-3.0from
cloud-fan:backport
Closed

[SPARK-32528][SQL][TEST][3.0] The analyze method should make sure the plan is analyzed#29400
cloud-fan wants to merge 1 commit into
apache:branch-3.0from
cloud-fan:backport

Conversation

@cloud-fan

@cloud-fancloud-fan commented Aug 10, 2020

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

backport #29349 to 3.0.
This PR updates the analyze method to make sure the plan can be resolved. It also fixes some miswritten optimizer tests.

Why are the changes needed?

It's error-prone if the analyze method can return an unresolved plan.

Does this PR introduce any user-facing change?

no

How was this patch tested?

test only

… is analyzed
This PR updates the `analyze` method to make sure the plan can be resolved. It also fixes some miswritten optimizer tests.
It's error-prone if the `analyze` method can return an unresolved plan.
no
test only
Closesapache#29349 from cloud-fan/test.
Authored-by: Wenchen Fan <wenchen@databricks.com>
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
@cloud-fan

Copy link
Copy Markdown
ContributorAuthor

cc @dongjoon-hyun

@dongjoon-hyun

dongjoon-hyun commented Aug 10, 2020

Copy link
Copy Markdown
Member

Got it. Thank you for this backporting, @cloud-fan .

@dongjoon-hyundongjoon-hyun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, LGTM (Pending Jenkins)

@SparkQA

Copy link
Copy Markdown

Test build #127291 has finished for PR 29400 at commit ac89655.

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

@dongjoon-hyun

Copy link
Copy Markdown
Member

Merged to branch-3.0.

dongjoon-hyun pushed a commit that referenced this pull request Aug 10, 2020
… plan is analyzed
### What changes were proposed in this pull request?
backport #29349 to 3.0.
This PR updates the `analyze` method to make sure the plan can be resolved. It also fixes some miswritten optimizer tests.
### Why are the changes needed?
It's error-prone if the `analyze` method can return an unresolved plan.
### Does this PR introduce _any_ user-facing change?
no
### How was this patch tested?
test only
Closes#29400 from cloud-fan/backport.
Authored-by: Wenchen Fan <wenchen@databricks.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
@dongjoon-hyun

Copy link
Copy Markdown
Member

Thank you so much, @cloud-fan !

Sign up for freeto 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.

3 participants

@cloud-fan@dongjoon-hyun@SparkQA