You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "zclllyybb (via GitHub)" <gi...@apache.org> on 2024/07/25 11:39:57 UTC
[PR] [opt](parse) optimize parsing string to datetime [doris]
zclllyybb opened a new pull request, #38385:
URL: https://github.com/apache/doris/pull/38385
## Proposed changes
Issue Number: close #xxx
```sql
create table str(
k0 varchar not null
)
DISTRIBUTED BY HASH(`k0`) BUCKETS auto
properties("replication_num" = "1");
insert into str select '2034-12-15 12:12:12' from numbers("number" = "50000000");
set parallel_pipeline_task_num=1;
--- origin
mysql [test]>select count(cast(k0 as datetime)) from str;
+----------------------------------+
| count(cast(k0 as DATETIMEV2(0))) |
+----------------------------------+
| 50000000 |
+----------------------------------+
1 row in set (7.09 sec)
--- opt function and isspace
mysql [test]>select count(cast(k0 as datetime)) from str;
+----------------------------------+
| count(cast(k0 as DATETIMEV2(0))) |
+----------------------------------+
| 50000000 |
+----------------------------------+
1 row in set (5.28 sec)
--- and ispunct
mysql [test]>select count(cast(k0 as datetime)) from str;
+----------------------------------+
| count(cast(k0 as DATETIMEV2(0))) |
+----------------------------------+
| 50000000 |
+----------------------------------+
1 row in set (5.14 sec)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [opt](parse) optimize parsing string to datetime [doris]
Posted by "zclllyybb (via GitHub)" <gi...@apache.org>.
zclllyybb commented on PR #38385:
URL: https://github.com/apache/doris/pull/38385#issuecomment-2250121956
run buildall
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [opt](parse) optimize parsing string to datetime [doris]
Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #38385:
URL: https://github.com/apache/doris/pull/38385#issuecomment-2250121914
Thank you for your contribution to Apache Doris.
Don't know what should be done next? See [How to process your PR](https://cwiki.apache.org/confluence/display/DORIS/How+to+process+your+PR)
Since 2024-03-18, the Document has been moved to [doris-website](https://github.com/apache/doris-website).
See [Doris Document](https://cwiki.apache.org/confluence/display/DORIS/Doris+Document).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [opt](parse) optimize parsing string to datetime [doris]
Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #38385:
URL: https://github.com/apache/doris/pull/38385#issuecomment-2250223293
<details>
<summary>ClickBench: <b>Total hot run time: 30.72 s</b></summary>
```
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit 5b19d38cedc9d613ab16935a84ac761641920dfb, data reload: false
query1 0.04 0.03 0.03
query2 0.07 0.04 0.03
query3 0.22 0.05 0.05
query4 1.68 0.07 0.06
query5 0.47 0.49 0.47
query6 1.14 0.72 0.72
query7 0.02 0.02 0.02
query8 0.05 0.04 0.05
query9 0.55 0.49 0.49
query10 0.55 0.54 0.54
query11 0.15 0.11 0.11
query12 0.14 0.13 0.12
query13 0.60 0.60 0.58
query14 0.75 0.78 0.78
query15 0.84 0.80 0.80
query16 0.36 0.34 0.37
query17 0.99 0.94 1.04
query18 0.23 0.21 0.21
query19 1.80 1.78 1.79
query20 0.01 0.01 0.01
query21 15.42 0.78 0.66
query22 4.17 6.70 2.16
query23 18.29 1.37 1.24
query24 2.12 0.22 0.23
query25 0.16 0.09 0.09
query26 0.29 0.22 0.21
query27 0.45 0.23 0.23
query28 13.19 1.03 1.00
query29 12.64 3.30 3.26
query30 0.27 0.06 0.06
query31 2.88 0.38 0.38
query32 3.28 0.48 0.47
query33 2.91 2.90 2.88
query34 17.04 4.34 4.37
query35 4.43 4.36 4.42
query36 0.65 0.49 0.47
query37 0.19 0.16 0.15
query38 0.16 0.15 0.15
query39 0.04 0.04 0.03
query40 0.16 0.12 0.13
query41 0.10 0.04 0.05
query42 0.05 0.04 0.04
query43 0.04 0.04 0.04
Total cold run time: 109.59 s
Total hot run time: 30.72 s
```
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [opt](parse) optimize parsing string to datetime [doris]
Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #38385:
URL: https://github.com/apache/doris/pull/38385#issuecomment-2250213312
<details>
<summary>TPC-DS: <b>Total hot run time: 173235 ms</b></summary>
```
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
TPC-DS sf100 test result on commit 5b19d38cedc9d613ab16935a84ac761641920dfb, data reload: false
query1 901 362 365 362
query2 6428 1892 1866 1866
query3 6628 203 214 203
query4 27565 17428 17311 17311
query5 3781 478 468 468
query6 268 174 163 163
query7 4573 286 288 286
query8 241 185 191 185
query9 8619 2432 2422 2422
query10 433 280 269 269
query11 10599 10096 10279 10096
query12 120 87 86 86
query13 1640 398 372 372
query14 10136 7653 7610 7610
query15 225 168 171 168
query16 7587 503 454 454
query17 1419 566 549 549
query18 1928 325 282 282
query19 189 141 138 138
query20 95 84 84 84
query21 207 95 97 95
query22 4265 4038 4049 4038
query23 34051 33591 33490 33490
query24 11132 2864 2915 2864
query25 620 390 379 379
query26 1089 154 149 149
query27 2263 280 281 280
query28 6022 2084 2074 2074
query29 880 450 440 440
query30 260 158 170 158
query31 983 765 783 765
query32 95 52 55 52
query33 769 325 324 324
query34 946 473 493 473
query35 902 733 752 733
query36 1143 994 994 994
query37 136 81 85 81
query38 3024 2844 2802 2802
query39 916 857 846 846
query40 198 112 114 112
query41 45 43 44 43
query42 118 101 105 101
query43 509 472 453 453
query44 1184 732 730 730
query45 206 177 181 177
query46 1082 756 757 756
query47 1846 1777 1757 1757
query48 374 291 293 291
query49 844 406 417 406
query50 785 394 401 394
query51 6749 6643 6801 6643
query52 102 87 89 87
query53 255 183 179 179
query54 874 435 447 435
query55 74 72 72 72
query56 286 295 274 274
query57 1138 1054 1035 1035
query58 276 257 259 257
query59 2803 2753 2745 2745
query60 308 281 305 281
query61 94 93 97 93
query62 801 650 661 650
query63 211 183 174 174
query64 9325 2274 1690 1690
query65 3171 3091 3088 3088
query66 754 326 329 326
query67 15326 15233 14878 14878
query68 4426 549 544 544
query69 529 355 308 308
query70 1091 1053 1049 1049
query71 374 268 275 268
query72 7002 5592 5602 5592
query73 746 327 336 327
query74 6232 5710 5620 5620
query75 3331 2673 2699 2673
query76 2208 952 900 900
query77 487 313 308 308
query78 9992 9058 8965 8965
query79 4099 525 538 525
query80 2017 491 493 491
query81 600 221 223 221
query82 1472 136 135 135
query83 338 176 177 176
query84 271 76 79 76
query85 1438 371 299 299
query86 468 301 310 301
query87 3298 3114 3111 3111
query88 4577 2381 2390 2381
query89 433 285 282 282
query90 1768 193 183 183
query91 125 98 98 98
query92 58 48 49 48
query93 5187 555 541 541
query94 879 283 298 283
query95 366 260 264 260
query96 608 272 267 267
query97 3217 3029 3000 3000
query98 219 193 194 193
query99 1603 1293 1272 1272
Total cold run time: 282275 ms
Total hot run time: 173235 ms
```
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [opt](parse) optimize parsing string to datetime [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on code in PR #38385:
URL: https://github.com/apache/doris/pull/38385#discussion_r1691308420
##########
be/src/vec/runtime/vdatetime_value.cpp:
##########
@@ -55,6 +55,15 @@ uint8_t mysql_week_mode(uint32_t mode) {
return mode;
}
+static bool check_space(char ch) {
+ // \t, \n, \v, \f, \r are 9~13, respectively.
+ return UNLIKELY(ch == ' ' || (ch >= 9 && ch <= 13));
Review Comment:
warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr]
```cpp
return UNLIKELY(ch == ' ' || (ch >= 9 && ch <= 13));
^
```
<details>
<summary>Additional context</summary>
**be/src/common/compiler_util.h:35:** expanded from macro 'UNLIKELY'
```cpp
#define UNLIKELY(expr) __builtin_expect(!!(expr), 0)
^
```
</details>
##########
be/src/vec/runtime/vdatetime_value.cpp:
##########
@@ -1987,13 +1996,13 @@
bool convert_zero) {
return from_date_str_base(date_str, len, scale, nullptr, convert_zero);
}
-// when we parse
template <typename T>
bool DateV2Value<T>::from_date_str(const char* date_str, int len,
const cctz::time_zone& local_time_zone, int scale /* = -1*/,
bool convert_zero) {
return from_date_str_base(date_str, len, scale, &local_time_zone, convert_zero);
}
+// if local_time_zone is null, only be able to parse time without timezone
template <typename T>
bool DateV2Value<T>::from_date_str_base(const char* date_str, int len, int scale,
Review Comment:
warning: function 'from_date_str_base' has cognitive complexity of 116 (threshold 50) [readability-function-cognitive-complexity]
```cpp
bool DateV2Value<T>::from_date_str_base(const char* date_str, int len, int scale,
^
```
<details>
<summary>Additional context</summary>
**be/src/vec/runtime/vdatetime_value.cpp:2016:** +1, including nesting penalty of 0, nesting level increased to 1
```cpp
while (ptr < end && check_space(*ptr)) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2016:** +1
```cpp
while (ptr < end && check_space(*ptr)) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2019:** +1, including nesting penalty of 0, nesting level increased to 1
```cpp
if (ptr == end || !isdigit(*ptr)) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2019:** +1
```cpp
if (ptr == end || !isdigit(*ptr)) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2024:** +1, including nesting penalty of 0, nesting level increased to 1
```cpp
while (pos < end && (isdigit(*pos) || *pos == 'T')) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2024:** +1
```cpp
while (pos < end && (isdigit(*pos) || *pos == 'T')) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2024:** +1
```cpp
while (pos < end && (isdigit(*pos) || *pos == 'T')) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2034:** +1, including nesting penalty of 0, nesting level increased to 1
```cpp
if (pos == end || *pos == '.' ||
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2034:** +1
```cpp
if (pos == end || *pos == '.' ||
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2036:** +2, including nesting penalty of 1, nesting level increased to 2
```cpp
if (digits == 4 || digits == 8 || digits >= 14) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2036:** +1
```cpp
if (digits == 4 || digits == 8 || digits >= 14) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2038:** +1, nesting level increased to 2
```cpp
} else {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2049:** +1, including nesting penalty of 0, nesting level increased to 1
```cpp
while (ptr < end && isdigit(*ptr) && field_idx < MAX_DATE_PARTS) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2049:** +1
```cpp
while (ptr < end && isdigit(*ptr) && field_idx < MAX_DATE_PARTS) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2052:** +1
```cpp
bool scan_to_delim = (!is_interval_format) && (field_idx != 6);
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2053:** +2, including nesting penalty of 1, nesting level increased to 2
```cpp
while (ptr < end && isdigit(*ptr) && (scan_to_delim || field_len--)) { // field_len <= 7
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2053:** +1
```cpp
while (ptr < end && isdigit(*ptr) && (scan_to_delim || field_len--)) { // field_len <= 7
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2053:** +1
```cpp
while (ptr < end && isdigit(*ptr) && (scan_to_delim || field_len--)) { // field_len <= 7
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2058:** +2, including nesting penalty of 1, nesting level increased to 2
```cpp
if (ptr == start) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2062:** +2, including nesting penalty of 1, nesting level increased to 2
```cpp
if (field_idx == 6) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2063:** +3, including nesting penalty of 2, nesting level increased to 3
```cpp
if constexpr (is_datetime) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2068:** +4, including nesting penalty of 3, nesting level increased to 4
```cpp
if (scale >= 0) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2079:** +5, including nesting penalty of 4, nesting level increased to 5
```cpp
if (reminder >= 5 * normalizer) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2084:** +5, including nesting penalty of 4, nesting level increased to 5
```cpp
if (temp_val == int_exp10(7)) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2087:** +1, nesting level increased to 5
```cpp
} else {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2093:** +4, including nesting penalty of 3, nesting level increased to 4
```cpp
while (ptr < end && isdigit(*ptr)) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2093:** +1
```cpp
while (ptr < end && isdigit(*ptr)) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2096:** +1, nesting level increased to 3
```cpp
} else {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2104:** +2, including nesting penalty of 1, nesting level increased to 2
```cpp
if (temp_val > 999999L) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2110:** +2, including nesting penalty of 1, nesting level increased to 2
```cpp
if (field_idx == 6) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2114:** +1, nesting level increased to 2
```cpp
} else {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2120:** +2, including nesting penalty of 1, nesting level increased to 2
```cpp
if (ptr == end) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2126:** +2, including nesting penalty of 1, nesting level increased to 2
```cpp
if (UNLIKELY((field_idx > 2 ||
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2128:** +1
```cpp
&& time_zone_begins(ptr, end))) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2126:** +1
```cpp
if (UNLIKELY((field_idx > 2 ||
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2129:** +3, including nesting penalty of 2, nesting level increased to 3
```cpp
if (local_time_zone == nullptr) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2137:** +2, including nesting penalty of 1, nesting level increased to 2
```cpp
if (field_idx == 2 && *ptr == 'T') {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2137:** +1
```cpp
if (field_idx == 2 && *ptr == 'T') {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2145:** +2, including nesting penalty of 1, nesting level increased to 2
```cpp
if (field_idx == 5) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2146:** +3, including nesting penalty of 2, nesting level increased to 3
```cpp
if (*ptr == '.') {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2151:** +4, including nesting penalty of 3, nesting level increased to 4
```cpp
if constexpr (is_datetime) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2153:** +1, nesting level increased to 4
```cpp
} else {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2156:** +1, nesting level increased to 3
```cpp
} else if (isdigit(*ptr)) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2164:** +2, including nesting penalty of 1, nesting level increased to 2
```cpp
while (ptr < end && (check_date_punct(*ptr) || check_space(*ptr))) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2164:** +1
```cpp
while (ptr < end && (check_date_punct(*ptr) || check_space(*ptr))) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2164:** +1
```cpp
while (ptr < end && (check_date_punct(*ptr) || check_space(*ptr))) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2165:** +3, including nesting penalty of 2, nesting level increased to 3
```cpp
if (check_space(*ptr)) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2166:** +4, including nesting penalty of 3, nesting level increased to 4
```cpp
if (((1 << field_idx) & allow_space_mask) == 0) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2170:** +3, including nesting penalty of 2, nesting level increased to 3
```cpp
if (*ptr == '-') {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2179:** +1, including nesting penalty of 0, nesting level increased to 1
```cpp
if (!is_interval_format) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2182:** +1, including nesting penalty of 0, nesting level increased to 1
```cpp
for (; field_idx < MAX_DATE_PARTS; ++field_idx) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2186:** +1, including nesting penalty of 0, nesting level increased to 1
```cpp
if (year_len == 2) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2187:** +2, including nesting penalty of 1, nesting level increased to 2
```cpp
if (date_val[0] < YY_PART_YEAR) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2189:** +1, nesting level increased to 2
```cpp
} else {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2194:** +1, including nesting penalty of 0, nesting level increased to 1
```cpp
if (num_field < 3) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2197:** +1, including nesting penalty of 0, nesting level increased to 1
```cpp
if (is_invalid(date_val[0], date_val[1], date_val[2], 0, 0, 0, 0)) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2198:** +2, including nesting penalty of 1, nesting level increased to 2
```cpp
if (date_val[0] == 0 && date_val[1] == 0 && date_val[2] == 0 && convert_zero) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2198:** +1
```cpp
if (date_val[0] == 0 && date_val[1] == 0 && date_val[2] == 0 && convert_zero) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2201:** +1, nesting level increased to 2
```cpp
} else {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2206:** +1, including nesting penalty of 0, nesting level increased to 1
```cpp
if (need_use_timezone) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2208:** +2, including nesting penalty of 1, nesting level increased to 2
```cpp
if (!TimezoneUtils::find_cctz_time_zone(std::string {ptr, end}, given_tz)) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2221:** +1, including nesting penalty of 0, nesting level increased to 1
```cpp
if constexpr (!is_datetime) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2222:** +2, including nesting penalty of 1, nesting level increased to 2
```cpp
if (sec_offset) {
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2224:** +3, including nesting penalty of 2, nesting level increased to 3
```cpp
if (!tmp.check_range_and_set_time(date_val[0], date_val[1], date_val[2], date_val[3],
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2228:** +3, including nesting penalty of 2, nesting level increased to 3
```cpp
if (!tmp.date_add_interval<TimeUnit::SECOND>(
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2237:** +1, including nesting penalty of 0, nesting level increased to 1
```cpp
if (!check_range_and_set_time(date_val[0], date_val[1], date_val[2], date_val[3], date_val[4],
^
```
**be/src/vec/runtime/vdatetime_value.cpp:2242:** +1, including nesting penalty of 0, nesting level increased to 1
```cpp
return sec_offset ? date_add_interval<TimeUnit::SECOND>(
^
```
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [opt](parse) optimize parsing string to datetime [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #38385:
URL: https://github.com/apache/doris/pull/38385#issuecomment-2254846617
PR approved by at least one committer and no changes requested.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [opt](parse) optimize parsing string to datetime [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #38385:
URL: https://github.com/apache/doris/pull/38385#issuecomment-2254846640
PR approved by anyone and no changes requested.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [opt](parse) optimize parsing string to datetime [doris]
Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #38385:
URL: https://github.com/apache/doris/pull/38385#issuecomment-2250193224
<details>
<summary>TPC-H: <b>Total hot run time: 39179 ms</b></summary>
```
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit 5b19d38cedc9d613ab16935a84ac761641920dfb, data reload: false
------ Round 1 ----------------------------------
q1 17644 4367 4254 4254
q2 2031 195 197 195
q3 10451 1232 1145 1145
q4 10133 650 723 650
q5 7601 2663 2665 2663
q6 218 137 139 137
q7 941 592 587 587
q8 9238 1879 1893 1879
q9 8781 6538 6561 6538
q10 8783 3796 3765 3765
q11 473 245 251 245
q12 520 225 222 222
q13 18706 2972 2985 2972
q14 284 235 234 234
q15 515 499 468 468
q16 494 381 384 381
q17 948 658 712 658
q18 7984 7505 7347 7347
q19 6891 1014 973 973
q20 700 331 330 330
q21 5164 3244 3960 3244
q22 350 293 292 292
Total cold run time: 118850 ms
Total hot run time: 39179 ms
----- Round 2, with runtime_filter_mode=off -----
q1 4481 4201 4265 4201
q2 375 267 266 266
q3 2964 2873 2890 2873
q4 1969 1693 1738 1693
q5 5642 5542 5457 5457
q6 225 141 131 131
q7 2145 1844 1827 1827
q8 3242 3408 3441 3408
q9 8756 8754 8779 8754
q10 4079 3825 3778 3778
q11 585 510 514 510
q12 823 656 640 640
q13 15932 3153 3138 3138
q14 304 293 284 284
q15 535 487 505 487
q16 478 449 424 424
q17 1813 1542 1520 1520
q18 8137 7931 7932 7931
q19 1736 1662 1534 1534
q20 2432 1895 1848 1848
q21 5070 4867 4617 4617
q22 574 528 504 504
Total cold run time: 72297 ms
Total hot run time: 55825 ms
```
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [opt](parse) optimize parsing string to datetime [doris]
Posted by "HappenLee (via GitHub)" <gi...@apache.org>.
HappenLee merged PR #38385:
URL: https://github.com/apache/doris/pull/38385
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org