Skip to content

Implement tree explain for RepartitionExec and WorkTableExec #15137

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

Merged
merged 4 commits into from
Mar 11, 2025

Conversation

Standing-Man
Copy link
Contributor

Which issue does this PR close?

Rationale for this change

What changes are included in this PR?

Implement tree explain for RepartitionExec and WorkTableExec.

Are these changes tested?

Yes

Are there any user-facing changes?

@github-actions github-actions bot added the sqllogictest SQL Logic Tests (.slt) label Mar 11, 2025
Signed-off-by: Alan Tang <[email protected]>
Copy link
Contributor

@2010YOUY01 2010YOUY01 left a comment

Choose a reason for hiding this comment

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

Thank you again for the great PR.
I have some suggestions regarding RepartitionExec: Both input and output partition count are required, IIRC it's possible some RepartitionExec takes 2 input partitions and do round-robin to yield 3 output partitions.
Also, I don't fully understand this WorkTableExec, do you have any idea to give this name field a more descriptive name, perhaps recursive_relation_name?

Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Thank you @Standing-Man and @2010YOUY01

I merged up from main to resolve a conflict with this PR

I think we are getting close...

@alamb alamb merged commit 4b8a2d8 into apache:main Mar 11, 2025
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sqllogictest SQL Logic Tests (.slt)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: Implement tree explain for RepartitionExec and WorkTableExec
3 participants