Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[opt](Nereids) support no-key hint parameter #37720

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

morrySnow
Copy link
Contributor

support hint use parameter without key, like:

SELECT /*+ query_timeout(3000) */ * FROM t;

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

@morrySnow morrySnow added area/mysql-compatibility Issues or PRs related to the mysql compatibility usercase Important user case type label dev/2.0.x dev/2.1.x labels Jul 12, 2024
@morrySnow
Copy link
Contributor Author

run buildall

@morrySnow morrySnow marked this pull request as draft July 12, 2024 10:12
@morrySnow
Copy link
Contributor Author

run buildall

@morrySnow morrySnow marked this pull request as ready for review July 12, 2024 10:18
@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17636	4459	4316	4316
q2	2016	197	199	197
q3	10455	1232	1038	1038
q4	10213	738	809	738
q5	7588	2713	2721	2713
q6	226	140	140	140
q7	965	618	623	618
q8	9617	2066	2090	2066
q9	8588	6554	6539	6539
q10	8681	3790	3775	3775
q11	450	239	246	239
q12	401	225	233	225
q13	18758	2996	3017	2996
q14	283	238	233	233
q15	525	486	488	486
q16	519	415	380	380
q17	970	664	698	664
q18	8138	7538	7498	7498
q19	6977	1401	1459	1401
q20	684	333	316	316
q21	4989	3205	3293	3205
q22	351	291	289	289
Total cold run time: 119030 ms
Total hot run time: 40072 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4506	4388	4282	4282
q2	360	262	273	262
q3	3008	2785	2756	2756
q4	1862	1594	1591	1591
q5	5305	5329	5352	5329
q6	222	155	132	132
q7	2138	1726	1746	1726
q8	3210	3336	3306	3306
q9	8459	8376	8426	8376
q10	3879	3708	3701	3701
q11	598	484	490	484
q12	813	596	587	587
q13	17421	3009	3047	3009
q14	300	270	260	260
q15	518	478	477	477
q16	483	421	438	421
q17	1781	1462	1466	1462
q18	7545	7552	7439	7439
q19	1704	1641	1500	1500
q20	2016	1799	1775	1775
q21	4917	4556	4724	4556
q22	568	500	519	500
Total cold run time: 71613 ms
Total hot run time: 53931 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 172523 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 69cefc14913933431b174dfd9aa544658ebc5e73, data reload: false

query1	915	374	362	362
query2	6469	1897	1778	1778
query3	6662	212	226	212
query4	27628	17412	17342	17342
query5	4210	496	490	490
query6	288	180	180	180
query7	4597	299	296	296
query8	243	209	194	194
query9	8483	2439	2424	2424
query10	471	260	289	260
query11	11223	10247	9924	9924
query12	132	85	81	81
query13	1630	378	387	378
query14	10412	7382	8020	7382
query15	216	170	169	169
query16	7714	331	313	313
query17	1810	563	518	518
query18	1663	273	275	273
query19	192	144	144	144
query20	90	82	85	82
query21	203	129	123	123
query22	4334	4010	4168	4010
query23	33787	33120	33033	33033
query24	11987	3056	2844	2844
query25	668	363	370	363
query26	1752	150	147	147
query27	2912	268	274	268
query28	7299	2042	2024	2024
query29	1078	635	614	614
query30	284	148	150	148
query31	970	750	718	718
query32	97	51	53	51
query33	779	297	287	287
query34	954	479	479	479
query35	725	571	577	571
query36	1093	928	920	920
query37	208	82	80	80
query38	2862	2735	2733	2733
query39	878	810	822	810
query40	281	120	120	120
query41	48	44	44	44
query42	113	97	104	97
query43	490	467	457	457
query44	1231	757	742	742
query45	191	163	164	163
query46	1093	722	725	722
query47	1832	1780	1791	1780
query48	362	301	303	301
query49	1193	409	401	401
query50	771	407	407	407
query51	6876	6765	6774	6765
query52	103	100	93	93
query53	355	289	294	289
query54	1067	458	455	455
query55	74	74	73	73
query56	292	263	298	263
query57	1192	1059	1024	1024
query58	256	236	239	236
query59	2778	2613	2582	2582
query60	310	281	285	281
query61	95	92	94	92
query62	836	655	660	655
query63	321	286	289	286
query64	10412	2238	1682	1682
query65	3277	3104	3115	3104
query66	1304	360	351	351
query67	15709	15029	15042	15029
query68	4529	545	549	545
query69	461	334	323	323
query70	1198	1109	1136	1109
query71	399	285	281	281
query72	6885	5814	5908	5814
query73	760	326	326	326
query74	5899	5492	5415	5415
query75	3427	2706	2717	2706
query76	2832	956	898	898
query77	488	297	299	297
query78	9662	9059	9739	9059
query79	2575	517	522	517
query80	1315	467	471	467
query81	588	218	227	218
query82	732	135	137	135
query83	287	172	236	172
query84	256	88	87	87
query85	1356	319	305	305
query86	459	323	329	323
query87	3237	3061	3115	3061
query88	4137	2484	2488	2484
query89	470	385	371	371
query90	1811	193	187	187
query91	129	104	102	102
query92	68	49	50	49
query93	2004	515	510	510
query94	1258	219	222	219
query95	407	318	320	318
query96	611	286	280	280
query97	3148	3013	3011	3011
query98	217	201	198	198
query99	1718	1256	1217	1217
Total cold run time: 284103 ms
Total hot run time: 172523 ms

@doris-robot
Copy link

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

query1	0.04	0.03	0.04
query2	0.08	0.04	0.04
query3	0.23	0.05	0.04
query4	1.69	0.06	0.07
query5	0.48	0.48	0.48
query6	1.14	0.73	0.74
query7	0.02	0.02	0.01
query8	0.06	0.05	0.04
query9	0.56	0.50	0.50
query10	0.55	0.55	0.55
query11	0.15	0.11	0.11
query12	0.15	0.12	0.13
query13	0.60	0.59	0.58
query14	0.76	0.79	0.78
query15	0.85	0.81	0.82
query16	0.36	0.37	0.36
query17	0.98	1.05	1.02
query18	0.24	0.22	0.22
query19	1.88	1.71	1.84
query20	0.02	0.01	0.01
query21	15.41	0.73	0.65
query22	4.44	7.60	1.87
query23	18.41	1.29	1.30
query24	2.16	0.22	0.22
query25	0.15	0.09	0.09
query26	0.31	0.20	0.20
query27	0.45	0.23	0.23
query28	13.28	1.02	1.00
query29	12.62	3.35	3.37
query30	0.25	0.06	0.05
query31	2.88	0.39	0.40
query32	3.26	0.46	0.48
query33	2.89	2.93	2.93
query34	17.03	4.39	4.39
query35	4.41	4.42	4.48
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.03	0.04
query40	0.16	0.12	0.12
query41	0.09	0.05	0.05
query42	0.05	0.04	0.05
query43	0.05	0.05	0.04
Total cold run time: 110.18 s
Total hot run time: 30.79 s

Copy link
Contributor

Choose a reason for hiding this comment

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

Is it better to add some UT too?

@morrySnow
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	18084	4455	4412	4412
q2	2611	197	187	187
q3	11679	1209	1071	1071
q4	10561	784	800	784
q5	7676	2699	2694	2694
q6	222	139	137	137
q7	985	611	603	603
q8	9250	2071	2104	2071
q9	8814	6616	6611	6611
q10	8861	3836	3820	3820
q11	457	242	244	242
q12	395	229	220	220
q13	17775	2997	2993	2993
q14	269	235	245	235
q15	521	486	501	486
q16	505	382	373	373
q17	950	731	674	674
q18	8097	7511	7362	7362
q19	7099	1332	1264	1264
q20	680	331	337	331
q21	4916	3221	3238	3221
q22	349	288	282	282
Total cold run time: 120756 ms
Total hot run time: 40073 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4366	4290	4290	4290
q2	374	277	264	264
q3	2990	2781	2745	2745
q4	1906	1669	1597	1597
q5	5287	5303	5355	5303
q6	227	132	131	131
q7	2113	1689	1710	1689
q8	3206	3332	3305	3305
q9	8373	8382	8376	8376
q10	3899	3692	3644	3644
q11	579	499	494	494
q12	787	601	603	601
q13	16542	3002	2975	2975
q14	308	275	285	275
q15	529	475	485	475
q16	479	416	436	416
q17	1774	1486	1486	1486
q18	7759	7650	7384	7384
q19	1664	1594	1479	1479
q20	2007	1789	1768	1768
q21	4829	4803	4809	4803
q22	587	475	503	475
Total cold run time: 70585 ms
Total hot run time: 53975 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 172888 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 69cefc14913933431b174dfd9aa544658ebc5e73, data reload: false

query1	919	373	368	368
query2	6452	1873	1817	1817
query3	6665	205	210	205
query4	28061	17702	17161	17161
query5	4163	490	469	469
query6	255	177	168	168
query7	4581	289	281	281
query8	235	192	181	181
query9	8610	2484	2446	2446
query10	433	295	279	279
query11	10234	9881	10073	9881
query12	132	87	89	87
query13	1642	379	366	366
query14	10157	7739	7785	7739
query15	220	175	179	175
query16	7943	340	323	323
query17	1771	544	550	544
query18	1970	282	321	282
query19	201	145	153	145
query20	94	82	85	82
query21	202	130	131	130
query22	4179	4149	4031	4031
query23	33731	33214	33396	33214
query24	12149	2951	2888	2888
query25	658	376	378	376
query26	1787	148	144	144
query27	2934	271	273	271
query28	7699	2011	2005	2005
query29	1082	631	627	627
query30	285	147	146	146
query31	950	745	761	745
query32	94	52	53	52
query33	762	306	326	306
query34	918	478	481	478
query35	706	589	573	573
query36	1086	951	981	951
query37	287	79	82	79
query38	2947	2769	2750	2750
query39	878	850	797	797
query40	276	119	116	116
query41	49	46	44	44
query42	114	97	101	97
query43	493	469	446	446
query44	1231	735	729	729
query45	191	163	163	163
query46	1086	754	748	748
query47	1862	1775	1783	1775
query48	367	299	299	299
query49	1216	408	402	402
query50	786	400	391	391
query51	6892	6793	6659	6659
query52	105	91	94	91
query53	354	292	288	288
query54	1001	441	454	441
query55	76	71	71	71
query56	293	262	268	262
query57	1152	1069	1052	1052
query58	243	239	265	239
query59	2969	2706	2660	2660
query60	308	285	275	275
query61	94	121	90	90
query62	835	635	669	635
query63	326	280	288	280
query64	10430	2210	1703	1703
query65	3160	3113	3110	3110
query66	1369	332	339	332
query67	15611	15120	15027	15027
query68	4553	536	528	528
query69	478	333	327	327
query70	1151	1120	1104	1104
query71	415	299	281	281
query72	6930	5527	5861	5527
query73	748	328	328	328
query74	6108	5695	5724	5695
query75	3448	2708	2718	2708
query76	2771	1003	919	919
query77	483	329	302	302
query78	9528	8919	8956	8919
query79	2650	528	521	521
query80	2151	470	461	461
query81	599	221	222	221
query82	971	134	133	133
query83	297	163	163	163
query84	273	90	87	87
query85	1448	376	296	296
query86	468	311	331	311
query87	3265	3187	3111	3111
query88	3608	2466	2464	2464
query89	486	380	393	380
query90	1859	197	192	192
query91	126	103	99	99
query92	69	51	52	51
query93	2373	505	501	501
query94	1362	219	214	214
query95	408	318	319	318
query96	612	274	284	274
query97	3173	3011	3018	3011
query98	216	203	201	201
query99	1480	1316	1254	1254
Total cold run time: 285468 ms
Total hot run time: 172888 ms

@doris-robot
Copy link

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

query1	0.04	0.04	0.04
query2	0.08	0.04	0.04
query3	0.23	0.06	0.05
query4	1.66	0.07	0.06
query5	0.51	0.47	0.50
query6	1.14	0.72	0.72
query7	0.02	0.01	0.02
query8	0.05	0.05	0.05
query9	0.54	0.50	0.49
query10	0.55	0.56	0.55
query11	0.14	0.11	0.12
query12	0.15	0.13	0.12
query13	0.59	0.59	0.59
query14	0.76	0.80	0.78
query15	0.85	0.83	0.83
query16	0.36	0.38	0.37
query17	0.95	0.99	0.96
query18	0.22	0.21	0.22
query19	1.92	1.76	1.76
query20	0.01	0.01	0.01
query21	15.39	0.76	0.65
query22	4.56	7.85	1.63
query23	18.29	1.34	1.29
query24	2.09	0.24	0.21
query25	0.14	0.10	0.08
query26	0.29	0.21	0.21
query27	0.46	0.23	0.24
query28	13.27	1.02	1.00
query29	12.57	3.30	3.33
query30	0.25	0.06	0.05
query31	2.88	0.40	0.38
query32	3.25	0.48	0.47
query33	2.87	2.93	2.90
query34	16.90	4.37	4.34
query35	4.44	4.43	4.40
query36	0.64	0.48	0.49
query37	0.19	0.15	0.15
query38	0.17	0.15	0.15
query39	0.04	0.03	0.03
query40	0.16	0.12	0.12
query41	0.09	0.05	0.05
query42	0.06	0.05	0.05
query43	0.04	0.04	0.04
Total cold run time: 109.81 s
Total hot run time: 30.43 s

@morrySnow
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17631	4677	4338	4338
q2	2022	193	189	189
q3	10507	1245	1045	1045
q4	10209	781	839	781
q5	7594	2748	2754	2748
q6	221	134	135	134
q7	961	599	603	599
q8	9211	2094	2117	2094
q9	8969	6591	6566	6566
q10	8890	3808	3787	3787
q11	453	229	245	229
q12	424	230	229	229
q13	18385	2971	2982	2971
q14	278	232	242	232
q15	537	488	481	481
q16	513	375	370	370
q17	990	644	690	644
q18	8000	7541	7417	7417
q19	6468	1451	1308	1308
q20	686	318	338	318
q21	4915	3091	3263	3091
q22	345	291	281	281
Total cold run time: 118209 ms
Total hot run time: 39852 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4436	4282	4313	4282
q2	376	267	266	266
q3	2978	2936	2953	2936
q4	1993	1709	1778	1709
q5	5599	5531	5476	5476
q6	224	137	135	135
q7	2282	1854	1874	1854
q8	3283	3483	3432	3432
q9	8805	8895	8747	8747
q10	4200	3749	3816	3749
q11	593	504	507	504
q12	819	688	645	645
q13	17298	3171	3205	3171
q14	326	282	286	282
q15	549	491	482	482
q16	491	431	431	431
q17	1814	1562	1533	1533
q18	8312	8121	7961	7961
q19	1815	1653	1523	1523
q20	2217	1869	1853	1853
q21	9083	4784	4981	4784
q22	591	521	499	499
Total cold run time: 78084 ms
Total hot run time: 56254 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 173431 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 483410eb6b948fc2f6490f5035c53176dd406e86, data reload: false

query1	908	369	374	369
query2	6327	1892	1832	1832
query3	6645	210	214	210
query4	23941	17254	17365	17254
query5	3624	482	456	456
query6	250	188	152	152
query7	4575	283	283	283
query8	248	196	194	194
query9	8544	2361	2349	2349
query10	433	294	266	266
query11	10782	10154	10318	10154
query12	116	89	83	83
query13	1655	377	374	374
query14	10200	7297	7677	7297
query15	225	163	165	163
query16	7368	334	321	321
query17	1341	564	540	540
query18	1662	287	287	287
query19	201	155	158	155
query20	91	83	82	82
query21	206	135	127	127
query22	4303	4098	4187	4098
query23	34024	34087	33828	33828
query24	11053	2940	2861	2861
query25	615	454	409	409
query26	711	152	152	152
query27	2232	286	291	286
query28	6409	2063	2037	2037
query29	918	697	620	620
query30	256	151	153	151
query31	979	807	757	757
query32	93	54	54	54
query33	658	309	290	290
query34	922	489	503	489
query35	722	589	609	589
query36	1124	989	968	968
query37	154	85	83	83
query38	2997	2894	2755	2755
query39	872	854	812	812
query40	201	119	115	115
query41	49	45	43	43
query42	117	92	100	92
query43	486	458	457	457
query44	1095	724	735	724
query45	194	162	161	161
query46	1087	723	727	723
query47	1868	1773	1781	1773
query48	376	293	295	293
query49	833	399	408	399
query50	776	385	391	385
query51	6896	6813	6684	6684
query52	103	90	94	90
query53	362	299	299	299
query54	848	446	447	446
query55	73	74	73	73
query56	288	303	261	261
query57	1135	1080	1083	1080
query58	241	250	267	250
query59	2833	2623	2693	2623
query60	303	274	286	274
query61	96	95	93	93
query62	794	659	640	640
query63	317	293	283	283
query64	9188	2206	1648	1648
query65	3166	3076	3124	3076
query66	761	323	325	323
query67	15728	14968	15270	14968
query68	4590	523	534	523
query69	662	424	343	343
query70	1148	1142	1078	1078
query71	448	280	283	280
query72	8641	5642	5757	5642
query73	760	333	320	320
query74	6154	5715	5692	5692
query75	3568	2734	2706	2706
query76	3023	919	926	919
query77	654	306	317	306
query78	9903	9048	8887	8887
query79	5219	527	517	517
query80	2425	469	466	466
query81	579	213	219	213
query82	1343	143	134	134
query83	261	165	162	162
query84	282	89	83	83
query85	1305	367	299	299
query86	439	307	319	307
query87	3326	3101	3144	3101
query88	4725	2457	2464	2457
query89	491	385	384	384
query90	1881	194	192	192
query91	129	99	100	99
query92	63	49	50	49
query93	5839	513	503	503
query94	1219	217	211	211
query95	408	318	319	318
query96	611	276	275	275
query97	3195	3045	3100	3045
query98	225	201	195	195
query99	1521	1286	1262	1262
Total cold run time: 283635 ms
Total hot run time: 173431 ms

@doris-robot
Copy link

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

query1	0.04	0.03	0.04
query2	0.08	0.04	0.04
query3	0.23	0.05	0.05
query4	1.67	0.07	0.10
query5	0.49	0.50	0.48
query6	1.13	0.73	0.73
query7	0.02	0.01	0.02
query8	0.05	0.04	0.04
query9	0.55	0.49	0.50
query10	0.55	0.54	0.53
query11	0.16	0.11	0.11
query12	0.15	0.13	0.12
query13	0.58	0.58	0.58
query14	0.75	0.79	0.76
query15	0.85	0.81	0.79
query16	0.36	0.37	0.37
query17	0.96	1.04	1.01
query18	0.22	0.22	0.21
query19	1.74	1.67	1.69
query20	0.01	0.01	0.01
query21	15.42	0.73	0.65
query22	3.66	7.59	2.01
query23	18.28	1.35	1.30
query24	2.09	0.24	0.21
query25	0.15	0.10	0.08
query26	0.28	0.20	0.20
query27	0.46	0.23	0.23
query28	13.23	1.02	0.99
query29	12.63	3.30	3.31
query30	0.25	0.06	0.06
query31	2.87	0.38	0.39
query32	3.28	0.47	0.46
query33	2.88	2.92	2.86
query34	16.93	4.41	4.34
query35	4.49	4.43	4.40
query36	0.66	0.47	0.46
query37	0.18	0.15	0.15
query38	0.16	0.14	0.15
query39	0.04	0.03	0.04
query40	0.15	0.11	0.12
query41	0.09	0.05	0.05
query42	0.06	0.05	0.05
query43	0.05	0.04	0.04
Total cold run time: 108.88 s
Total hot run time: 30.6 s

@morrySnow
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	18188	4582	4390	4390
q2	2637	187	189	187
q3	11267	1325	1125	1125
q4	10516	890	748	748
q5	8200	2787	2692	2692
q6	225	142	141	141
q7	994	621	623	621
q8	9359	2068	2112	2068
q9	8787	6600	6566	6566
q10	8840	3795	3777	3777
q11	444	242	236	236
q12	385	231	234	231
q13	17772	2981	3020	2981
q14	277	232	240	232
q15	537	494	486	486
q16	496	375	376	375
q17	976	638	710	638
q18	8196	7528	7321	7321
q19	5897	1434	1448	1434
q20	697	322	326	322
q21	4955	3235	3293	3235
q22	351	288	285	285
Total cold run time: 119996 ms
Total hot run time: 40091 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4416	4245	4239	4239
q2	376	262	256	256
q3	3018	2799	2787	2787
q4	1879	1625	1579	1579
q5	5298	5326	5326	5326
q6	218	135	135	135
q7	2152	1718	1669	1669
q8	3192	3347	3313	3313
q9	8447	8343	8396	8343
q10	3892	3661	3699	3661
q11	576	489	483	483
q12	733	608	619	608
q13	17593	2969	2983	2969
q14	303	281	274	274
q15	516	480	469	469
q16	474	411	418	411
q17	1789	1483	1455	1455
q18	7615	7621	7752	7621
q19	1737	1444	1482	1444
q20	1988	1764	1791	1764
q21	4832	4758	4806	4758
q22	556	493	505	493
Total cold run time: 71600 ms
Total hot run time: 54057 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 172807 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 536f79b881c18a62a1c7e7b545458edd9594871c, data reload: false

query1	916	376	364	364
query2	6465	1968	1835	1835
query3	6663	209	217	209
query4	28342	17514	17295	17295
query5	4199	488	481	481
query6	255	182	168	168
query7	4596	294	288	288
query8	235	187	197	187
query9	8430	2420	2395	2395
query10	454	295	281	281
query11	10353	10051	10095	10051
query12	133	82	81	81
query13	1647	373	378	373
query14	10011	7534	7843	7534
query15	239	166	171	166
query16	7863	328	326	326
query17	1787	552	541	541
query18	2000	286	288	286
query19	203	156	158	156
query20	96	85	88	85
query21	215	133	129	129
query22	4237	4117	4073	4073
query23	33805	33093	33211	33093
query24	12082	2893	2866	2866
query25	673	386	404	386
query26	1792	155	163	155
query27	2898	277	272	272
query28	7271	1985	1971	1971
query29	1139	666	636	636
query30	288	154	148	148
query31	956	750	747	747
query32	101	57	63	57
query33	797	319	318	318
query34	905	504	519	504
query35	700	595	586	586
query36	1093	932	929	929
query37	259	82	164	82
query38	2822	2725	2741	2725
query39	840	825	803	803
query40	271	121	117	117
query41	49	45	44	44
query42	116	97	102	97
query43	525	495	475	475
query44	1204	720	727	720
query45	188	162	156	156
query46	1096	735	727	727
query47	1882	1785	1807	1785
query48	361	291	292	291
query49	1199	406	436	406
query50	774	404	397	397
query51	6849	6813	6838	6813
query52	107	94	91	91
query53	357	285	287	285
query54	1038	452	446	446
query55	78	76	74	74
query56	293	275	314	275
query57	1128	1027	1057	1027
query58	276	243	261	243
query59	2819	2643	2743	2643
query60	305	291	271	271
query61	94	92	93	92
query62	837	656	662	656
query63	334	294	290	290
query64	10506	2236	1690	1690
query65	3174	3099	3124	3099
query66	1431	340	369	340
query67	15693	15022	15165	15022
query68	4967	539	542	539
query69	514	343	333	333
query70	1199	1159	1106	1106
query71	423	283	284	283
query72	8144	5723	5390	5390
query73	753	329	324	324
query74	6190	5655	5628	5628
query75	3825	2685	2715	2685
query76	2988	961	890	890
query77	761	304	305	304
query78	11052	9327	8990	8990
query79	8089	522	525	522
query80	962	475	470	470
query81	586	220	221	220
query82	642	135	137	135
query83	323	167	166	166
query84	280	86	91	86
query85	815	330	297	297
query86	459	341	316	316
query87	3293	3134	3117	3117
query88	4824	2375	2408	2375
query89	495	398	377	377
query90	1968	190	188	188
query91	130	102	99	99
query92	66	50	51	50
query93	5550	513	502	502
query94	1213	209	213	209
query95	420	317	317	317
query96	610	272	271	271
query97	3216	3016	2983	2983
query98	220	201	196	196
query99	1556	1315	1285	1285
Total cold run time: 297277 ms
Total hot run time: 172807 ms

@doris-robot
Copy link

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

query1	0.04	0.04	0.03
query2	0.08	0.04	0.04
query3	0.22	0.05	0.05
query4	1.68	0.08	0.08
query5	0.47	0.48	0.51
query6	1.13	0.72	0.73
query7	0.01	0.01	0.01
query8	0.05	0.04	0.04
query9	0.55	0.50	0.48
query10	0.55	0.55	0.55
query11	0.15	0.12	0.11
query12	0.14	0.12	0.13
query13	0.59	0.59	0.60
query14	0.77	0.78	0.77
query15	0.85	0.82	0.82
query16	0.37	0.37	0.37
query17	1.05	1.01	1.04
query18	0.24	0.22	0.22
query19	1.76	1.72	1.72
query20	0.01	0.01	0.01
query21	15.40	0.77	0.66
query22	4.45	6.87	2.08
query23	18.28	1.35	1.27
query24	2.16	0.23	0.22
query25	0.16	0.08	0.09
query26	0.31	0.22	0.21
query27	0.45	0.23	0.23
query28	13.21	1.00	1.00
query29	12.56	3.31	3.32
query30	0.25	0.06	0.06
query31	2.86	0.39	0.39
query32	3.28	0.48	0.47
query33	2.90	2.92	2.93
query34	17.07	4.35	4.47
query35	4.40	4.37	4.44
query36	0.66	0.48	0.47
query37	0.19	0.15	0.16
query38	0.15	0.15	0.15
query39	0.04	0.04	0.04
query40	0.14	0.12	0.13
query41	0.09	0.04	0.05
query42	0.06	0.05	0.04
query43	0.04	0.04	0.04
Total cold run time: 109.82 s
Total hot run time: 30.89 s

Copy link
Contributor

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

@github-actions github-actions bot added approved Indicates a PR has been approved by one committer. reviewed labels Jul 17, 2024
Copy link
Contributor

PR approved by anyone and no changes requested.

@morrySnow morrySnow merged commit 7f5b275 into apache:master Jul 17, 2024
29 of 31 checks passed
@morrySnow morrySnow deleted the support_no_key_hint branch July 17, 2024 06:45
morrySnow added a commit to morrySnow/incubator-doris that referenced this pull request Jul 17, 2024
pick from master apache#37720

support hint use parameter without key, like:

```sql
SELECT /*+ query_timeout(3000) */ * FROM t;
```
morrySnow added a commit to morrySnow/incubator-doris that referenced this pull request Jul 17, 2024
pick from master apache#37720

support hint use parameter without key, like:

```sql
SELECT /*+ query_timeout(3000) */ * FROM t;
```
morrySnow added a commit that referenced this pull request Jul 17, 2024
pick from master #37720

support hint use parameter without key, like:

```sql
SELECT /*+ query_timeout(3000) */ * FROM t;
```
morrySnow added a commit that referenced this pull request Jul 17, 2024
pick from master #37720

support hint use parameter without key, like:

```sql
SELECT /*+ query_timeout(3000) */ * FROM t;
```
dataroaring pushed a commit that referenced this pull request Jul 17, 2024
support hint use parameter without key, like:

```sql
SELECT /*+ query_timeout(3000) */ * FROM t;
```
@xiaokang xiaokang mentioned this pull request Aug 3, 2024
mongo360 pushed a commit to mongo360/doris that referenced this pull request Aug 16, 2024
…7989)

pick from master apache#37720

support hint use parameter without key, like:

```sql
SELECT /*+ query_timeout(3000) */ * FROM t;
```
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. area/mysql-compatibility Issues or PRs related to the mysql compatibility dev/2.0.14-merged dev/2.1.5-merged dev/3.0.1-merged reviewed usercase Important user case type label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants