Uh oh!
There was an error while loading. Please reload this page.
[opt](function) Optimize the concat(col, constant, constant, constant) function - #40670
Conversation
doris-robot
commented
Sep 11, 2024
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
Mryange
commented
Sep 11, 2024
run buildall |
doris-robot
commented
Sep 11, 2024
TPC-H: Total hot run time: 38259 ms |
doris-robot
commented
Sep 11, 2024
TPC-DS: Total hot run time: 197429 ms |
doris-robot
commented
Sep 11, 2024
ClickBench: Total hot run time: 31.59 s |
Mryange
commented
Sep 11, 2024
run buildall |
efa785e to
d72b33eCompareMryange
commented
Sep 11, 2024
run buildall |
doris-robot
commented
Sep 11, 2024
TeamCity be ut coverage result: |
Mryange
commented
Sep 11, 2024
run performance |
doris-robot
commented
Sep 11, 2024
TPC-H: Total hot run time: 38450 ms |
doris-robot
commented
Sep 11, 2024
TPC-DS: Total hot run time: 197582 ms |
doris-robot
commented
Sep 11, 2024
ClickBench: Total hot run time: 31.19 s |
| state->use_state = false; | ||
| break; | ||
| } | ||
| auto string_vale = column_string->column_ptr->get_data_at(0); |
There was a problem hiding this comment.
Check here is NULL const, what happen
Mryange
commented
Sep 13, 2024
run buildall |
doris-robot
commented
Sep 13, 2024
TeamCity be ut coverage result: |
doris-robot
commented
Sep 13, 2024
TPC-H: Total hot run time: 43214 ms |
doris-robot
commented
Sep 13, 2024
TPC-DS: Total hot run time: 194930 ms |
doris-robot
commented
Sep 13, 2024
ClickBench: Total hot run time: 31.68 s |
Mryange
commented
Sep 13, 2024
run external |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
…) function (#40670) ``` mysql [test]>select count(concat(short, "123","121231","123123",'12312313')) from strings; +-------------------------------------------------------------+ | count(concat(short, '123', '121231', '123123', '12312313')) | +-------------------------------------------------------------+ | 10000000 | +-------------------------------------------------------------+ 1 row in set (0.52 sec) mysql [test]>select count(concat(short, "123","121231","123123",'12312313' , short , short, short)) from strings; +----------------------------------------------------------------------------------+ | count(concat(short, '123', '121231', '123123', '12312313', short, short, short)) | +----------------------------------------------------------------------------------+ | 10000000 | +----------------------------------------------------------------------------------+ 1 row in set (0.98 sec) now mysql [test]>select count(concat(short, "123","121231","123123",'12312313')) from strings; +-------------------------------------------------------------+ | count(concat(short, '123', '121231', '123123', '12312313')) | +-------------------------------------------------------------+ | 10000000 | +-------------------------------------------------------------+ 1 row in set (0.19 sec) mysql [test]>select count(concat(short, "123","121231","123123",'12312313' , short , short, short)) from strings; +----------------------------------------------------------------------------------+ | count(concat(short, '123', '121231', '123123', '12312313', short, short, short)) | +----------------------------------------------------------------------------------+ | 10000000 | +----------------------------------------------------------------------------------+ 1 row in set (0.71 sec) ```
…) function (apache#40670) ``` mysql [test]>select count(concat(short, "123","121231","123123",'12312313')) from strings; +-------------------------------------------------------------+ | count(concat(short, '123', '121231', '123123', '12312313')) | +-------------------------------------------------------------+ | 10000000 | +-------------------------------------------------------------+ 1 row in set (0.52 sec) mysql [test]>select count(concat(short, "123","121231","123123",'12312313' , short , short, short)) from strings; +----------------------------------------------------------------------------------+ | count(concat(short, '123', '121231', '123123', '12312313', short, short, short)) | +----------------------------------------------------------------------------------+ | 10000000 | +----------------------------------------------------------------------------------+ 1 row in set (0.98 sec) now mysql [test]>select count(concat(short, "123","121231","123123",'12312313')) from strings; +-------------------------------------------------------------+ | count(concat(short, '123', '121231', '123123', '12312313')) | +-------------------------------------------------------------+ | 10000000 | +-------------------------------------------------------------+ 1 row in set (0.19 sec) mysql [test]>select count(concat(short, "123","121231","123123",'12312313' , short , short, short)) from strings; +----------------------------------------------------------------------------------+ | count(concat(short, '123', '121231', '123123', '12312313', short, short, short)) | +----------------------------------------------------------------------------------+ | 10000000 | +----------------------------------------------------------------------------------+ 1 row in set (0.71 sec) ```
Proposed changes