Skip to content

Conversation

@Mryange
Copy link
Contributor

@Mryange Mryange commented Sep 18, 2024

Proposed changes

mysql [(none)]>set debug_skip_fold_constant = false;
Query OK, 0 rows affected (0.00 sec)

mysql [(none)]>select length('你');
+---------------+
| length('你')  |
+---------------+
|             1 |
+---------------+
1 row in set (0.01 sec)

mysql [(none)]>set debug_skip_fold_constant = true;
Query OK, 0 rows affected (0.00 sec)

mysql [(none)]>select length('你');
+---------------+
| length('你')  |
+---------------+
|             3 |
+---------------+

@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@Mryange
Copy link
Contributor Author

Mryange commented Sep 18, 2024

run buildall

@doris-robot
Copy link

TPC-H: Total hot run time: 41869 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit c90436a6589ec46c66cd88dbcf6e4a5156744691, data reload: false

------ Round 1 ----------------------------------
q1	17583	7333	7299	7299
q2	2042	170	155	155
q3	10599	1093	1214	1093
q4	10552	739	779	739
q5	7745	3109	3087	3087
q6	238	155	149	149
q7	1013	624	604	604
q8	9447	2061	2080	2061
q9	6886	6434	6440	6434
q10	7012	2262	2281	2262
q11	441	250	256	250
q12	414	213	216	213
q13	17779	2969	2963	2963
q14	227	216	225	216
q15	574	530	524	524
q16	668	610	617	610
q17	991	845	836	836
q18	7398	6810	6706	6706
q19	1401	1100	1039	1039
q20	610	274	271	271
q21	4033	3357	3318	3318
q22	1094	1051	1040	1040
Total cold run time: 108747 ms
Total hot run time: 41869 ms

----- Round 2, with runtime_filter_mode=off -----
q1	7209	7261	7202	7202
q2	328	229	227	227
q3	3034	2933	2947	2933
q4	2021	1850	1820	1820
q5	5558	5632	5682	5632
q6	236	144	146	144
q7	2207	1821	1760	1760
q8	3321	3411	3448	3411
q9	8851	8959	8794	8794
q10	3522	3468	3496	3468
q11	574	485	495	485
q12	838	628	607	607
q13	10302	3156	3159	3156
q14	317	279	270	270
q15	596	551	523	523
q16	712	673	674	673
q17	1819	1635	1596	1596
q18	8213	7785	7889	7785
q19	1768	1644	1542	1542
q20	2173	1882	1908	1882
q21	5518	5360	5290	5290
q22	1173	1088	1039	1039
Total cold run time: 70290 ms
Total hot run time: 60239 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 198926 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
TPC-DS sf100 test result on commit c90436a6589ec46c66cd88dbcf6e4a5156744691, data reload: false

query1	1296	876	869	869
query2	6397	2080	2093	2080
query3	10838	4073	3907	3907
query4	63005	29204	23488	23488
query5	5109	472	451	451
query6	412	163	160	160
query7	5443	292	295	292
query8	296	225	232	225
query9	8535	2653	2644	2644
query10	484	283	285	283
query11	17298	15114	15675	15114
query12	155	104	104	104
query13	1475	423	416	416
query14	10665	6963	7293	6963
query15	203	173	181	173
query16	6781	489	495	489
query17	1224	597	621	597
query18	1510	313	316	313
query19	210	165	151	151
query20	126	113	115	113
query21	217	105	103	103
query22	4696	4714	4717	4714
query23	34509	33827	33619	33619
query24	6034	2902	2910	2902
query25	518	397	405	397
query26	618	162	155	155
query27	1602	279	290	279
query28	4053	2471	2434	2434
query29	671	438	433	433
query30	235	163	154	154
query31	936	784	780	780
query32	72	57	55	55
query33	432	301	296	296
query34	895	486	477	477
query35	843	740	711	711
query36	1070	937	934	934
query37	144	84	82	82
query38	4006	3855	3982	3855
query39	1460	1396	1407	1396
query40	199	94	95	94
query41	51	47	49	47
query42	116	94	95	94
query43	532	473	480	473
query44	1155	816	807	807
query45	204	162	161	161
query46	1117	759	766	759
query47	1963	1825	1814	1814
query48	502	365	383	365
query49	705	408	417	408
query50	837	409	398	398
query51	7042	6958	7038	6958
query52	98	87	87	87
query53	249	181	182	181
query54	576	464	477	464
query55	79	75	80	75
query56	281	279	263	263
query57	1217	1105	1088	1088
query58	240	231	246	231
query59	3226	3148	2929	2929
query60	307	282	276	276
query61	128	122	131	122
query62	737	670	677	670
query63	211	179	181	179
query64	1308	674	633	633
query65	3240	3135	3173	3135
query66	675	329	303	303
query67	16079	15648	15541	15541
query68	1330	854	870	854
query69	436	343	351	343
query70	1190	1213	1142	1142
query71	345	322	330	322
query72	6121	3475	3326	3326
query73	594	575	582	575
query74	9144	9054	8934	8934
query75	2999	3018	2842	2842
query76	1093	870	882	870
query77	390	363	357	357
query78	9474	9307	9637	9307
query79	909	901	861	861
query80	588	557	577	557
query81	458	248	253	248
query82	232	230	230	230
query83	159	160	157	157
query84	270	98	107	98
query85	672	367	363	363
query86	314	288	323	288
query87	4550	4505	4333	4333
query88	4497	4091	4075	4075
query89	365	355	358	355
query90	1401	310	306	306
query91	160	163	166	163
query92	73	70	73	70
query93	931	899	903	899
query94	537	360	362	360
query95	423	405	409	405
query96	493	486	490	486
query97	3149	3120	3145	3120
query98	240	224	219	219
query99	1452	1298	1301	1298
Total cold run time: 302536 ms
Total hot run time: 198926 ms

@doris-robot
Copy link

ClickBench: Total hot run time: 32.64 s
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit c90436a6589ec46c66cd88dbcf6e4a5156744691, data reload: false

query1	0.04	0.04	0.04
query2	0.06	0.02	0.02
query3	0.23	0.06	0.06
query4	1.65	0.10	0.10
query5	0.53	0.50	0.49
query6	1.16	0.72	0.74
query7	0.02	0.01	0.01
query8	0.04	0.02	0.03
query9	0.56	0.51	0.50
query10	0.55	0.55	0.54
query11	0.14	0.11	0.11
query12	0.13	0.11	0.11
query13	0.61	0.60	0.59
query14	2.96	2.98	3.01
query15	0.88	0.82	0.82
query16	0.36	0.39	0.38
query17	1.04	0.98	1.06
query18	0.19	0.19	0.19
query19	1.92	1.87	2.03
query20	0.01	0.01	0.01
query21	15.35	0.60	0.58
query22	3.00	2.20	1.87
query23	17.34	0.83	0.71
query24	3.85	1.42	0.95
query25	0.25	0.09	0.13
query26	0.46	0.14	0.13
query27	0.05	0.04	0.03
query28	9.75	1.10	1.07
query29	12.59	3.28	3.26
query30	0.25	0.06	0.07
query31	2.87	0.38	0.37
query32	3.28	0.47	0.46
query33	2.96	3.01	3.04
query34	16.83	4.34	4.37
query35	4.49	4.47	4.41
query36	0.68	0.48	0.47
query37	0.08	0.06	0.05
query38	0.04	0.03	0.04
query39	0.03	0.02	0.03
query40	0.15	0.12	0.12
query41	0.08	0.02	0.02
query42	0.03	0.02	0.02
query43	0.03	0.03	0.03
Total cold run time: 107.52 s
Total hot run time: 32.64 s

@Mryange
Copy link
Contributor Author

Mryange commented Sep 18, 2024

run cloud_p0

Copy link
Contributor

@HappenLee HappenLee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Sep 19, 2024
@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

@Mryange
Copy link
Contributor Author

Mryange commented Sep 28, 2024

run buildall

@doris-robot
Copy link

TPC-H: Total hot run time: 41082 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit c90436a6589ec46c66cd88dbcf6e4a5156744691, data reload: false

------ Round 1 ----------------------------------
q1	17608	7401	7353	7353
q2	2011	275	273	273
q3	12147	1071	1154	1071
q4	10567	720	758	720
q5	7746	2855	2890	2855
q6	235	152	147	147
q7	997	617	625	617
q8	9348	1962	1979	1962
q9	6573	6405	6419	6405
q10	7012	2272	2318	2272
q11	435	257	256	256
q12	440	220	227	220
q13	17799	2996	3014	2996
q14	245	205	210	205
q15	565	533	528	528
q16	655	588	580	580
q17	977	523	573	523
q18	7210	6658	6589	6589
q19	1405	1042	1055	1042
q20	483	213	209	209
q21	4021	3267	3326	3267
q22	1106	1000	992	992
Total cold run time: 109585 ms
Total hot run time: 41082 ms

----- Round 2, with runtime_filter_mode=off -----
q1	7320	7291	7293	7291
q2	330	239	229	229
q3	3066	2907	3000	2907
q4	2095	1867	1817	1817
q5	5739	5714	5741	5714
q6	227	140	144	140
q7	2237	1819	1807	1807
q8	3370	3571	3408	3408
q9	9006	8944	8919	8919
q10	3583	3544	3538	3538
q11	582	477	494	477
q12	828	621	620	620
q13	11470	3187	3199	3187
q14	301	271	285	271
q15	576	537	546	537
q16	674	650	633	633
q17	1859	1604	1619	1604
q18	8324	7667	7708	7667
q19	1725	1439	1456	1439
q20	2088	1884	1889	1884
q21	5498	5413	5634	5413
q22	1146	1012	1071	1012
Total cold run time: 72044 ms
Total hot run time: 60514 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 191035 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
TPC-DS sf100 test result on commit c90436a6589ec46c66cd88dbcf6e4a5156744691, data reload: false

query1	935	392	408	392
query2	6240	2053	2028	2028
query3	8687	194	207	194
query4	33414	23583	23489	23489
query5	3532	465	464	464
query6	269	163	162	162
query7	4200	307	310	307
query8	275	227	228	227
query9	9535	2698	2680	2680
query10	475	282	295	282
query11	17986	15139	15179	15139
query12	158	97	97	97
query13	1527	426	431	426
query14	9279	7514	6788	6788
query15	252	168	169	168
query16	8016	414	491	414
query17	1680	626	617	617
query18	2095	330	323	323
query19	365	159	161	159
query20	120	115	118	115
query21	209	105	105	105
query22	4725	4631	4418	4418
query23	34911	33916	33974	33916
query24	10714	2902	2874	2874
query25	600	415	420	415
query26	731	164	168	164
query27	2005	295	298	295
query28	6303	2435	2415	2415
query29	737	429	426	426
query30	278	156	152	152
query31	1022	802	794	794
query32	102	55	55	55
query33	658	293	299	293
query34	917	496	496	496
query35	898	741	733	733
query36	1111	920	963	920
query37	157	86	85	85
query38	4001	3848	3956	3848
query39	1480	1428	1419	1419
query40	217	101	99	99
query41	53	48	50	48
query42	113	102	99	99
query43	530	474	491	474
query44	1172	809	797	797
query45	194	160	170	160
query46	1163	743	727	727
query47	1916	1823	1826	1823
query48	487	383	377	377
query49	898	407	388	388
query50	820	431	433	431
query51	6934	6956	6897	6897
query52	98	88	87	87
query53	259	179	184	179
query54	1119	476	481	476
query55	80	75	79	75
query56	276	261	288	261
query57	1171	1124	1118	1118
query58	229	223	229	223
query59	3309	2867	2939	2867
query60	293	246	263	246
query61	97	97	103	97
query62	845	676	657	657
query63	215	184	185	184
query64	3623	649	609	609
query65	3296	3170	3226	3170
query66	858	307	313	307
query67	15796	15478	15428	15428
query68	4366	603	578	578
query69	516	301	321	301
query70	1207	1126	1184	1126
query71	386	279	307	279
query72	7445	3945	3953	3945
query73	762	345	352	345
query74	10310	9003	8993	8993
query75	3455	2679	2661	2661
query76	3036	879	976	879
query77	623	303	279	279
query78	10405	9568	9567	9567
query79	2770	606	601	601
query80	2494	434	446	434
query81	572	237	236	236
query82	683	137	142	137
query83	302	146	134	134
query84	276	88	82	82
query85	1530	289	280	280
query86	463	295	303	295
query87	4396	4269	4301	4269
query88	3840	2426	2396	2396
query89	403	294	285	285
query90	2126	185	184	184
query91	178	136	137	136
query92	61	47	49	47
query93	2425	563	555	555
query94	1188	304	285	285
query95	354	256	248	248
query96	617	276	289	276
query97	3229	3122	3108	3108
query98	216	211	198	198
query99	1516	1298	1320	1298
Total cold run time: 298810 ms
Total hot run time: 191035 ms

@doris-robot
Copy link

ClickBench: Total hot run time: 32.77 s
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit c90436a6589ec46c66cd88dbcf6e4a5156744691, data reload: false

query1	0.04	0.04	0.05
query2	0.07	0.02	0.03
query3	0.24	0.06	0.06
query4	1.65	0.10	0.10
query5	0.50	0.50	0.49
query6	1.14	0.72	0.73
query7	0.01	0.01	0.01
query8	0.04	0.04	0.03
query9	0.57	0.51	0.49
query10	0.54	0.56	0.54
query11	0.14	0.10	0.10
query12	0.14	0.12	0.11
query13	0.61	0.59	0.59
query14	2.71	2.81	2.81
query15	0.89	0.83	0.82
query16	0.37	0.38	0.38
query17	0.98	1.06	0.99
query18	0.19	0.20	0.19
query19	1.94	1.83	2.02
query20	0.01	0.01	0.01
query21	15.38	0.61	0.57
query22	2.90	2.67	1.80
query23	17.10	0.83	0.74
query24	3.03	1.26	1.56
query25	0.23	0.08	0.04
query26	0.57	0.13	0.13
query27	0.04	0.04	0.03
query28	9.88	1.09	1.08
query29	12.57	3.22	3.19
query30	0.26	0.06	0.06
query31	2.88	0.39	0.37
query32	3.27	0.48	0.46
query33	2.96	3.01	3.02
query34	16.59	4.44	4.43
query35	4.56	4.53	4.52
query36	0.68	0.47	0.49
query37	0.08	0.06	0.06
query38	0.04	0.04	0.03
query39	0.03	0.02	0.01
query40	0.14	0.11	0.13
query41	0.07	0.02	0.02
query42	0.03	0.02	0.02
query43	0.03	0.03	0.03
Total cold run time: 106.1 s
Total hot run time: 32.77 s

@Mryange
Copy link
Contributor Author

Mryange commented Sep 29, 2024

run external

@BiteTheDDDDt BiteTheDDDDt merged commit 5197843 into apache:master Oct 9, 2024
eldenmoon pushed a commit to eldenmoon/incubator-doris that referenced this pull request Oct 10, 2024
…oldConst. (apache#40947)

## Proposed changes

```
mysql [(none)]>set debug_skip_fold_constant = false;
Query OK, 0 rows affected (0.00 sec)

mysql [(none)]>select length('你');
+---------------+
| length('你')  |
+---------------+
|             1 |
+---------------+
1 row in set (0.01 sec)

mysql [(none)]>set debug_skip_fold_constant = true;
Query OK, 0 rows affected (0.00 sec)

mysql [(none)]>select length('你');
+---------------+
| length('你')  |
+---------------+
|             3 |
+---------------+
```

<!--Describe your changes.-->
cjj2010 pushed a commit to cjj2010/doris that referenced this pull request Oct 12, 2024
…oldConst. (apache#40947)

## Proposed changes

```
mysql [(none)]>set debug_skip_fold_constant = false;
Query OK, 0 rows affected (0.00 sec)

mysql [(none)]>select length('你');
+---------------+
| length('你')  |
+---------------+
|             1 |
+---------------+
1 row in set (0.01 sec)

mysql [(none)]>set debug_skip_fold_constant = true;
Query OK, 0 rows affected (0.00 sec)

mysql [(none)]>select length('你');
+---------------+
| length('你')  |
+---------------+
|             3 |
+---------------+
```

<!--Describe your changes.-->
amorynan pushed a commit to amorynan/doris that referenced this pull request Oct 12, 2024
…oldConst. (apache#40947)

## Proposed changes

```
mysql [(none)]>set debug_skip_fold_constant = false;
Query OK, 0 rows affected (0.00 sec)

mysql [(none)]>select length('你');
+---------------+
| length('你')  |
+---------------+
|             1 |
+---------------+
1 row in set (0.01 sec)

mysql [(none)]>set debug_skip_fold_constant = true;
Query OK, 0 rows affected (0.00 sec)

mysql [(none)]>select length('你');
+---------------+
| length('你')  |
+---------------+
|             3 |
+---------------+
```

<!--Describe your changes.-->
LiBinfeng-01 pushed a commit to LiBinfeng-01/doris that referenced this pull request Jan 9, 2025
…oldConst. (apache#40947)

```
mysql [(none)]>set debug_skip_fold_constant = false;
Query OK, 0 rows affected (0.00 sec)

mysql [(none)]>select length('你');
+---------------+
| length('你')  |
+---------------+
|             1 |
+---------------+
1 row in set (0.01 sec)

mysql [(none)]>set debug_skip_fold_constant = true;
Query OK, 0 rows affected (0.00 sec)

mysql [(none)]>select length('你');
+---------------+
| length('你')  |
+---------------+
|             3 |
+---------------+
```

<!--Describe your changes.-->
LiBinfeng-01 pushed a commit to LiBinfeng-01/doris that referenced this pull request Jan 9, 2025
…oldConst. (apache#40947)

```
mysql [(none)]>set debug_skip_fold_constant = false;
Query OK, 0 rows affected (0.00 sec)

mysql [(none)]>select length('你');
+---------------+
| length('你')  |
+---------------+
|             1 |
+---------------+
1 row in set (0.01 sec)

mysql [(none)]>set debug_skip_fold_constant = true;
Query OK, 0 rows affected (0.00 sec)

mysql [(none)]>select length('你');
+---------------+
| length('你')  |
+---------------+
|             3 |
+---------------+
```

<!--Describe your changes.-->
github-actions bot pushed a commit that referenced this pull request Jan 9, 2025
…oldConst. (#40947)

## Proposed changes

```
mysql [(none)]>set debug_skip_fold_constant = false;
Query OK, 0 rows affected (0.00 sec)

mysql [(none)]>select length('你');
+---------------+
| length('你')  |
+---------------+
|             1 |
+---------------+
1 row in set (0.01 sec)

mysql [(none)]>set debug_skip_fold_constant = true;
Query OK, 0 rows affected (0.00 sec)

mysql [(none)]>select length('你');
+---------------+
| length('你')  |
+---------------+
|             3 |
+---------------+
```

<!--Describe your changes.-->
@zclllyybb
Copy link
Contributor

already picked into 2.1 by #46523

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. dev/2.1.8-merged dev/3.0.4-merged reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants