Skip to content

Conversation

shruti2522
Copy link
Contributor

Which issue does this PR close?

Rationale for this change

What changes are included in this PR?

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 14, 2025

query TT
explain VERBOSE
SELECT /*+ REPARTITION(4) */ *
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need this hint here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, that was not necessary here, removed it

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 @shruti2522 🙏

12)└───────────────────────────┘

query TT
explain VERBOSE SELECT * FROM limit_table LIMIT 10;
Copy link
Contributor

Choose a reason for hiding this comment

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

why does this use EXPLAIN VERBOSE? All the rest of the queries in this file just use EXPLAIN 🤔

I think it would be better to do the same

Suggested change
explain VERBOSE SELECT * FROM limit_table LIMIT 10;
explain SELECT * FROM limit_table LIMIT 10;

Copy link
Contributor

Choose a reason for hiding this comment

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

I took the liberty of making this change and pushing to the branch

@alamb
Copy link
Contributor

alamb commented Mar 14, 2025

Thanks again @shruti2522 and @comphead

@alamb alamb merged commit e37d580 into apache:main Mar 14, 2025
27 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.

Implement tree explain for LocalLimitExec

3 participants