Uh oh!
There was an error while loading. Please reload this page.
[fix](ub) fix some ub error - #35769
Conversation
doris-robot
commented
Jun 2, 2024
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
Mryange
commented
Jun 2, 2024
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
doris-robot
commented
Jun 2, 2024
TeamCity be ut coverage result: |
doris-robot
commented
Jun 2, 2024
TPC-H: Total hot run time: 40349 ms |
doris-robot
commented
Jun 2, 2024
TPC-DS: Total hot run time: 170459 ms |
doris-robot
commented
Jun 2, 2024
ClickBench: Total hot run time: 30.63 s |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
## Proposed changes test pr in this #35177
## Proposed changes test pr in this apache#35177
| doris::vectorized::ColumnUInt8::Container& results) { | ||
| const auto& col = assert_cast<const doris::vectorized::ColumnString&>(column); | ||
| const uint32_t* __restrict offset = col.get_offsets().data(); | ||
| const auto& offset = col.get_offsets(); |
There was a problem hiding this comment.
- why does this modification work?
- may be we can apply the change to other places like L672
…ding the 64-bit range. (#47080) ### What problem does this PR solve? It is part of this PR's #35769 content. ``` SELECT a, b, bit_shift_left(nullable(a), nullable(b)) from t01; +----------------------+-----+-----------------------------------------------------------+ | a | b | bit_shift_left(nullable(a), cast(nullable(b) as TINYINT)) | +----------------------+-----+-----------------------------------------------------------+ | -4388843650233597359 | 127 | -9223372036854775808 | | 306567258363819813 | 3 | 2452538066910558504 | | 306567258363819813 | 127 | -9223372036854775808 | | 3456789123456789123 | 127 | -9223372036854775808 | +----------------------+-----+-----------------------------------------------------------+ ``` now ``` SELECT a, b, bit_shift_left(nullable(a), nullable(b)) from t01; +----------------------+-----+-----------------------------------------------------------+ | a | b | bit_shift_left(nullable(a), cast(nullable(b) as TINYINT)) | +----------------------+-----+-----------------------------------------------------------+ | -4388843650233597359 | 127 | 0 | | 306567258363819813 | 3 | 2452538066910558504 | | 306567258363819813 | 127 | 0 | | 3456789123456789123 | 127 | 0 | +----------------------+-----+-----------------------------------------------------------+ ``` - [ ] Confirm test cases - [ ] Confirm document - [ ] Add branch pick label <!-- Add branch pick label that this PR should merge into -->
## Proposed changes test pr in this apache#35177
Proposed changes
#35723
test pr in this #35177