Skip to content

Conversation

@keanji-x
Copy link
Contributor

@keanji-x keanji-x commented Jul 1, 2024

pick from master #35559

This PR introduces a change in the method removeOneSumLiteral to enhance the performance of sum literal rewriting in SQL queries. The modification ensures that sum literals appearing only once, such as in expressions like select count(id1 + 1), count(id2 + 1) from t, are not rewritten.

…stances (apache#35559)

## Proposed changes

This PR introduces a change in the method removeOneSumLiteral to enhance
the performance of sum literal rewriting in SQL queries. The
modification ensures that sum literals appearing only once, such as in
expressions like select count(id1 + 1), count(id2 + 1) from t, are not
rewritten.
@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@keanji-x keanji-x changed the title [feat](Nereids) Optimize Sum Literal Rewriting by Excluding Single In… [feat](Nereids) Optimize Sum Literal Rewriting by Excluding Single Instances (#35559) Jul 1, 2024
@keanji-x
Copy link
Contributor Author

keanji-x commented Jul 1, 2024

run buildall

@morrySnow morrySnow merged commit 24d236b into apache:branch-2.1 Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants