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/10/24 07:40:39 UTC

[PR] [Opt](timezone) Preload time offset in datetime [doris]

zclllyybb opened a new pull request, #42395:
URL: https://github.com/apache/doris/pull/42395

   ## Proposed changes
   
   Issue Number: close #xxx
   
   ```sql
   mysql> insert into str select "2020-12-12 00:00:00+03:30" from numbers("number" = "10000000");
   ```
   before:
   ```sql
   mysql> select count(cast(k0 as datetime)) from str;
   +----------------------------------+
   | count(cast(k0 as DATETIMEV2(0))) |
   +----------------------------------+
   |                         10000000 |
   +----------------------------------+
   1 row in set (6.51 sec)
   ```
   after:
   ```sql
   mysql> select count(cast(k0 as datetime)) from str;
   +----------------------------------+
   | count(cast(k0 as DATETIMEV2(0))) |
   +----------------------------------+
   |                         10000000 |
   +----------------------------------+
   1 row in set (0.25 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](timezone) Preload time offset in datetime [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #42395:
URL: https://github.com/apache/doris/pull/42395#issuecomment-2437197114

   
   <details>
   <summary>TPC-DS: <b>Total hot run time: 191699 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 267e26027b5d0959d8e1f9fb44b6564d7bd4d8f7, data reload: false
   
   query1	865	415	396	396
   query2	6234	2105	2099	2099
   query3	8681	192	203	192
   query4	34947	23624	23517	23517
   query5	4573	442	434	434
   query6	283	168	161	161
   query7	4197	304	308	304
   query8	288	230	239	230
   query9	9521	2669	2662	2662
   query10	478	252	265	252
   query11	18152	15197	15248	15197
   query12	154	103	109	103
   query13	1558	430	445	430
   query14	8654	7162	6855	6855
   query15	245	176	171	171
   query16	7881	447	452	447
   query17	1438	625	600	600
   query18	1849	305	320	305
   query19	231	159	154	154
   query20	123	110	117	110
   query21	206	114	111	111
   query22	4843	4685	4531	4531
   query23	34923	34089	34099	34089
   query24	11021	2794	2812	2794
   query25	633	413	397	397
   query26	1093	164	162	162
   query27	2434	290	289	289
   query28	7688	2419	2436	2419
   query29	797	415	423	415
   query30	258	162	163	162
   query31	1057	824	798	798
   query32	97	53	54	53
   query33	744	288	285	285
   query34	919	510	530	510
   query35	1014	876	879	876
   query36	1113	931	948	931
   query37	132	76	74	74
   query38	4389	4290	4314	4290
   query39	1464	1418	1452	1418
   query40	197	98	100	98
   query41	49	47	50	47
   query42	110	98	98	98
   query43	548	488	483	483
   query44	1270	814	829	814
   query45	179	163	165	163
   query46	1137	712	703	703
   query47	1946	1846	1883	1846
   query48	411	339	317	317
   query49	935	417	407	407
   query50	803	396	390	390
   query51	7088	7005	6970	6970
   query52	97	89	87	87
   query53	250	183	179	179
   query54	1069	413	407	407
   query55	82	79	79	79
   query56	276	281	231	231
   query57	1326	1163	1152	1152
   query58	221	199	202	199
   query59	3135	3204	3025	3025
   query60	265	259	246	246
   query61	103	98	108	98
   query62	847	649	663	649
   query63	218	191	181	181
   query64	3957	621	600	600
   query65	3288	3209	3216	3209
   query66	808	313	323	313
   query67	15970	15898	15553	15553
   query68	4438	571	559	559
   query69	431	254	257	254
   query70	1181	1130	1148	1130
   query71	353	255	267	255
   query72	6214	4020	3956	3956
   query73	765	358	365	358
   query74	10156	8975	8949	8949
   query75	3405	2688	2650	2650
   query76	2815	1032	925	925
   query77	381	263	273	263
   query78	10494	9648	9590	9590
   query79	1769	594	609	594
   query80	1055	420	422	420
   query81	557	238	242	238
   query82	635	116	118	116
   query83	240	138	136	136
   query84	243	67	73	67
   query85	1395	299	289	289
   query86	424	300	278	278
   query87	4912	4578	4641	4578
   query88	3364	2218	2144	2144
   query89	405	294	292	292
   query90	2074	187	190	187
   query91	138	98	102	98
   query92	67	47	50	47
   query93	2169	540	552	540
   query94	966	302	302	302
   query95	349	245	247	245
   query96	617	285	282	282
   query97	2888	2722	2664	2664
   query98	203	201	219	201
   query99	1727	1342	1325	1325
   Total cold run time: 298592 ms
   Total hot run time: 191699 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](timezone) Preload time offset in datetime [doris]

Posted by "zclllyybb (via GitHub)" <gi...@apache.org>.
zclllyybb commented on PR #42395:
URL: https://github.com/apache/doris/pull/42395#issuecomment-2437003551

   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](timezone) Preload time offset in datetime [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on code in PR #42395:
URL: https://github.com/apache/doris/pull/42395#discussion_r1816093513


##########
be/test/util/timezone_utils_test.cpp:
##########
@@ -0,0 +1,144 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+#include "util/timezone_utils.h"

Review Comment:
   warning: 'util/timezone_utils.h' file not found [clang-diagnostic-error]
   ```cpp
   #include "util/timezone_utils.h"
            ^
   ```
   



-- 
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](timezone) Preload time offset in datetime [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #42395:
URL: https://github.com/apache/doris/pull/42395#issuecomment-2437007741

   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](timezone) Preload time offset in datetime [doris]

Posted by "yiguolei (via GitHub)" <gi...@apache.org>.
yiguolei commented on code in PR #42395:
URL: https://github.com/apache/doris/pull/42395#discussion_r1815914599


##########
be/src/util/timezone_utils.cpp:
##########
@@ -106,7 +107,33 @@ void TimezoneUtils::load_timezones_to_cache() {
     }
 
     lower_zone_cache_->erase("lmt"); // local mean time for every timezone
-    LOG(INFO) << "Read " << lower_zone_cache_->size() << " timezones.";
+
+    load_offsets_to_cache();
+    LOG(INFO) << "Preloaded" << lower_zone_cache_->size() << " timezones.";
+}
+
+static std::string to_hour_string(int arg) {
+    if (arg < 0 && arg > -10) { // -9 to -1
+        return std::string {"-0"} + std::to_string(std::abs(arg));
+    } else if (arg >= 0 && arg < 10) { //0 to 9
+        return std::string {"0"} + std::to_string(arg);
+    }
+    return std::to_string(arg);
+}
+
+void TimezoneUtils::load_offsets_to_cache() {

Review Comment:
   add unit test for all the methods



-- 
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](timezone) Preload time offset in datetime [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #42395:
URL: https://github.com/apache/doris/pull/42395#issuecomment-2437208321

   
   <details>
   <summary>ClickBench: <b>Total hot run time: 32.38 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 267e26027b5d0959d8e1f9fb44b6564d7bd4d8f7, data reload: false
   
   query1	0.03	0.03	0.02
   query2	0.08	0.03	0.03
   query3	0.23	0.06	0.06
   query4	1.67	0.10	0.10
   query5	0.42	0.40	0.40
   query6	1.17	0.66	0.65
   query7	0.02	0.01	0.03
   query8	0.03	0.03	0.03
   query9	0.55	0.49	0.49
   query10	0.56	0.54	0.55
   query11	0.14	0.11	0.11
   query12	0.13	0.10	0.10
   query13	0.60	0.60	0.60
   query14	2.82	2.76	2.82
   query15	0.90	0.82	0.83
   query16	0.38	0.38	0.38
   query17	1.06	1.07	1.06
   query18	0.20	0.19	0.20
   query19	1.85	1.74	1.99
   query20	0.02	0.01	0.01
   query21	15.38	0.59	0.57
   query22	2.66	2.92	1.67
   query23	17.10	0.85	0.72
   query24	3.58	1.17	1.41
   query25	0.25	0.13	0.04
   query26	0.62	0.15	0.14
   query27	0.06	0.04	0.04
   query28	10.15	1.09	1.07
   query29	12.84	3.31	3.34
   query30	0.25	0.06	0.06
   query31	2.88	0.38	0.37
   query32	3.27	0.47	0.46
   query33	3.03	3.01	3.03
   query34	16.95	4.42	4.40
   query35	4.44	4.49	4.50
   query36	0.68	0.48	0.48
   query37	0.09	0.06	0.05
   query38	0.04	0.03	0.04
   query39	0.03	0.03	0.02
   query40	0.16	0.13	0.12
   query41	0.08	0.02	0.02
   query42	0.03	0.02	0.02
   query43	0.03	0.02	0.02
   Total cold run time: 107.46 s
   Total hot run time: 32.38 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](timezone) Preload time offset in datetime [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #42395:
URL: https://github.com/apache/doris/pull/42395#issuecomment-2434537465

   clang-tidy review says "All clean, LGTM! :+1:"


-- 
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](timezone) Preload time offset in datetime [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #42395:
URL: https://github.com/apache/doris/pull/42395#issuecomment-2434529402

   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](timezone) Preload time offset in datetime [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #42395:
URL: https://github.com/apache/doris/pull/42395#issuecomment-2434538662

   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](timezone) Preload time offset in datetime [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #42395:
URL: https://github.com/apache/doris/pull/42395#issuecomment-2434721549

   
   <details>
   <summary>TPC-H: <b>Total hot run time: 41603 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 b58fac09b50a071c970b2e4b2da3e1ff24009db5, data reload: false
   
   ------ Round 1 ----------------------------------
   q1	17868	7549	7372	7372
   q2	2070	164	153	153
   q3	10640	1139	1147	1139
   q4	10296	846	810	810
   q5	7737	3206	3071	3071
   q6	242	154	154	154
   q7	1144	618	598	598
   q8	9374	1971	2053	1971
   q9	6592	6481	6469	6469
   q10	7040	2442	2488	2442
   q11	439	248	248	248
   q12	410	229	222	222
   q13	17794	3013	3017	3013
   q14	248	205	209	205
   q15	569	522	515	515
   q16	642	579	584	579
   q17	991	572	559	559
   q18	7540	6763	6760	6760
   q19	1359	965	1006	965
   q20	470	190	183	183
   q21	4043	3268	3168	3168
   q22	1128	1007	1015	1007
   Total cold run time: 108636 ms
   Total hot run time: 41603 ms
   
   ----- Round 2, with runtime_filter_mode=off -----
   q1	7333	7326	8015	7326
   q2	339	232	225	225
   q3	2929	2783	2825	2783
   q4	1936	1789	1686	1686
   q5	5508	5508	5558	5508
   q6	231	147	147	147
   q7	2172	1725	1735	1725
   q8	3302	3441	3451	3441
   q9	8637	8558	8619	8558
   q10	3490	3469	3462	3462
   q11	587	485	487	485
   q12	798	577	592	577
   q13	9036	3047	3046	3046
   q14	305	267	265	265
   q15	555	521	518	518
   q16	693	652	646	646
   q17	1810	1575	1570	1570
   q18	7822	7472	7641	7472
   q19	1702	1638	1556	1556
   q20	2039	1838	1801	1801
   q21	5370	5244	5373	5244
   q22	1114	997	964	964
   Total cold run time: 67708 ms
   Total hot run time: 59005 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](timezone) Preload time offset in datetime [doris]

Posted by "zclllyybb (via GitHub)" <gi...@apache.org>.
zclllyybb commented on PR #42395:
URL: https://github.com/apache/doris/pull/42395#issuecomment-2434529466

   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](timezone) Preload time offset in datetime [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #42395:
URL: https://github.com/apache/doris/pull/42395#issuecomment-2437196340

   TeamCity be ut coverage result:
    Function Coverage: 37.46% (9716/25935) 
    Line Coverage: 28.71% (80567/280577)
    Region Coverage: 28.14% (41666/148043)
    Branch Coverage: 24.70% (21171/85704)
    Coverage Report: http://coverage.selectdb-in.cc/coverage/267e26027b5d0959d8e1f9fb44b6564d7bd4d8f7_267e26027b5d0959d8e1f9fb44b6564d7bd4d8f7/report/index.html


-- 
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](timezone) Preload time offset in datetime [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #42395:
URL: https://github.com/apache/doris/pull/42395#issuecomment-2437173980

   
   <details>
   <summary>TPC-H: <b>Total hot run time: 41499 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 267e26027b5d0959d8e1f9fb44b6564d7bd4d8f7, data reload: false
   
   ------ Round 1 ----------------------------------
   q1	17850	7528	7327	7327
   q2	2043	282	276	276
   q3	12312	1087	1164	1087
   q4	10574	889	881	881
   q5	7751	3148	3096	3096
   q6	240	147	144	144
   q7	1044	604	594	594
   q8	9348	1933	2002	1933
   q9	6627	6521	6445	6445
   q10	7093	2445	2423	2423
   q11	433	245	246	245
   q12	407	216	208	208
   q13	17800	3011	3038	3011
   q14	238	212	211	211
   q15	572	509	512	509
   q16	651	588	585	585
   q17	978	598	540	540
   q18	7657	6655	6712	6655
   q19	1350	1050	1022	1022
   q20	494	184	182	182
   q21	4007	3164	3147	3147
   q22	1100	978	995	978
   Total cold run time: 110569 ms
   Total hot run time: 41499 ms
   
   ----- Round 2, with runtime_filter_mode=off -----
   q1	7313	7304	7268	7268
   q2	334	240	246	240
   q3	3077	2968	2994	2968
   q4	2094	1820	1822	1820
   q5	5742	5757	5796	5757
   q6	225	134	138	134
   q7	2240	1813	1767	1767
   q8	3422	3427	3509	3427
   q9	8937	8882	8914	8882
   q10	3608	3597	3531	3531
   q11	586	496	494	494
   q12	814	616	600	600
   q13	10017	3174	3194	3174
   q14	319	282	280	280
   q15	576	533	520	520
   q16	669	659	611	611
   q17	1873	1668	1621	1621
   q18	8296	7662	7494	7494
   q19	1749	1628	1590	1590
   q20	2135	1847	1890	1847
   q21	5637	5523	5380	5380
   q22	1141	1035	1056	1035
   Total cold run time: 70804 ms
   Total hot run time: 60440 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](timezone) Preload time offset in datetime [doris]

Posted by "yiguolei (via GitHub)" <gi...@apache.org>.
yiguolei merged PR #42395:
URL: https://github.com/apache/doris/pull/42395


-- 
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](timezone) Preload time offset in datetime [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #42395:
URL: https://github.com/apache/doris/pull/42395#issuecomment-2434538606

   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](timezone) Preload time offset in datetime [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #42395:
URL: https://github.com/apache/doris/pull/42395#issuecomment-2434749143

   
   <details>
   <summary>TPC-DS: <b>Total hot run time: 193233 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 b58fac09b50a071c970b2e4b2da3e1ff24009db5, data reload: false
   
   query1	990	369	367	367
   query2	6516	2078	2054	2054
   query3	6795	222	234	222
   query4	33755	23602	23717	23602
   query5	4321	495	462	462
   query6	263	173	184	173
   query7	4598	296	291	291
   query8	285	230	238	230
   query9	9686	2748	2734	2734
   query10	481	287	277	277
   query11	18253	15439	15259	15259
   query12	164	100	98	98
   query13	1657	433	408	408
   query14	10482	7681	7540	7540
   query15	308	178	182	178
   query16	7766	459	482	459
   query17	1788	578	580	578
   query18	1540	306	305	305
   query19	375	173	168	168
   query20	116	110	117	110
   query21	221	104	107	104
   query22	4660	4276	4253	4253
   query23	34794	34119	34124	34119
   query24	11084	2815	2772	2772
   query25	648	392	422	392
   query26	1138	157	163	157
   query27	2659	296	302	296
   query28	7804	2451	2468	2451
   query29	798	431	434	431
   query30	321	164	161	161
   query31	1040	808	824	808
   query32	102	60	62	60
   query33	773	298	299	298
   query34	954	509	518	509
   query35	1108	888	905	888
   query36	1097	948	960	948
   query37	154	94	84	84
   query38	4382	4235	4295	4235
   query39	1521	1440	1437	1437
   query40	220	102	100	100
   query41	51	47	49	47
   query42	126	104	102	102
   query43	529	500	502	500
   query44	1286	803	807	803
   query45	198	167	168	167
   query46	1138	704	706	704
   query47	1985	1819	1814	1814
   query48	434	338	323	323
   query49	1150	448	445	445
   query50	819	384	397	384
   query51	7105	7031	6956	6956
   query52	101	90	91	90
   query53	260	180	189	180
   query54	1168	451	438	438
   query55	79	81	84	81
   query56	282	274	272	272
   query57	1354	1179	1171	1171
   query58	254	309	243	243
   query59	3203	3020	3058	3020
   query60	288	270	266	266
   query61	104	102	105	102
   query62	877	687	679	679
   query63	219	189	183	183
   query64	4333	633	606	606
   query65	3302	3238	3219	3219
   query66	1320	307	307	307
   query67	16020	15768	15725	15725
   query68	4956	553	544	544
   query69	468	292	295	292
   query70	1237	1133	1184	1133
   query71	345	316	273	273
   query72	6392	4018	4067	4018
   query73	775	354	365	354
   query74	10406	9120	8954	8954
   query75	3441	2698	2733	2698
   query76	2947	916	826	826
   query77	421	284	285	284
   query78	10562	9613	9622	9613
   query79	2136	607	610	607
   query80	1588	462	446	446
   query81	601	246	246	246
   query82	878	140	141	140
   query83	245	138	143	138
   query84	263	74	75	74
   query85	1271	297	282	282
   query86	372	300	294	294
   query87	4964	4711	4764	4711
   query88	3939	2231	2197	2197
   query89	402	291	290	290
   query90	2223	192	191	191
   query91	152	106	105	105
   query92	68	48	50	48
   query93	1952	578	565	565
   query94	1520	305	301	301
   query95	363	252	260	252
   query96	647	289	288	288
   query97	2865	2724	2776	2724
   query98	217	202	199	199
   query99	1727	1301	1311	1301
   Total cold run time: 303945 ms
   Total hot run time: 193233 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](timezone) Preload time offset in datetime [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #42395:
URL: https://github.com/apache/doris/pull/42395#issuecomment-2434761185

   
   <details>
   <summary>ClickBench: <b>Total hot run time: 33.19 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 b58fac09b50a071c970b2e4b2da3e1ff24009db5, data reload: false
   
   query1	0.03	0.03	0.03
   query2	0.07	0.03	0.03
   query3	0.23	0.07	0.07
   query4	1.63	0.10	0.10
   query5	0.40	0.40	0.43
   query6	1.18	0.66	0.67
   query7	0.02	0.01	0.02
   query8	0.04	0.03	0.03
   query9	0.58	0.52	0.48
   query10	0.55	0.55	0.56
   query11	0.15	0.11	0.11
   query12	0.14	0.11	0.10
   query13	0.61	0.60	0.59
   query14	2.74	2.79	2.76
   query15	0.91	0.84	0.83
   query16	0.40	0.37	0.36
   query17	0.98	1.07	1.01
   query18	0.20	0.20	0.20
   query19	2.00	1.90	2.05
   query20	0.01	0.01	0.01
   query21	15.37	0.58	0.58
   query22	3.17	3.00	2.14
   query23	16.97	1.02	0.89
   query24	2.62	1.10	1.79
   query25	0.13	0.17	0.08
   query26	0.52	0.13	0.14
   query27	0.05	0.04	0.05
   query28	10.51	1.10	1.06
   query29	12.61	3.32	3.33
   query30	0.24	0.06	0.06
   query31	2.86	0.40	0.39
   query32	3.26	0.46	0.47
   query33	2.99	3.02	3.06
   query34	17.12	4.42	4.52
   query35	4.46	4.48	4.58
   query36	0.67	0.48	0.52
   query37	0.08	0.06	0.06
   query38	0.05	0.03	0.03
   query39	0.04	0.02	0.02
   query40	0.16	0.13	0.13
   query41	0.07	0.03	0.02
   query42	0.04	0.02	0.03
   query43	0.04	0.03	0.03
   Total cold run time: 106.9 s
   Total hot run time: 33.19 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](timezone) Preload time offset in datetime [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #42395:
URL: https://github.com/apache/doris/pull/42395#issuecomment-2434750046

   TeamCity be ut coverage result:
    Function Coverage: 37.48% (9714/25915) 
    Line Coverage: 28.76% (80600/280275)
    Region Coverage: 28.18% (41673/147869)
    Branch Coverage: 24.75% (21171/85556)
    Coverage Report: http://coverage.selectdb-in.cc/coverage/b58fac09b50a071c970b2e4b2da3e1ff24009db5_b58fac09b50a071c970b2e4b2da3e1ff24009db5/report/index.html


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