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-48466][SQL][UI][FOLLOWUP] Handle nested empty relation in SparkPlanInfo #50350

Closed
wants to merge 1 commit into from

Conversation

liuzqt
Copy link
Contributor

@liuzqt liuzqt commented Mar 21, 2025

What changes were proposed in this pull request?

Fix SparkPlanInfo.fromLogicalPlan to handle nested empty relation.

Before:
Screenshot 2025-03-21 at 11 30 56 AM

After:

Screenshot 2025-03-20 at 5 51 21 PM

Why are the changes needed?

A followup for #46830, in the original PR I forget to handle nested empty relation.

Does this PR introduce any user-facing change?

Yes, UI change

How was this patch tested?

Verifed in Spark UI

Was this patch authored or co-authored using generative AI tooling?

NO

@github-actions github-actions bot added the SQL label Mar 21, 2025
@liuzqt liuzqt changed the title [SQL][UI] [SPARK-48466][SQL][UI] Handle nested empty relation in SparkPlanInfo Mar 21, 2025
@liuzqt
Copy link
Contributor Author

liuzqt commented Mar 21, 2025

@cloud-fan

@cloud-fan cloud-fan changed the title [SPARK-48466][SQL][UI] Handle nested empty relation in SparkPlanInfo [SPARK-48466][SQL][UI][FOLLOWUP] Handle nested empty relation in SparkPlanInfo Mar 24, 2025
@cloud-fan
Copy link
Contributor

thanks, merging to master/4.0!

@cloud-fan cloud-fan closed this in b8e0246 Mar 24, 2025
cloud-fan pushed a commit that referenced this pull request Mar 24, 2025
…kPlanInfo

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

Fix `SparkPlanInfo.fromLogicalPlan` to handle nested empty relation.

Before:
<img width="294" alt="Screenshot 2025-03-21 at 11 30 56 AM" src="https://github.com/user-attachments/assets/d03f6b88-13ad-4b67-bc4d-18b532e4dea2" />

After:

<img width="390" alt="Screenshot 2025-03-20 at 5 51 21 PM" src="https://github.com/user-attachments/assets/0e4f775c-b9cf-4955-af17-5e47fa44e44b" />

### Why are the changes needed?

A followup for #46830, in the original PR I forget to handle nested empty relation.

### Does this PR introduce _any_ user-facing change?
Yes, UI change

### How was this patch tested?
Verifed in Spark UI

### Was this patch authored or co-authored using generative AI tooling?
NO

Closes #50350 from liuzqt/SPARK-48466.

Authored-by: liuzqt <[email protected]>
Signed-off-by: Wenchen Fan <[email protected]>
(cherry picked from commit b8e0246)
Signed-off-by: Wenchen Fan <[email protected]>
SauronShepherd pushed a commit to SauronShepherd/spark that referenced this pull request Mar 25, 2025
…kPlanInfo

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

Fix `SparkPlanInfo.fromLogicalPlan` to handle nested empty relation.

Before:
<img width="294" alt="Screenshot 2025-03-21 at 11 30 56 AM" src="https://github.com/user-attachments/assets/d03f6b88-13ad-4b67-bc4d-18b532e4dea2" />

After:

<img width="390" alt="Screenshot 2025-03-20 at 5 51 21 PM" src="https://github.com/user-attachments/assets/0e4f775c-b9cf-4955-af17-5e47fa44e44b" />

### Why are the changes needed?

A followup for apache#46830, in the original PR I forget to handle nested empty relation.

### Does this PR introduce _any_ user-facing change?
Yes, UI change

### How was this patch tested?
Verifed in Spark UI

### Was this patch authored or co-authored using generative AI tooling?
NO

Closes apache#50350 from liuzqt/SPARK-48466.

Authored-by: liuzqt <[email protected]>
Signed-off-by: Wenchen Fan <[email protected]>
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.

2 participants