Skip to content

Conversation

zjregee
Copy link
Member

@zjregee zjregee commented Mar 8, 2025

Which issue does this PR close?

Rationale for this change

What changes are included in this PR?

Implement tree explain for GlobalLimitExec.

Are these changes tested?

Yes.

Are there any user-facing changes?

None.

@github-actions github-actions bot added the sqllogictest SQL Logic Tests (.slt) label Mar 8, 2025
writeln!(f, "skip={}", self.skip)?;
write!(
f,
"fetch={}",
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks @zjregee for the efforts,Here are some of my suggestions:
I think limit=xxx is more reasonable, and if fetch is None, maybe we don't need to print it.

Copy link
Contributor

Choose a reason for hiding this comment

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

THat would also be consistent with the other operators that print out limit

Copy link
Member Author

Choose a reason for hiding this comment

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

Updated and thanks for suggestions.

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 @zjregee and @irenjj

@alamb
Copy link
Contributor

alamb commented Mar 10, 2025

I also ran the tests locally and made sure they still passed after a merge from main

@alamb alamb merged commit a176aac into apache:main Mar 10, 2025
24 checks passed
@zjregee zjregee deleted the impl-tree-explain-for-global-limit-exec branch March 10, 2025 11:48
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.

Implement tree explain for GlobalLimitExec

3 participants