Skip to content

[fix](arrow) Rollback Arrow version 19.0.1 -> 17.0.0, Fix MacOS compile error and decimal type error when convert to Parquet#51217

Merged
yiguolei merged 2 commits into
apache:masterfrom
xinyiZzz:20250525_fix_arrow_version
May 26, 2025
Merged

[fix](arrow) Rollback Arrow version 19.0.1 -> 17.0.0, Fix MacOS compile error and decimal type error when convert to Parquet#51217
yiguolei merged 2 commits into
apache:masterfrom
xinyiZzz:20250525_fix_arrow_version

Conversation

@xinyiZzz

@xinyiZzz xinyiZzz commented May 25, 2025

Copy link
Copy Markdown
Contributor

What problem does this PR solve?

Introduced: #50939

In Arrow 19.0.1,

  1. some scenarios will force the use of arrow::smallest_decimal instead of arrow::decimal, but when arrow::smallest_decimal is converted to Parquet, an error will occur: NotImplemented: Unhandled type for Arrow to Parquet schema conversion: decimal32(5, 2)

  2. when compile Doris BE on MacOS M1, an error arithmetic on a pointer to an incomplete type 'arrow::flight::FlightEndpoint' will occur. This is because there is a circular dependency in arrow/flight/types.h, std::vector<FlightEndpoint> is used in 476: struct Data, but 809: struct FlightEndpoint is defined later.

Check List (For Author)

  • Test

    • Regression test
    • Unit Test
    • Manual test (add detailed scripts or steps below)
    • No need to test or manual test. Explain why:
      • This is a refactor/code format and no logic has been changed.
      • Previous test can cover this change.
      • No code files have been changed.
      • Other reason
  • Behavior changed:

    • No.
    • Yes.
  • Does this need documentation?

    • No.
    • Yes.

Check List (For Reviewer who merge this PR)

  • Confirm the release note
  • Confirm test cases
  • Confirm document
  • Add branch pick label

@hello-stephen

Copy link
Copy Markdown
Contributor

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?

@xinyiZzz

Copy link
Copy Markdown
Contributor Author

run buildall

@doris-robot

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

------ Round 1 ----------------------------------
q1	25820	5013	4997	4997
q2	2070	280	184	184
q3	10386	1238	667	667
q4	10216	982	524	524
q5	7542	2366	2325	2325
q6	178	166	132	132
q7	876	730	620	620
q8	9318	1259	991	991
q9	6952	5272	5138	5138
q10	6865	2311	1892	1892
q11	516	294	270	270
q12	337	345	216	216
q13	17792	3647	3051	3051
q14	231	231	213	213
q15	528	479	485	479
q16	418	436	369	369
q17	608	848	379	379
q18	7437	7120	7151	7120
q19	1220	942	554	554
q20	360	331	223	223
q21	3718	3167	2325	2325
q22	1056	1008	966	966
Total cold run time: 114444 ms
Total hot run time: 33635 ms

----- Round 2, with runtime_filter_mode=off -----
q1	5121	5086	5071	5071
q2	241	322	232	232
q3	2169	2642	2313	2313
q4	1356	1765	1337	1337
q5	4380	4381	4517	4381
q6	222	166	131	131
q7	2024	1949	1772	1772
q8	2593	2549	2517	2517
q9	7249	7200	6982	6982
q10	2998	3214	2746	2746
q11	572	500	480	480
q12	733	753	642	642
q13	3513	3904	3311	3311
q14	286	301	283	283
q15	517	476	462	462
q16	429	481	433	433
q17	1122	1467	1373	1373
q18	7835	7582	7379	7379
q19	783	847	938	847
q20	1957	1947	1887	1887
q21	4789	4542	4509	4509
q22	1121	1070	1047	1047
Total cold run time: 52010 ms
Total hot run time: 50135 ms

@doris-robot

Copy link
Copy Markdown
TPC-DS: Total hot run time: 192782 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 9ebc6910112cb9e752060b0307e2b398014179de, data reload: false

query1	1416	1101	1081	1081
query2	6254	1879	1838	1838
query3	11026	4531	4393	4393
query4	53468	25488	23053	23053
query5	4999	560	457	457
query6	334	200	197	197
query7	4882	505	293	293
query8	309	252	231	231
query9	5314	2628	2632	2628
query10	454	310	285	285
query11	14936	14942	14823	14823
query12	159	109	101	101
query13	1011	526	391	391
query14	10160	6478	6340	6340
query15	212	200	200	200
query16	7080	692	506	506
query17	1071	759	583	583
query18	1570	403	315	315
query19	198	185	164	164
query20	128	133	123	123
query21	204	120	106	106
query22	4645	4537	4270	4270
query23	34329	33638	33629	33629
query24	6696	2427	2442	2427
query25	469	473	432	432
query26	688	280	157	157
query27	2251	516	347	347
query28	3201	2132	2171	2132
query29	570	576	458	458
query30	280	208	192	192
query31	856	858	764	764
query32	74	64	61	61
query33	446	373	321	321
query34	779	889	555	555
query35	778	808	767	767
query36	975	1022	902	902
query37	108	103	76	76
query38	4302	4282	4282	4282
query39	1521	1461	1459	1459
query40	223	129	108	108
query41	54	54	49	49
query42	125	109	107	107
query43	501	514	496	496
query44	1341	841	848	841
query45	186	185	175	175
query46	873	1058	658	658
query47	1817	1912	1800	1800
query48	404	429	320	320
query49	700	543	454	454
query50	656	708	408	408
query51	4251	4251	4250	4250
query52	114	101	101	101
query53	227	262	191	191
query54	593	595	535	535
query55	92	88	86	86
query56	324	337	319	319
query57	1212	1208	1139	1139
query58	289	278	269	269
query59	2627	2833	2684	2684
query60	346	366	314	314
query61	150	151	148	148
query62	722	746	691	691
query63	231	219	184	184
query64	1431	1000	660	660
query65	4282	4248	4240	4240
query66	722	407	306	306
query67	16134	15623	15540	15540
query68	7268	893	530	530
query69	538	322	271	271
query70	1210	1140	1062	1062
query71	493	330	305	305
query72	5530	4712	4773	4712
query73	1459	573	350	350
query74	8918	9027	8905	8905
query75	4035	3186	2708	2708
query76	4276	1226	775	775
query77	678	373	291	291
query78	10108	10044	9417	9417
query79	3371	811	564	564
query80	624	579	441	441
query81	472	249	214	214
query82	480	127	101	101
query83	316	254	239	239
query84	290	99	86	86
query85	793	356	317	317
query86	350	290	309	290
query87	4360	4377	4267	4267
query88	3469	2291	2273	2273
query89	403	315	280	280
query90	1989	211	199	199
query91	152	149	111	111
query92	71	64	58	58
query93	1885	918	580	580
query94	673	407	305	305
query95	371	295	282	282
query96	486	568	278	278
query97	2672	2743	2677	2677
query98	244	204	219	204
query99	1449	1423	1278	1278
Total cold run time: 298213 ms
Total hot run time: 192782 ms

@doris-robot

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

query1	0.04	0.03	0.03
query2	0.13	0.10	0.11
query3	0.26	0.19	0.20
query4	1.59	0.20	0.20
query5	0.45	0.43	0.42
query6	1.17	0.65	0.66
query7	0.03	0.02	0.02
query8	0.04	0.04	0.04
query9	0.59	0.52	0.54
query10	0.57	0.56	0.56
query11	0.16	0.10	0.11
query12	0.15	0.11	0.12
query13	0.61	0.60	0.59
query14	0.78	0.80	0.79
query15	0.87	0.84	0.84
query16	0.38	0.38	0.39
query17	1.05	1.04	1.04
query18	0.22	0.21	0.21
query19	1.90	1.85	1.84
query20	0.01	0.01	0.02
query21	15.39	0.91	0.56
query22	0.76	1.15	0.75
query23	14.87	1.37	0.58
query24	6.73	1.34	0.72
query25	0.48	0.12	0.12
query26	0.58	0.15	0.14
query27	0.05	0.06	0.05
query28	9.91	0.88	0.43
query29	12.56	3.98	3.33
query30	0.25	0.10	0.06
query31	2.81	0.60	0.38
query32	3.23	0.55	0.46
query33	3.08	3.09	3.09
query34	15.84	5.09	4.49
query35	4.51	4.53	4.45
query36	0.67	0.50	0.48
query37	0.08	0.07	0.06
query38	0.05	0.04	0.04
query39	0.03	0.02	0.03
query40	0.17	0.14	0.14
query41	0.08	0.03	0.02
query42	0.03	0.02	0.02
query43	0.03	0.03	0.02
Total cold run time: 103.19 s
Total hot run time: 29.05 s

@xinyiZzz xinyiZzz changed the title [fix](arrow) Rollback Arrow version 18.2.0 -> 17.0.0, decimal type error occurs when Arrow converts to Parquet [fix](arrow) Rollback Arrow version to 17.0.0, Fix MacOS compile error and decimal type error when convert to Parquet May 25, 2025
@xinyiZzz xinyiZzz changed the title [fix](arrow) Rollback Arrow version to 17.0.0, Fix MacOS compile error and decimal type error when convert to Parquet [fix](arrow) Rollback Arrow version 19.1.0 -> 17.0.0, Fix MacOS compile error and decimal type error when convert to Parquet May 25, 2025
@xinyiZzz xinyiZzz changed the title [fix](arrow) Rollback Arrow version 19.1.0 -> 17.0.0, Fix MacOS compile error and decimal type error when convert to Parquet [fix](arrow) Rollback Arrow version 19.0.1 -> 17.0.0, Fix MacOS compile error and decimal type error when convert to Parquet May 25, 2025
@xinyiZzz

Copy link
Copy Markdown
Contributor Author

run buildall

@xinyiZzz xinyiZzz force-pushed the 20250525_fix_arrow_version branch from d35176f to e64c5f2 Compare May 25, 2025 15:07
@xinyiZzz

Copy link
Copy Markdown
Contributor Author

run buildall

morningman
morningman previously approved these changes May 25, 2025

@morningman morningman left a comment

Copy link
Copy Markdown
Contributor

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 May 25, 2025
@github-actions

Copy link
Copy Markdown
Contributor

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

@github-actions

Copy link
Copy Markdown
Contributor

PR approved by anyone and no changes requested.

@doris-robot

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

------ Round 1 ----------------------------------
q1	25823	5029	4994	4994
q2	2060	270	194	194
q3	10415	1262	720	720
q4	10229	1001	510	510
q5	7528	2347	2291	2291
q6	178	164	132	132
q7	893	734	610	610
q8	9334	1220	1006	1006
q9	6900	5266	5178	5178
q10	6981	2337	1951	1951
q11	494	302	276	276
q12	351	355	216	216
q13	17787	3699	3115	3115
q14	235	224	208	208
q15	530	475	477	475
q16	417	426	379	379
q17	600	856	380	380
q18	7433	7194	7081	7081
q19	1698	943	522	522
q20	326	333	218	218
q21	3849	3102	2286	2286
q22	1042	1032	971	971
Total cold run time: 115103 ms
Total hot run time: 33713 ms

----- Round 2, with runtime_filter_mode=off -----
q1	5155	5076	5037	5037
q2	242	327	232	232
q3	2143	2616	2237	2237
q4	1299	1761	1329	1329
q5	4468	4357	4413	4357
q6	221	168	129	129
q7	1995	1957	1771	1771
q8	2574	2512	2502	2502
q9	7226	7238	6837	6837
q10	3054	3174	2784	2784
q11	559	506	489	489
q12	669	781	587	587
q13	3488	3872	3274	3274
q14	287	300	275	275
q15	520	488	477	477
q16	444	509	429	429
q17	1128	1552	1359	1359
q18	7690	7472	7393	7393
q19	792	784	879	784
q20	2101	2091	1854	1854
q21	4762	4485	4420	4420
q22	1101	1064	1033	1033
Total cold run time: 51918 ms
Total hot run time: 49589 ms

@doris-robot

Copy link
Copy Markdown
TPC-DS: Total hot run time: 192612 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 e64c5f2fd67e4ba347adf22ce6cfb539e77f9000, data reload: false

query1	1431	1104	1060	1060
query2	6221	1825	1804	1804
query3	11017	4315	4480	4315
query4	53277	25659	22897	22897
query5	5306	492	464	464
query6	363	212	213	212
query7	4968	528	287	287
query8	325	275	239	239
query9	6232	2626	2656	2626
query10	459	351	280	280
query11	15179	14990	14847	14847
query12	163	112	110	110
query13	1067	537	414	414
query14	10084	6371	6319	6319
query15	205	209	177	177
query16	7052	643	527	527
query17	1056	720	599	599
query18	1559	411	306	306
query19	190	191	181	181
query20	129	123	130	123
query21	208	127	103	103
query22	4481	4621	4357	4357
query23	34310	33666	33518	33518
query24	6526	2454	2470	2454
query25	468	477	418	418
query26	716	271	152	152
query27	2239	513	341	341
query28	2943	2123	2105	2105
query29	570	562	451	451
query30	286	223	191	191
query31	870	870	789	789
query32	76	66	65	65
query33	442	369	321	321
query34	776	864	530	530
query35	804	850	746	746
query36	939	971	895	895
query37	109	101	79	79
query38	4255	4304	4287	4287
query39	1499	1488	1489	1488
query40	210	124	105	105
query41	58	54	58	54
query42	126	109	112	109
query43	506	503	491	491
query44	1350	857	844	844
query45	182	178	172	172
query46	855	1042	663	663
query47	1851	1926	1849	1849
query48	395	434	328	328
query49	719	512	405	405
query50	659	678	415	415
query51	4248	4312	4269	4269
query52	116	107	108	107
query53	232	257	187	187
query54	588	577	531	531
query55	88	86	83	83
query56	314	325	319	319
query57	1178	1207	1162	1162
query58	262	261	269	261
query59	2683	2828	2733	2733
query60	341	316	317	316
query61	127	124	134	124
query62	716	743	698	698
query63	241	188	180	180
query64	1527	1037	681	681
query65	4275	4175	4249	4175
query66	710	404	304	304
query67	16096	15601	15480	15480
query68	7200	900	533	533
query69	546	309	274	274
query70	1252	1099	1082	1082
query71	494	335	300	300
query72	5785	4940	5029	4940
query73	1295	716	357	357
query74	8867	9223	8846	8846
query75	3806	3216	2694	2694
query76	4241	1209	769	769
query77	608	372	285	285
query78	10233	10230	9281	9281
query79	2492	812	589	589
query80	589	595	443	443
query81	478	260	223	223
query82	433	126	93	93
query83	374	249	236	236
query84	305	102	82	82
query85	816	356	310	310
query86	412	294	293	293
query87	4548	4549	4276	4276
query88	3598	2294	2265	2265
query89	401	332	320	320
query90	1861	205	205	205
query91	137	136	112	112
query92	69	64	54	54
query93	2017	950	581	581
query94	665	397	294	294
query95	369	300	280	280
query96	498	576	280	280
query97	2713	2721	2687	2687
query98	228	202	209	202
query99	1422	1430	1304	1304
Total cold run time: 298205 ms
Total hot run time: 192612 ms

@doris-robot

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

query1	0.04	0.04	0.03
query2	0.12	0.10	0.12
query3	0.25	0.20	0.18
query4	1.60	0.18	0.19
query5	0.45	0.43	0.43
query6	1.17	0.67	0.66
query7	0.02	0.02	0.02
query8	0.04	0.04	0.04
query9	0.58	0.51	0.54
query10	0.57	0.59	0.57
query11	0.15	0.11	0.11
query12	0.15	0.11	0.12
query13	0.61	0.59	0.60
query14	0.80	0.81	0.81
query15	0.86	0.86	0.88
query16	0.38	0.38	0.39
query17	1.04	1.03	1.01
query18	0.23	0.21	0.20
query19	1.88	1.84	1.88
query20	0.02	0.01	0.02
query21	15.41	0.86	0.54
query22	0.76	1.16	0.68
query23	14.94	1.34	0.62
query24	6.88	1.85	0.60
query25	0.50	0.24	0.06
query26	0.61	0.18	0.13
query27	0.05	0.06	0.05
query28	10.04	0.85	0.42
query29	12.57	4.04	3.37
query30	0.25	0.09	0.06
query31	2.83	0.61	0.39
query32	3.22	0.54	0.47
query33	3.06	3.07	3.05
query34	15.73	5.08	4.47
query35	4.56	4.50	4.47
query36	0.69	0.49	0.48
query37	0.08	0.06	0.07
query38	0.06	0.04	0.04
query39	0.03	0.02	0.02
query40	0.17	0.13	0.13
query41	0.08	0.03	0.02
query42	0.03	0.02	0.02
query43	0.04	0.04	0.03
Total cold run time: 103.55 s
Total hot run time: 28.82 s

@doris-robot

Copy link
Copy Markdown

BE UT Coverage Report

Increment line coverage 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 56.01% (14922/26644)
Line Coverage 44.83% (132860/296391)
Region Coverage 43.90% (66779/152119)
Branch Coverage 38.53% (34268/88944)

@hello-stephen

Copy link
Copy Markdown
Contributor

BE Regression && UT Coverage Report

Increment line coverage 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 79.51% (20852/26227)
Line Coverage 72.73% (215553/296378)
Region Coverage 70.89% (126622/178626)
Branch Coverage 64.64% (65657/101570)

zy-kkk
zy-kkk previously approved these changes May 26, 2025
@xinyiZzz

Copy link
Copy Markdown
Contributor Author

run buildall

@github-actions github-actions Bot removed the approved Indicates a PR has been approved by one committer. label May 26, 2025
@github-actions github-actions Bot added the approved Indicates a PR has been approved by one committer. label May 26, 2025
@github-actions

Copy link
Copy Markdown
Contributor

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

@doris-robot

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

------ Round 1 ----------------------------------
q1	26021	5075	5063	5063
q2	2093	271	182	182
q3	10527	1245	702	702
q4	10230	1005	515	515
q5	7659	2387	2348	2348
q6	188	165	138	138
q7	938	731	608	608
q8	9314	1291	1076	1076
q9	6677	5071	5013	5013
q10	6820	2317	1897	1897
q11	481	289	268	268
q12	341	357	211	211
q13	17774	3759	3105	3105
q14	233	233	216	216
q15	534	494	491	491
q16	421	425	376	376
q17	583	860	357	357
q18	7629	7286	7138	7138
q19	1869	966	567	567
q20	338	333	226	226
q21	3908	3201	2361	2361
q22	1042	1019	992	992
Total cold run time: 115620 ms
Total hot run time: 33850 ms

----- Round 2, with runtime_filter_mode=off -----
q1	5216	5115	5145	5115
q2	239	326	231	231
q3	2179	2706	2284	2284
q4	1331	1772	1368	1368
q5	4594	4486	4387	4387
q6	216	167	128	128
q7	2024	1919	1763	1763
q8	2588	2550	2576	2550
q9	7146	7159	7097	7097
q10	2980	3126	2744	2744
q11	579	507	486	486
q12	700	755	606	606
q13	3494	3954	3395	3395
q14	295	287	273	273
q15	523	486	470	470
q16	455	501	432	432
q17	1198	1516	1380	1380
q18	7701	7657	7280	7280
q19	790	779	872	779
q20	2004	2042	1886	1886
q21	4690	4359	4310	4310
q22	1059	1029	974	974
Total cold run time: 52001 ms
Total hot run time: 49938 ms

@doris-robot

Copy link
Copy Markdown
TPC-DS: Total hot run time: 186978 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 489386f0c2af4a00b582bc27000718bbfc9c9b9a, data reload: false

query1	995	482	530	482
query2	6584	1799	1842	1799
query3	6745	227	224	224
query4	26312	23628	23709	23628
query5	4395	629	463	463
query6	321	195	197	195
query7	4623	476	302	302
query8	298	237	221	221
query9	8614	2592	2586	2586
query10	466	335	267	267
query11	15659	15023	15102	15023
query12	164	107	105	105
query13	1645	517	418	418
query14	8828	6070	6446	6070
query15	213	199	164	164
query16	7115	615	449	449
query17	914	684	559	559
query18	1960	389	291	291
query19	186	202	173	173
query20	119	119	153	119
query21	211	120	103	103
query22	4244	4124	4094	4094
query23	34147	33270	33123	33123
query24	8408	2409	2333	2333
query25	544	459	400	400
query26	1244	273	157	157
query27	2754	499	334	334
query28	4338	2094	2069	2069
query29	770	573	440	440
query30	295	218	186	186
query31	919	864	743	743
query32	75	63	67	63
query33	557	345	317	317
query34	800	851	521	521
query35	830	823	736	736
query36	959	1000	894	894
query37	120	104	79	79
query38	4179	4147	4103	4103
query39	1481	1432	1430	1430
query40	214	126	119	119
query41	62	60	58	58
query42	131	117	110	110
query43	535	510	469	469
query44	1280	826	810	810
query45	174	174	165	165
query46	839	1039	639	639
query47	1757	1791	1744	1744
query48	390	411	308	308
query49	779	485	430	430
query50	648	675	407	407
query51	4201	4083	4079	4079
query52	111	110	98	98
query53	219	253	191	191
query54	579	569	516	516
query55	89	87	92	87
query56	334	297	280	280
query57	1129	1142	1112	1112
query58	264	262	263	262
query59	2607	2687	2581	2581
query60	344	314	301	301
query61	131	128	130	128
query62	824	748	687	687
query63	223	183	192	183
query64	4358	1023	681	681
query65	4344	4234	4237	4234
query66	1154	449	314	314
query67	16086	15536	15453	15453
query68	7203	872	520	520
query69	475	307	274	274
query70	1223	1117	1083	1083
query71	395	344	294	294
query72	5605	4755	4821	4755
query73	638	619	360	360
query74	8879	9182	9131	9131
query75	3181	3208	2666	2666
query76	3167	1186	746	746
query77	476	376	299	299
query78	10079	10136	9465	9465
query79	1844	854	574	574
query80	671	522	450	450
query81	500	263	218	218
query82	189	125	98	98
query83	256	250	239	239
query84	297	112	89	89
query85	767	365	317	317
query86	370	316	271	271
query87	4358	4509	4427	4427
query88	2908	2326	2324	2324
query89	373	313	282	282
query90	1944	211	202	202
query91	138	147	114	114
query92	74	58	59	58
query93	1431	952	587	587
query94	669	410	320	320
query95	376	297	286	286
query96	493	553	279	279
query97	2723	2727	2650	2650
query98	254	212	205	205
query99	1312	1396	1286	1286
Total cold run time: 270105 ms
Total hot run time: 186978 ms

@doris-robot

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

query1	0.04	0.04	0.04
query2	0.12	0.11	0.12
query3	0.25	0.19	0.20
query4	1.59	0.19	0.18
query5	0.47	0.45	0.45
query6	1.17	0.67	0.66
query7	0.02	0.02	0.02
query8	0.04	0.04	0.03
query9	0.58	0.53	0.52
query10	0.57	0.57	0.56
query11	0.15	0.10	0.11
query12	0.15	0.11	0.11
query13	0.61	0.60	0.60
query14	0.79	0.80	0.82
query15	0.86	0.87	0.86
query16	0.41	0.38	0.39
query17	1.01	1.06	1.02
query18	0.23	0.22	0.21
query19	1.90	1.81	1.91
query20	0.01	0.02	0.01
query21	15.40	0.95	0.56
query22	0.76	1.33	0.77
query23	14.74	1.36	0.66
query24	7.14	1.69	0.85
query25	0.51	0.13	0.12
query26	0.57	0.16	0.15
query27	0.04	0.05	0.05
query28	9.73	0.91	0.46
query29	12.54	3.98	3.36
query30	0.24	0.10	0.06
query31	2.81	0.58	0.41
query32	3.23	0.55	0.46
query33	2.98	3.10	3.13
query34	15.80	5.07	4.52
query35	4.49	4.53	4.49
query36	0.66	0.51	0.48
query37	0.09	0.06	0.06
query38	0.05	0.04	0.03
query39	0.03	0.02	0.02
query40	0.16	0.13	0.13
query41	0.08	0.03	0.03
query42	0.04	0.02	0.02
query43	0.04	0.03	0.03
Total cold run time: 103.1 s
Total hot run time: 29.48 s

@yiguolei yiguolei merged commit 7eaed2e into apache:master May 26, 2025
28 of 30 checks passed
xinyiZzz added a commit to xinyiZzz/incubator-doris that referenced this pull request May 27, 2025
…le error and decimal type error when convert to Parquet (apache#51217)

Introduced: apache#50939

In Arrow 19.0.1,

1. some scenarios will force the use of `arrow::smallest_decimal`
instead of `arrow::decimal`, but when `arrow::smallest_decimal` is
converted to Parquet, an error will occur: `NotImplemented: Unhandled
type for Arrow to Parquet schema conversion: decimal32(5, 2)`

2. when compile Doris BE on MacOS M1, an error `arithmetic on a pointer
to an incomplete type 'arrow::flight::FlightEndpoint'` will occur. This
is because there is a circular dependency in `arrow/flight/types.h`,
`std::vector<FlightEndpoint>` is used in `476: struct Data`, but `809:
struct FlightEndpoint` is defined later.
xinyiZzz added a commit to xinyiZzz/incubator-doris that referenced this pull request May 27, 2025
…le error and decimal type error when convert to Parquet (apache#51217)

Introduced: apache#50939

In Arrow 19.0.1,

1. some scenarios will force the use of `arrow::smallest_decimal`
instead of `arrow::decimal`, but when `arrow::smallest_decimal` is
converted to Parquet, an error will occur: `NotImplemented: Unhandled
type for Arrow to Parquet schema conversion: decimal32(5, 2)`

2. when compile Doris BE on MacOS M1, an error `arithmetic on a pointer
to an incomplete type 'arrow::flight::FlightEndpoint'` will occur. This
is because there is a circular dependency in `arrow/flight/types.h`,
`std::vector<FlightEndpoint>` is used in `476: struct Data`, but `809:
struct FlightEndpoint` is defined later.
yiguolei pushed a commit that referenced this pull request May 27, 2025
… MacOS compile error and decimal type error when convert to Parquet (#51291)

pick #51217

### What problem does this PR solve?

Issue Number: close #xxx

Related PR: #xxx

Problem Summary:

### Release note

None

### Check List (For Author)

- Test <!-- At least one of them must be included. -->
    - [ ] Regression test
    - [ ] Unit Test
    - [ ] Manual test (add detailed scripts or steps below)
    - [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
        - [ ] Previous test can cover this change.
        - [ ] No code files have been changed.
        - [ ] Other reason <!-- Add your reason?  -->

- Behavior changed:
    - [ ] No.
    - [ ] Yes. <!-- Explain the behavior change -->

- Does this need documentation?
    - [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
apache/doris-website#1214 -->

### Check List (For Reviewer who merge this PR)

- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR
should merge into -->
koarz pushed a commit to koarz/doris that referenced this pull request Jun 4, 2025
…le error and decimal type error when convert to Parquet (apache#51217)

### What problem does this PR solve?

Introduced: apache#50939

In Arrow 19.0.1, 

1. some scenarios will force the use of `arrow::smallest_decimal`
instead of `arrow::decimal`, but when `arrow::smallest_decimal` is
converted to Parquet, an error will occur: `NotImplemented: Unhandled
type for Arrow to Parquet schema conversion: decimal32(5, 2)`

2. when compile Doris BE on MacOS M1, an error `arithmetic on a pointer
to an incomplete type 'arrow::flight::FlightEndpoint'` will occur. This
is because there is a circular dependency in `arrow/flight/types.h`,
`std::vector<FlightEndpoint>` is used in `476: struct Data`, but `809:
struct FlightEndpoint` is defined later.
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.11-merged not-merge/3.0 not-merge/3.1 reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants