Skip to content

[fix](regression) stabilize multi leading scalar predicate#65045

Open
shuke987 wants to merge 1 commit into
apache:masterfrom
shuke987:fix-multi-leading-division
Open

[fix](regression) stabilize multi leading scalar predicate#65045
shuke987 wants to merge 1 commit into
apache:masterfrom
shuke987:fix-multi-leading-division

Conversation

@shuke987

Copy link
Copy Markdown
Collaborator

Summary

  • avoid commutative multiplication rendering drift in multi_leading scalar subquery shape output
  • rewrite the scalar predicate from 0.05 * avg(t1.c11) to avg(t1.c11) / 20.0
  • update the expected shape text for sql5_2

Testing

  • git diff --cached --check
  • not run locally: requires an available Doris regression environment

@hello-stephen

Copy link
Copy Markdown
Contributor

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

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@shuke987

Copy link
Copy Markdown
Collaborator Author

run buildall

@shuke987 shuke987 force-pushed the fix-multi-leading-division branch from 4d71de9 to 6e103d3 Compare July 1, 2026 02:20
@shuke987

shuke987 commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator Author

run buildall

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.

2 participants