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

[mac](compile) fix compile failed on mac #47014

Open
wants to merge 1 commit into
base: branch-3.0
Choose a base branch
from

Conversation

cambyzju
Copy link
Contributor

pick part of #40202 to branch-3.0, to fix compile failed on mac

@Thearas
Copy link
Contributor

Thearas commented Jan 15, 2025

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

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@cambyzju
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17672	7719	7352	7352
q2	2079	184	170	170
q3	10661	1108	1240	1108
q4	10562	769	721	721
q5	7754	2945	2888	2888
q6	240	149	146	146
q7	991	630	614	614
q8	9371	2053	2063	2053
q9	6598	6398	6405	6398
q10	6982	2329	2325	2325
q11	465	274	265	265
q12	440	219	216	216
q13	17806	3003	3009	3003
q14	244	211	223	211
q15	578	519	517	517
q16	692	610	599	599
q17	1004	646	644	644
q18	7446	6679	6792	6679
q19	1395	1159	1066	1066
q20	493	205	208	205
q21	4170	3439	3318	3318
q22	1105	1013	1001	1001
Total cold run time: 108748 ms
Total hot run time: 41499 ms

----- Round 2, with runtime_filter_mode=off -----
q1	7254	7244	7243	7243
q2	330	231	243	231
q3	3078	3001	2972	2972
q4	2107	1889	1785	1785
q5	5717	5762	5782	5762
q6	231	150	149	149
q7	2240	1837	1843	1837
q8	3386	3571	3523	3523
q9	8935	8989	8892	8892
q10	3602	3541	3574	3541
q11	614	519	496	496
q12	814	612	612	612
q13	10756	3192	3223	3192
q14	314	285	268	268
q15	581	538	532	532
q16	718	677	677	677
q17	1848	1668	1655	1655
q18	8302	7869	7695	7695
q19	1691	1666	1558	1558
q20	2079	1880	1868	1868
q21	5761	5404	5365	5365
q22	1114	1029	1038	1029
Total cold run time: 71472 ms
Total hot run time: 60882 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 197712 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 2a430dd91d3fea297d535a054a5320c1edd904c7, data reload: false

query1	1300	945	910	910
query2	6261	2156	2108	2108
query3	10870	4338	4297	4297
query4	66451	29414	23930	23930
query5	4930	461	448	448
query6	417	175	166	166
query7	5544	305	307	305
query8	306	220	226	220
query9	8914	2714	2690	2690
query10	457	274	254	254
query11	17309	15082	15758	15082
query12	164	103	106	103
query13	1473	450	434	434
query14	9846	6775	7463	6775
query15	206	177	180	177
query16	7113	489	494	489
query17	1178	590	611	590
query18	1823	323	333	323
query19	207	164	158	158
query20	114	106	114	106
query21	209	108	108	108
query22	4681	4455	4580	4455
query23	34566	34023	34174	34023
query24	6122	2878	2877	2877
query25	549	432	432	432
query26	655	174	168	168
query27	1787	361	369	361
query28	4270	2508	2461	2461
query29	702	472	463	463
query30	240	176	177	176
query31	1020	817	868	817
query32	65	58	56	56
query33	408	286	293	286
query34	923	515	529	515
query35	868	712	729	712
query36	1092	954	948	948
query37	118	67	77	67
query38	4147	4095	4119	4095
query39	1548	1657	1446	1446
query40	205	101	101	101
query41	49	49	50	49
query42	114	99	98	98
query43	543	508	503	503
query44	1216	836	821	821
query45	191	180	174	174
query46	1180	720	725	720
query47	2022	1877	1890	1877
query48	458	400	387	387
query49	731	388	375	375
query50	842	433	423	423
query51	7395	7182	7102	7102
query52	105	89	85	85
query53	264	183	180	180
query54	551	448	446	446
query55	75	75	78	75
query56	251	245	242	242
query57	1240	1125	1100	1100
query58	213	207	202	202
query59	3265	3240	2941	2941
query60	268	258	255	255
query61	160	106	109	106
query62	782	647	657	647
query63	212	194	194	194
query64	1376	659	646	646
query65	3253	3190	3207	3190
query66	705	300	309	300
query67	15890	15789	15515	15515
query68	4256	573	595	573
query69	431	263	269	263
query70	1163	1130	1075	1075
query71	361	252	245	245
query72	6499	4139	4108	4108
query73	763	347	353	347
query74	10116	9015	9087	9015
query75	3369	2651	2656	2651
query76	1926	1080	1043	1043
query77	484	271	273	271
query78	10593	9905	9978	9905
query79	1592	604	601	601
query80	1077	446	415	415
query81	530	245	237	237
query82	209	114	122	114
query83	168	145	151	145
query84	283	82	75	75
query85	976	291	294	291
query86	416	296	299	296
query87	4538	4233	4348	4233
query88	3583	2401	2337	2337
query89	415	291	289	289
query90	1994	193	184	184
query91	202	153	151	151
query92	65	48	50	48
query93	1740	539	538	538
query94	893	301	294	294
query95	360	263	260	260
query96	624	289	283	283
query97	3355	3161	3227	3161
query98	214	213	199	199
query99	1610	1288	1280	1280
Total cold run time: 317214 ms
Total hot run time: 197712 ms

@doris-robot
Copy link

ClickBench: Total hot run time: 33.24 s
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit 2a430dd91d3fea297d535a054a5320c1edd904c7, 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.11	0.10
query5	0.51	0.53	0.54
query6	1.13	0.74	0.73
query7	0.03	0.02	0.02
query8	0.03	0.03	0.03
query9	0.56	0.51	0.50
query10	0.55	0.56	0.54
query11	0.15	0.10	0.11
query12	0.15	0.11	0.13
query13	0.61	0.60	0.60
query14	2.97	2.89	3.06
query15	0.90	0.84	0.84
query16	0.39	0.36	0.38
query17	1.06	1.06	1.02
query18	0.23	0.22	0.21
query19	1.91	1.89	1.99
query20	0.02	0.01	0.00
query21	15.35	0.58	0.58
query22	2.64	3.04	1.45
query23	16.96	0.90	0.69
query24	3.63	1.76	1.95
query25	0.34	0.08	0.08
query26	0.54	0.13	0.15
query27	0.04	0.05	0.04
query28	9.11	1.12	1.08
query29	12.61	3.26	3.24
query30	0.24	0.06	0.06
query31	2.87	0.40	0.39
query32	3.23	0.46	0.45
query33	2.97	2.97	2.96
query34	16.66	4.46	4.47
query35	4.57	4.48	4.49
query36	0.69	0.48	0.50
query37	0.10	0.06	0.06
query38	0.05	0.04	0.04
query39	0.03	0.02	0.02
query40	0.17	0.13	0.12
query41	0.08	0.03	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: 33.24 s

@cambyzju
Copy link
Contributor Author

run p0

@cambyzju
Copy link
Contributor Author

run external

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants