Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix](Nereids) fix append_trailing_char_if_absent function return null (#40820) #41160

Open
wants to merge 2 commits into
base: branch-2.0
Choose a base branch
from

Conversation

LiBinfeng-01
Copy link
Contributor

cherry-pick: #40820
example: select append_trailing_char_if_absent('it','a') would return null in original design, it can not return null when folding constant on fe any time

@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.

@LiBinfeng-01
Copy link
Contributor Author

run buildall

@LiBinfeng-01
Copy link
Contributor Author

run buildall

@LiBinfeng-01
Copy link
Contributor Author

run buildall

1 similar comment
@LiBinfeng-01
Copy link
Contributor Author

run buildall

@@ -805,7 +807,13 @@ public class SessionVariable implements Serializable, Writable {
private boolean enableJoinReorderBasedCost = false;

@VariableMgr.VarAttr(name = ENABLE_FOLD_CONSTANT_BY_BE, fuzzy = true)
<<<<<<< HEAD
Copy link
Contributor

Choose a reason for hiding this comment

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

?????

Copy link
Contributor Author

Choose a reason for hiding this comment

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

solved

@morrySnow morrySnow changed the title [Fix](Nereids) fix append_trailing_char_if_absent function return null [Fix](Nereids) fix append_trailing_char_if_absent function return null (#40820) Oct 10, 2024
…35584)

which force skip constant fold in nereids. make it easier for test,
especially for SqlLogic platform
@LiBinfeng-01
Copy link
Contributor Author

run buildall

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants