Skip to content

branch-4.0: [fix](user_var)fix integer typing and prefer Variable.realExpression for argument/type resolution#62524#63451

Open
starocean999 wants to merge 2 commits into
apache:branch-4.0from
starocean999:b40_0521
Open

branch-4.0: [fix](user_var)fix integer typing and prefer Variable.realExpression for argument/type resolution#62524#63451
starocean999 wants to merge 2 commits into
apache:branch-4.0from
starocean999:b40_0521

Conversation

@starocean999
Copy link
Copy Markdown
Contributor

@starocean999 starocean999 commented May 21, 2026

pick #62524

…for argument/type resolution (apache#62524)

PR fixes two bugs:
(1) user/session variable integer typing was wrong when converted to
Nereids literals;
(2) Ensure ExpressionTrait resolves argument expressions and types from
a Variable's real expression when present, and falls back to the
Variable itself when not. This prevents generating incorrect function
signatures using Variable placeholders.
@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?

@starocean999
Copy link
Copy Markdown
Contributor 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