Skip to content

[SPARK-28530][SQL] Cost-based join reorder optimizer batch should be FixedPoint(1)#25266

Closed
yeshengm wants to merge 2 commits intoapache:masterfrom
yeshengm:SPARK-28530
Closed

[SPARK-28530][SQL] Cost-based join reorder optimizer batch should be FixedPoint(1)#25266
yeshengm wants to merge 2 commits intoapache:masterfrom
yeshengm:SPARK-28530

Conversation

@yeshengm
Copy link
Contributor

What changes were proposed in this pull request?

Since for AQP the cost for joins can change between multiple runs, there is no reason that we have an idempotence enforcement on this optimizer batch. We thus make it FixedPoint(1) instead of Once.

How was this patch tested?

Existing UTs.

@SparkQA
Copy link

SparkQA commented Jul 26, 2019

Test build #108236 has finished for PR 25266 at commit 79e5dba.

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

Copy link
Member

@gatorsmile gatorsmile left a comment

Choose a reason for hiding this comment

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

LGTM

Thanks! Merged to master.

j-baker pushed a commit to palantir/spark that referenced this pull request Jan 25, 2020
…FixedPoint(1)

## What changes were proposed in this pull request?
Since for AQP the cost for joins can change between multiple runs, there is no reason that we have an idempotence enforcement on this optimizer batch. We thus make it `FixedPoint(1)` instead of `Once`.

## How was this patch tested?
Existing UTs.

Closes apache#25266 from yeshengm/SPARK-28530.

Lead-authored-by: Yesheng Ma <kimi.ysma@gmail.com>
Co-authored-by: Xiao Li <gatorsmile@gmail.com>
Signed-off-by: gatorsmile <gatorsmile@gmail.com>
Sign up for free to 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.

4 participants

Comments