Skip to content

[SPARK-38697][SQL][3.2] Extend SparkSessionExtensions to inject rules into AQE Optimizer#38401

Closed
andygrove wants to merge 1 commit intoapache:branch-3.2from
andygrove:backport-SPARK-38697-spark32
Closed

[SPARK-38697][SQL][3.2] Extend SparkSessionExtensions to inject rules into AQE Optimizer#38401
andygrove wants to merge 1 commit intoapache:branch-3.2from
andygrove:backport-SPARK-38697-spark32

Conversation

@andygrove
Copy link
Member

What changes were proposed in this pull request?

Backport SPARK-38697 to Spark 3.2.x

Why are the changes needed?

Allows users to inject logical plan optimizer rules into AQE

Does this PR introduce any user-facing change?

Yes, new API method to inject logical plan optimizer rules into AQE

How was this patch tested?

Backport includes a unit test

@github-actions github-actions bot added the SQL label Oct 26, 2022
@sunchao sunchao changed the title [SPARK-38697] Backport SPARK-38697 to Spark 3.2.x [SPARK-38697][SQL][3.2] Extend SparkSessionExtensions to inject rules into AQE Optimizer Oct 26, 2022
@viirya viirya changed the title [SPARK-38697][SQL][3.2] Extend SparkSessionExtensions to inject rules into AQE Optimizer [SPARK-38697][SQL][3.2] Backport SPARK-38697 to Spark 3.2.x Oct 26, 2022
@viirya viirya changed the title [SPARK-38697][SQL][3.2] Backport SPARK-38697 to Spark 3.2.x [SPARK-38697][SQL][3.2] Extend SparkSessionExtensions to inject rules into AQE Optimizer Oct 26, 2022
Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

We should land SPARK-38697 at branch-3.3 first. Please hold on until that.

@dongjoon-hyun
Copy link
Member

cc @tgravescs

@andygrove
Copy link
Member Author

We should land SPARK-38697 at branch-3.3 first. Please hold on until that.

3.3 PR: #38403

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

+1, LGTM. Thank you, @andygrove , @tgravescs , @viirya .
Merged to branch-3.2.

dongjoon-hyun pushed a commit that referenced this pull request Oct 26, 2022
… into AQE Optimizer

### What changes were proposed in this pull request?

Backport SPARK-38697 to Spark 3.2.x

### Why are the changes needed?

Allows users to inject logical plan optimizer rules into AQE

### Does this PR introduce _any_ user-facing change?

Yes, new API method to inject logical plan optimizer rules into AQE

### How was this patch tested?

Backport includes a unit test

Closes #38401 from andygrove/backport-SPARK-38697-spark32.

Authored-by: Andy Grove <andygrove73@gmail.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
@tgravescs
Copy link
Contributor

thanks @dongjoon-hyun

sunchao pushed a commit to sunchao/spark that referenced this pull request Jun 2, 2023
… into AQE Optimizer

### What changes were proposed in this pull request?

Backport SPARK-38697 to Spark 3.2.x

### Why are the changes needed?

Allows users to inject logical plan optimizer rules into AQE

### Does this PR introduce _any_ user-facing change?

Yes, new API method to inject logical plan optimizer rules into AQE

### How was this patch tested?

Backport includes a unit test

Closes apache#38401 from andygrove/backport-SPARK-38697-spark32.

Authored-by: Andy Grove <andygrove73@gmail.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
(cherry picked from commit 2df8bfb)
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.

5 participants