Skip to content

[Fix](Outfile) Fixed the problem that the concurrent Outfile wrote multiple Success files#33016

Merged
morningman merged 5 commits intoapache:masterfrom
BePPPower:FixOutfileSuccess
Apr 9, 2024
Merged

[Fix](Outfile) Fixed the problem that the concurrent Outfile wrote multiple Success files#33016
morningman merged 5 commits intoapache:masterfrom
BePPPower:FixOutfileSuccess

Conversation

@BePPPower
Copy link
Contributor

@BePPPower BePPPower commented Mar 29, 2024

Proposed changes

Issue Number: close #xxx

Problem:
When we enable concurrent Outfile and specify the success_file_name, a SUCCESS file is written for each BE instance, which is not what we expected

solution:
Therefore, we added a new RPC request that when the Outfile was completed, the FE sent an RPC to the Be request to write one Success file.

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

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

@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@BePPPower
Copy link
Contributor Author

run buildall

1 similar comment
@BePPPower
Copy link
Contributor Author

run buildall

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

clang-tidy made some suggestions

}
}

void PInternalService::outfile_write_success(google::protobuf::RpcController* controller,
Copy link
Contributor

Choose a reason for hiding this comment

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

warning: method 'outfile_write_success' can be made static [readability-convert-member-functions-to-static]

Suggested change
void PInternalService::outfile_write_success(google::protobuf::RpcController* controller,
static void PInternalService::outfile_write_success(google::protobuf::RpcController* controller,

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17602	4542	4228	4228
q2	2111	184	179	179
q3	10517	1150	1138	1138
q4	10200	747	738	738
q5	7462	2790	2697	2697
q6	216	128	128	128
q7	1015	591	578	578
q8	9326	2051	2022	2022
q9	8757	6532	6518	6518
q10	8491	3447	3547	3447
q11	475	241	234	234
q12	516	217	210	210
q13	17778	2978	2956	2956
q14	284	233	237	233
q15	510	460	468	460
q16	535	382	391	382
q17	970	563	608	563
q18	7301	6800	6734	6734
q19	6215	1415	1412	1412
q20	680	328	309	309
q21	3409	2773	2722	2722
q22	368	327	310	310
Total cold run time: 114738 ms
Total hot run time: 38198 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4328	4183	4194	4183
q2	369	281	272	272
q3	2948	2715	2728	2715
q4	1824	1527	1490	1490
q5	5284	5211	5218	5211
q6	209	123	122	122
q7	2227	1903	1885	1885
q8	3220	3309	3299	3299
q9	8606	8563	8612	8563
q10	4041	3769	3789	3769
q11	614	511	508	508
q12	816	627	618	618
q13	18289	3223	3143	3143
q14	336	276	269	269
q15	528	486	492	486
q16	500	475	466	466
q17	1853	1507	1472	1472
q18	8249	8001	7721	7721
q19	1633	1560	1507	1507
q20	2065	1883	1861	1861
q21	8186	4918	4943	4918
q22	527	478	453	453
Total cold run time: 76652 ms
Total hot run time: 54931 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 182437 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 878641fdf1d2f5807049c40b4666e6063718e72f, data reload: false

query1	1265	1116	1119	1116
query2	7150	2064	2031	2031
query3	6653	206	208	206
query4	37434	21595	21222	21222
query5	4194	401	397	397
query6	237	187	179	179
query7	4026	295	293	293
query8	227	200	170	170
query9	5228	2287	2278	2278
query10	362	242	239	239
query11	14851	14273	14299	14273
query12	134	90	86	86
query13	972	362	360	360
query14	9199	6977	6901	6901
query15	199	179	177	177
query16	6787	257	262	257
query17	1605	570	545	545
query18	1377	275	268	268
query19	198	154	151	151
query20	90	86	87	86
query21	201	130	129	129
query22	5020	4825	4831	4825
query23	33400	32648	32968	32648
query24	10849	2861	2923	2861
query25	583	418	417	417
query26	862	161	154	154
query27	2975	371	378	371
query28	6342	1925	1916	1916
query29	887	661	656	656
query30	296	171	155	155
query31	929	750	741	741
query32	62	60	55	55
query33	462	263	256	256
query34	885	488	499	488
query35	847	746	704	704
query36	1013	944	913	913
query37	109	69	75	69
query38	3683	3683	3546	3546
query39	1636	1584	1618	1584
query40	174	137	138	137
query41	51	45	52	45
query42	105	105	105	105
query43	501	482	473	473
query44	1106	734	757	734
query45	275	266	241	241
query46	1084	712	712	712
query47	2002	1875	1931	1875
query48	418	316	313	313
query49	822	380	385	380
query50	800	404	412	404
query51	6897	6688	6724	6688
query52	103	100	88	88
query53	349	282	282	282
query54	267	232	235	232
query55	81	78	80	78
query56	248	240	249	240
query57	1166	1138	1138	1138
query58	221	207	214	207
query59	3009	2565	2554	2554
query60	246	235	237	235
query61	90	88	88	88
query62	580	418	432	418
query63	302	277	280	277
query64	4498	4092	4115	4092
query65	3079	3038	3069	3038
query66	769	343	338	338
query67	15961	15210	14850	14850
query68	10479	550	545	545
query69	613	330	329	329
query70	1193	1210	1138	1138
query71	512	277	265	265
query72	6657	2625	2443	2443
query73	1430	328	329	328
query74	6745	6342	6327	6327
query75	3608	2317	2295	2295
query76	6340	944	1065	944
query77	602	267	250	250
query78	10946	10232	10255	10232
query79	11617	528	544	528
query80	2004	417	409	409
query81	537	220	1072	220
query82	174	88	91	88
query83	223	170	172	170
query84	256	84	81	81
query85	1025	275	263	263
query86	347	286	280	280
query87	3780	3454	3550	3454
query88	5498	2424	2406	2406
query89	496	391	377	377
query90	2024	174	173	173
query91	123	100	95	95
query92	63	50	49	49
query93	5562	495	491	491
query94	1346	182	177	177
query95	411	308	307	307
query96	613	274	272	272
query97	2622	2492	2487	2487
query98	239	225	214	214
query99	1031	854	815	815
Total cold run time: 307549 ms
Total hot run time: 182437 ms

@doris-robot
Copy link

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

query1	0.04	0.03	0.04
query2	0.08	0.03	0.04
query3	0.23	0.06	0.05
query4	1.68	0.07	0.08
query5	0.49	0.49	0.50
query6	1.14	0.66	0.66
query7	0.02	0.01	0.01
query8	0.05	0.04	0.04
query9	0.56	0.48	0.49
query10	0.55	0.54	0.53
query11	0.15	0.10	0.11
query12	0.13	0.11	0.12
query13	0.58	0.58	0.58
query14	0.76	0.79	0.78
query15	0.83	0.81	0.80
query16	0.35	0.37	0.36
query17	0.97	0.95	0.97
query18	0.25	0.23	0.20
query19	1.81	1.75	1.75
query20	0.01	0.01	0.01
query21	15.54	0.63	0.62
query22	2.82	2.29	2.30
query23	17.29	0.93	0.80
query24	1.15	0.23	0.22
query25	0.09	0.08	0.08
query26	0.23	0.17	0.17
query27	0.07	0.07	0.07
query28	14.10	0.95	0.92
query29	12.51	3.20	3.18
query30	0.27	0.08	0.08
query31	2.82	0.37	0.38
query32	3.28	0.45	0.45
query33	2.86	2.86	2.88
query34	16.59	4.38	4.41
query35	4.49	4.47	4.50
query36	0.61	0.47	0.47
query37	0.17	0.16	0.14
query38	0.15	0.14	0.14
query39	0.05	0.04	0.04
query40	0.18	0.14	0.15
query41	0.08	0.04	0.05
query42	0.05	0.05	0.04
query43	0.04	0.04	0.04
Total cold run time: 106.12 s
Total hot run time: 30.04 s

@doris-robot
Copy link

Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'

Load test result on commit 878641fdf1d2f5807049c40b4666e6063718e72f with default session variables
Stream load json:         19 seconds loaded 2358488459 Bytes, about 118 MB/s
Stream load orc:          59 seconds loaded 1101869774 Bytes, about 17 MB/s
Stream load parquet:      31 seconds loaded 861443392 Bytes, about 26 MB/s
Insert into select:       13.7 seconds inserted 10000000 Rows, about 729K ops/s

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 35.58% (8838/24842)
Line Coverage: 27.29% (72448/265458)
Region Coverage: 26.51% (37519/141514)
Branch Coverage: 23.32% (19125/82024)
Coverage Report: http://coverage.selectdb-in.cc/coverage/878641fdf1d2f5807049c40b4666e6063718e72f_878641fdf1d2f5807049c40b4666e6063718e72f/report/index.html

@BePPPower
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17654	4111	4070	4070
q2	2017	194	196	194
q3	10474	1260	1428	1260
q4	10208	935	1088	935
q5	9597	3053	2994	2994
q6	218	135	131	131
q7	1123	643	612	612
q8	9412	2089	2044	2044
q9	6697	6205	6164	6164
q10	8415	3538	3520	3520
q11	416	239	228	228
q12	383	216	211	211
q13	17771	2920	2904	2904
q14	267	236	245	236
q15	528	496	473	473
q16	489	403	379	379
q17	973	925	929	925
q18	7373	6604	6459	6459
q19	1591	1531	1541	1531
q20	597	334	318	318
q21	3579	3112	3074	3074
q22	369	310	319	310
Total cold run time: 110151 ms
Total hot run time: 38972 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4068	4078	4033	4033
q2	336	222	224	222
q3	3019	2941	2979	2941
q4	1886	1847	1823	1823
q5	5263	5202	5227	5202
q6	206	125	124	124
q7	2267	1826	1799	1799
q8	3220	3279	3308	3279
q9	8547	8495	8540	8495
q10	3751	3820	3810	3810
q11	535	451	444	444
q12	704	557	574	557
q13	16702	2888	2911	2888
q14	296	255	266	255
q15	519	471	472	471
q16	455	421	387	387
q17	1731	1684	1700	1684
q18	7726	7162	7292	7162
q19	1630	1628	1631	1628
q20	1939	1741	1733	1733
q21	5025	4767	4790	4767
q22	484	414	416	414
Total cold run time: 70309 ms
Total hot run time: 54118 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 182186 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 70f38a5f323af89df6af8d2674b000593892791d, data reload: false

query1	1249	1120	1116	1116
query2	6488	1874	1854	1854
query3	6652	207	217	207
query4	24085	21508	21373	21373
query5	4199	397	399	397
query6	269	194	178	178
query7	4612	306	309	306
query8	239	191	197	191
query9	8454	2238	2239	2238
query10	564	266	265	265
query11	14799	14468	14473	14468
query12	146	100	97	97
query13	1636	386	388	386
query14	8633	6780	6814	6780
query15	208	177	174	174
query16	7159	269	269	269
query17	1022	609	595	595
query18	1921	290	286	286
query19	212	164	172	164
query20	101	98	95	95
query21	203	130	127	127
query22	5113	4946	4948	4946
query23	33863	32913	32559	32559
query24	12419	3207	3179	3179
query25	695	402	409	402
query26	1914	169	163	163
query27	2983	331	328	328
query28	6744	1808	1818	1808
query29	1370	610	598	598
query30	299	151	151	151
query31	988	746	741	741
query32	104	61	57	57
query33	723	257	244	244
query34	1038	487	493	487
query35	838	698	706	698
query36	967	870	890	870
query37	289	82	83	82
query38	3510	3406	3417	3406
query39	1557	1531	1531	1531
query40	299	140	135	135
query41	54	48	48	48
query42	115	108	102	102
query43	445	415	392	392
query44	1106	718	707	707
query45	266	260	275	260
query46	1092	809	778	778
query47	1940	1852	1868	1852
query48	381	301	303	301
query49	1146	371	364	364
query50	790	399	389	389
query51	6840	6886	6759	6759
query52	111	103	100	100
query53	373	289	286	286
query54	318	242	247	242
query55	89	75	82	75
query56	249	231	235	231
query57	1226	1148	1165	1148
query58	243	230	232	230
query59	2592	2530	2442	2442
query60	259	247	253	247
query61	121	90	89	89
query62	703	462	459	459
query63	310	280	279	279
query64	6296	2974	3089	2974
query65	3078	3035	3005	3005
query66	1444	332	309	309
query67	15433	14934	14949	14934
query68	5002	548	562	548
query69	487	321	318	318
query70	1173	1059	1083	1059
query71	407	308	267	267
query72	6167	2638	2423	2423
query73	714	329	322	322
query74	6817	6540	6456	6456
query75	2993	2297	2314	2297
query76	3149	1036	1190	1036
query77	387	256	258	256
query78	11004	10208	10160	10160
query79	7927	534	520	520
query80	1514	425	408	408
query81	534	232	223	223
query82	1669	107	105	105
query83	300	161	161	161
query84	269	90	92	90
query85	2003	286	271	271
query86	486	273	276	273
query87	3664	3567	3474	3474
query88	4218	2250	2262	2250
query89	519	366	379	366
query90	2020	175	176	175
query91	151	113	104	104
query92	60	52	52	52
query93	6300	534	525	525
query94	1234	206	207	206
query95	1101	1095	1102	1095
query96	621	270	270	270
query97	2663	2488	2478	2478
query98	261	220	218	218
query99	1276	827	859	827
Total cold run time: 292674 ms
Total hot run time: 182186 ms

@doris-robot
Copy link

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

query1	0.04	0.03	0.03
query2	0.07	0.04	0.05
query3	0.23	0.05	0.05
query4	1.67	0.07	0.07
query5	0.50	0.48	0.49
query6	1.13	0.66	0.66
query7	0.02	0.01	0.01
query8	0.05	0.05	0.04
query9	0.56	0.51	0.50
query10	0.57	0.58	0.57
query11	0.15	0.11	0.12
query12	0.14	0.11	0.12
query13	0.62	0.59	0.60
query14	0.77	0.78	0.80
query15	0.86	0.86	0.84
query16	0.35	0.35	0.36
query17	0.98	0.98	1.00
query18	0.26	0.25	0.27
query19	1.85	1.68	1.68
query20	0.01	0.01	0.02
query21	15.42	0.77	0.67
query22	2.80	5.84	2.98
query23	17.82	1.33	1.04
query24	1.54	0.23	0.23
query25	0.13	0.09	0.08
query26	0.29	0.17	0.19
query27	0.08	0.10	0.08
query28	13.74	0.96	0.96
query29	12.63	3.32	3.40
query30	0.24	0.06	0.06
query31	2.86	0.39	0.38
query32	3.27	0.47	0.48
query33	2.88	2.92	2.85
query34	15.51	4.36	4.33
query35	4.38	4.36	4.38
query36	0.68	0.47	0.48
query37	0.21	0.17	0.18
query38	0.16	0.16	0.16
query39	0.04	0.03	0.04
query40	0.19	0.15	0.15
query41	0.10	0.05	0.06
query42	0.07	0.06	0.05
query43	0.05	0.05	0.04
Total cold run time: 105.92 s
Total hot run time: 31.25 s

@doris-robot
Copy link

Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'

Load test result on commit 70f38a5f323af89df6af8d2674b000593892791d with default session variables
Stream load json:         18 seconds loaded 2358488459 Bytes, about 124 MB/s
Stream load orc:          59 seconds loaded 1101869774 Bytes, about 17 MB/s
Stream load parquet:      31 seconds loaded 861443392 Bytes, about 26 MB/s
Insert into select:       16.8 seconds inserted 10000000 Rows, about 595K ops/s

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 35.55% (8841/24870)
Line Coverage: 27.27% (72494/265866)
Region Coverage: 26.47% (37520/141733)
Branch Coverage: 23.28% (19130/82176)
Coverage Report: http://coverage.selectdb-in.cc/coverage/70f38a5f323af89df6af8d2674b000593892791d_70f38a5f323af89df6af8d2674b000593892791d/report/index.html

@BePPPower
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17623	4168	4119	4119
q2	2018	188	188	188
q3	10464	1230	1411	1230
q4	10222	891	1057	891
q5	7501	3018	2939	2939
q6	220	134	128	128
q7	1105	632	619	619
q8	9410	2048	2052	2048
q9	6742	6232	6191	6191
q10	8483	3537	3521	3521
q11	418	248	241	241
q12	380	211	209	209
q13	17789	2886	2917	2886
q14	282	246	247	246
q15	530	493	494	493
q16	515	392	376	376
q17	972	924	917	917
q18	7327	6511	6375	6375
q19	1601	1548	1551	1548
q20	598	322	305	305
q21	3576	3158	3146	3146
q22	388	302	304	302
Total cold run time: 108164 ms
Total hot run time: 38918 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4083	4055	4071	4055
q2	333	216	216	216
q3	2970	2954	2947	2947
q4	1875	1837	1814	1814
q5	5284	5278	5285	5278
q6	208	124	122	122
q7	2254	1821	1823	1821
q8	3232	3311	3309	3309
q9	8507	8516	8521	8516
q10	3735	4945	4052	4052
q11	584	450	468	450
q12	778	627	637	627
q13	15358	3159	3142	3142
q14	320	276	279	276
q15	528	493	487	487
q16	477	451	424	424
q17	1750	1720	1766	1720
q18	8277	7792	7886	7792
q19	1724	1711	1662	1662
q20	1966	1820	1833	1820
q21	5314	5009	4941	4941
q22	524	431	452	431
Total cold run time: 70081 ms
Total hot run time: 55902 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 183296 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 cc738e9a80a9bf817953bbc51ff0ec128fea449c, data reload: false

query1	1218	1124	1112	1112
query2	6188	2033	1914	1914
query3	6662	213	210	210
query4	24870	21571	21481	21481
query5	4179	405	398	398
query6	269	181	183	181
query7	4597	308	304	304
query8	243	179	184	179
query9	8480	2276	2261	2261
query10	455	254	266	254
query11	15137	14470	14532	14470
query12	142	96	92	92
query13	1631	382	392	382
query14	8424	6886	6921	6886
query15	225	176	184	176
query16	6729	286	293	286
query17	952	601	579	579
query18	1864	305	286	286
query19	205	164	169	164
query20	96	91	95	91
query21	202	131	134	131
query22	4964	4796	4796	4796
query23	33450	32722	32720	32720
query24	11845	3265	3189	3189
query25	688	430	463	430
query26	1729	184	173	173
query27	3207	392	396	392
query28	6998	1937	1892	1892
query29	1198	627	616	616
query30	311	158	161	158
query31	1004	755	763	755
query32	98	65	65	65
query33	714	259	255	255
query34	1087	499	536	499
query35	867	753	751	751
query36	1023	886	865	865
query37	152	85	79	79
query38	3714	3549	3597	3549
query39	1652	1613	1593	1593
query40	254	156	150	150
query41	51	48	49	48
query42	119	110	103	103
query43	463	429	422	422
query44	1213	738	734	734
query45	287	280	266	266
query46	1116	834	809	809
query47	2027	1883	1941	1883
query48	399	323	333	323
query49	1003	362	388	362
query50	814	409	425	409
query51	6940	6899	6862	6862
query52	113	97	94	94
query53	355	286	285	285
query54	314	248	239	239
query55	87	77	74	74
query56	241	243	238	238
query57	1304	1207	1204	1204
query58	245	222	225	222
query59	2739	2684	2377	2377
query60	248	241	243	241
query61	96	101	91	91
query62	648	463	446	446
query63	307	282	286	282
query64	5786	3048	3140	3048
query65	3064	3038	3013	3013
query66	1317	314	310	310
query67	15441	14878	15068	14878
query68	9187	585	592	585
query69	617	338	331	331
query70	1413	1110	1070	1070
query71	493	268	266	266
query72	6489	2621	2422	2422
query73	1583	339	328	328
query74	6751	6419	6358	6358
query75	3589	2314	2292	2292
query76	5344	1041	1201	1041
query77	574	249	240	240
query78	10922	10101	10168	10101
query79	9734	527	535	527
query80	1624	417	422	417
query81	509	229	223	223
query82	510	104	104	104
query83	214	159	174	159
query84	266	87	92	87
query85	1000	306	281	281
query86	343	283	293	283
query87	3698	3515	3494	3494
query88	3888	2376	2381	2376
query89	551	368	374	368
query90	1898	178	180	178
query91	140	109	109	109
query92	65	50	49	49
query93	6599	537	535	535
query94	1183	191	198	191
query95	1098	1099	1085	1085
query96	620	282	274	274
query97	2701	2465	2516	2465
query98	235	214	213	213
query99	1277	817	848	817
Total cold run time: 299575 ms
Total hot run time: 183296 ms

@doris-robot
Copy link

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

query1	0.04	0.03	0.03
query2	0.07	0.04	0.05
query3	0.24	0.04	0.04
query4	1.68	0.07	0.07
query5	0.49	0.47	0.48
query6	1.13	0.65	0.66
query7	0.02	0.01	0.01
query8	0.06	0.05	0.05
query9	0.57	0.50	0.52
query10	0.56	0.56	0.56
query11	0.15	0.11	0.11
query12	0.14	0.12	0.12
query13	0.61	0.60	0.61
query14	0.77	0.77	0.78
query15	0.87	0.83	0.84
query16	0.35	0.35	0.36
query17	0.97	1.01	1.02
query18	0.26	0.25	0.25
query19	1.83	1.70	1.71
query20	0.02	0.01	0.01
query21	15.42	0.76	0.69
query22	3.75	5.01	2.06
query23	17.60	1.32	1.09
query24	1.64	0.22	0.21
query25	0.14	0.09	0.09
query26	0.27	0.17	0.19
query27	0.08	0.09	0.09
query28	13.64	0.94	0.94
query29	12.55	3.51	3.58
query30	0.26	0.06	0.06
query31	2.90	0.39	0.38
query32	3.27	0.48	0.47
query33	2.82	2.85	2.85
query34	15.49	4.33	4.32
query35	4.37	4.37	4.39
query36	0.65	0.47	0.47
query37	0.20	0.16	0.18
query38	0.17	0.16	0.16
query39	0.05	0.04	0.04
query40	0.18	0.14	0.16
query41	0.10	0.05	0.05
query42	0.06	0.05	0.05
query43	0.05	0.04	0.04
Total cold run time: 106.49 s
Total hot run time: 30.58 s

@doris-robot
Copy link

Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'

Load test result on commit cc738e9a80a9bf817953bbc51ff0ec128fea449c with default session variables
Stream load json:         18 seconds loaded 2358488459 Bytes, about 124 MB/s
Stream load orc:          58 seconds loaded 1101869774 Bytes, about 18 MB/s
Stream load parquet:      31 seconds loaded 861443392 Bytes, about 26 MB/s
Insert into select:       15.4 seconds inserted 10000000 Rows, about 649K ops/s

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 35.57% (8849/24877)
Line Coverage: 27.27% (72531/265939)
Region Coverage: 26.47% (37532/141766)
Branch Coverage: 23.28% (19136/82200)
Coverage Report: http://coverage.selectdb-in.cc/coverage/cc738e9a80a9bf817953bbc51ff0ec128fea449c_cc738e9a80a9bf817953bbc51ff0ec128fea449c/report/index.html

@BePPPower BePPPower marked this pull request as ready for review April 2, 2024 11:03
@morningman
Copy link
Contributor

run buildall

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 35.64% (8887/24932)
Line Coverage: 27.38% (72985/266596)
Region Coverage: 26.55% (37720/142054)
Branch Coverage: 23.36% (19229/82320)
Coverage Report: http://coverage.selectdb-in.cc/coverage/c8f4453b7a05015d0e55134183e1c9467ee00470_c8f4453b7a05015d0e55134183e1c9467ee00470/report/index.html

Copy link
Contributor

@morningman morningman 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
Copy link
Contributor

github-actions bot commented Apr 8, 2024

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 Apr 8, 2024
@github-actions
Copy link
Contributor

github-actions bot commented Apr 8, 2024

PR approved by anyone and no changes requested.

@morningman morningman merged commit 65b382c into apache:master Apr 9, 2024
seawinde pushed a commit to seawinde/doris that referenced this pull request Apr 10, 2024
…ltiple Success files (apache#33016)

**Problem:**
When we enable concurrent `Outfile` and specify the `success_file_name`, a SUCCESS file is written for each BE instance, which is not what we expected


**solution:**
Therefore, we added a new RPC request that when the Outfile was completed, the FE sent an RPC to the Be request to write one Success file.
BePPPower added a commit to BePPPower/doris that referenced this pull request Apr 16, 2024
…ltiple Success files (apache#33016)

**Problem:**
When we enable concurrent `Outfile` and specify the `success_file_name`, a SUCCESS file is written for each BE instance, which is not what we expected

**solution:**
Therefore, we added a new RPC request that when the Outfile was completed, the FE sent an RPC to the Be request to write one Success file.
xiaokang pushed a commit that referenced this pull request Apr 18, 2024
BePPPower added a commit to BePPPower/doris that referenced this pull request Apr 19, 2024
…ltiple Success files (apache#33016)

**Problem:**
When we enable concurrent `Outfile` and specify the `success_file_name`, a SUCCESS file is written for each BE instance, which is not what we expected

**solution:**
Therefore, we added a new RPC request that when the Outfile was completed, the FE sent an RPC to the Be request to write one Success file.
BePPPower added a commit to BePPPower/doris that referenced this pull request Apr 19, 2024
…ltiple Success files (apache#33016)

**Problem:**
When we enable concurrent `Outfile` and specify the `success_file_name`, a SUCCESS file is written for each BE instance, which is not what we expected

**solution:**
Therefore, we added a new RPC request that when the Outfile was completed, the FE sent an RPC to the Be request to write one Success file.
morningman pushed a commit that referenced this pull request Apr 19, 2024
@morningman morningman added dev/2.1.3-merged kind/fix Categorizes issue or PR as related to a bug. and removed 2.1.0-conflict dev/2.1.x labels Apr 19, 2024
mongo360 pushed a commit to mongo360/doris that referenced this pull request Aug 16, 2024
morningman added a commit that referenced this pull request Oct 22, 2025
)

### What problem does this PR solve?

Related PR: #33016

Introduced from #33016, when specify the "schema" property in outfile
clause with parquet format,
it will return error:
```
Parquet schema number does not equal to select item number
```

This is because we wrongly analyze `OutfileClause` twice.
dwdwqfwe pushed a commit to dwdwqfwe/doris that referenced this pull request Oct 24, 2025
…che#57232)

### What problem does this PR solve?

Related PR: apache#33016

Introduced from apache#33016, when specify the "schema" property in outfile
clause with parquet format,
it will return error:
```
Parquet schema number does not equal to select item number
```

This is because we wrongly analyze `OutfileClause` twice.
github-actions bot pushed a commit that referenced this pull request Oct 30, 2025
)

### What problem does this PR solve?

Related PR: #33016

Introduced from #33016, when specify the "schema" property in outfile
clause with parquet format,
it will return error:
```
Parquet schema number does not equal to select item number
```

This is because we wrongly analyze `OutfileClause` twice.
morningman added a commit to morningman/doris that referenced this pull request Oct 30, 2025
…che#57232)

Related PR: apache#33016

Introduced from apache#33016, when specify the "schema" property in outfile
clause with parquet format,
it will return error:
```
Parquet schema number does not equal to select item number
```

This is because we wrongly analyze `OutfileClause` twice.
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.0.9-merged dev/2.1.3-merged kind/fix Categorizes issue or PR as related to a bug. meta-change reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

Comments