-
Notifications
You must be signed in to change notification settings - Fork 454
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
[GLUTEN-6989][CH] Support RTrim with const source column #6992
Conversation
Run Gluten Clickhouse CI |
Run Gluten Clickhouse CI |
Run Gluten Clickhouse CI |
{ | ||
const char * char_data = reinterpret_cast<const char *>(data); | ||
const char * char_end = char_data + size; | ||
if (!trim_set || trim_set->none()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove if. impossible to happend.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It may occurs when trim col is not constant and trim col contains null value.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't need to consider null cases as long as defaultimplementationfornulls is true.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
Run Gluten Clickhouse CI |
1 similar comment
Run Gluten Clickhouse CI |
Run Gluten Clickhouse CI |
Run Gluten Clickhouse CI |
Run Gluten Clickhouse CI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
* [GLUTEN-6989][CH] Support RTrim with const source column * [GLUTEN-6989][CH] Use bitmap256 to trim * [GLUTEN-6989][CH] Fix comments * [GLUTEN-6989][CH] Fix core dump * [GLUTEN-6989][CH] Remove condition when trim col contains null
What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
(Fixes: #6989)
How was this patch tested?
unit tests