Skip to content

[Fix](ut) Include UDF and OLAP BE tests#64448

Merged
hello-stephen merged 1 commit into
apache:masterfrom
linrrzqqq:fix-ut
Jun 13, 2026
Merged

[Fix](ut) Include UDF and OLAP BE tests#64448
hello-stephen merged 1 commit into
apache:masterfrom
linrrzqqq:fix-ut

Conversation

@linrrzqqq

Copy link
Copy Markdown
Collaborator

Release note

Add the missing olap and udf test directories to the BE UT CMake whitelist.

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

@linrrzqqq

Copy link
Copy Markdown
Collaborator Author

/review

@linrrzqqq

Copy link
Copy Markdown
Collaborator Author

run buildall

@github-actions github-actions Bot 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.

I found one blocking compile issue in the newly included UDF test source.

Critical checkpoint conclusions:

  • Goal/test: the PR aims to include missing olap and udf BE tests, but the UDF test source is not self-contained once it is added to doris_be_test.
  • Scope: the change is small and focused.
  • Concurrency/lifecycle: touched tests exercise child-process repair and wait/reap paths; the retry and ALREADY_REAPED tolerance are reasonable for process-wide SIGCHLD interference.
  • Config/compatibility/persistence/data visibility: no new config, protocol, storage, transaction, or persistence behavior.
  • Parallel paths: no other CMake whitelist path issue found in this PR.
  • Testing: full BE UT was not run locally because this checkout lacks thirdparty/installed; CI macOS failure is currently an unrelated JDK-25 environment error. I did run local compiler header checks showing <future> does not provide std::this_thread::sleep_for with the available g++/clang++ headers.
  • User focus: no additional review focus was provided.

Comment thread be/test/udf/python/python_server_test.cpp
@hello-stephen

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

------ Round 1 ----------------------------------
orders	Doris	NULL	NULL	0	0	0	NULL	0	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
============================================
q1	17876	3941	3930	3930
q2	q3	10775	1362	789	789
q4	4684	480	341	341
q5	7521	865	579	579
q6	181	167	135	135
q7	784	875	615	615
q8	9718	1628	1567	1567
q9	6647	4551	4513	4513
q10	6798	1823	1531	1531
q11	438	283	249	249
q12	669	414	286	286
q13	18159	3406	2805	2805
q14	271	260	243	243
q15	q16	829	780	700	700
q17	1124	1008	970	970
q18	6939	5673	5478	5478
q19	2052	1269	1106	1106
q20	529	407	262	262
q21	6057	2497	2416	2416
q22	430	354	303	303
Total cold run time: 102481 ms
Total hot run time: 28818 ms

----- Round 2, with runtime_filter_mode=off -----
orders	Doris	NULL	NULL	150000000	42	6422171781	NULL	22778155	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
============================================
q1	4329	4238	4225	4225
q2	q3	4505	4957	4287	4287
q4	2088	2186	1397	1397
q5	4438	4319	4314	4314
q6	227	170	128	128
q7	1684	1908	1715	1715
q8	2498	2152	2076	2076
q9	8062	7933	7892	7892
q10	4802	4781	4325	4325
q11	604	421	387	387
q12	796	919	543	543
q13	3265	3642	3015	3015
q14	304	313	279	279
q15	q16	747	755	653	653
q17	1351	1324	1335	1324
q18	7862	7429	6773	6773
q19	1126	1062	1090	1062
q20	2219	2211	1935	1935
q21	5262	4556	4355	4355
q22	514	438	402	402
Total cold run time: 56683 ms
Total hot run time: 51087 ms

@hello-stephen

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

query5	4311	611	480	480
query6	438	192	182	182
query7	4809	583	296	296
query8	354	213	208	208
query9	8754	4071	4077	4071
query10	433	313	260	260
query11	5940	2366	2129	2129
query12	162	101	96	96
query13	1248	604	424	424
query14	6375	5438	5092	5092
query14_1	4336	4379	4354	4354
query15	205	193	183	183
query16	1016	443	407	407
query17	1098	679	558	558
query18	2413	478	334	334
query19	195	198	138	138
query20	117	115	105	105
query21	221	134	114	114
query22	13628	13655	13437	13437
query23	17417	16549	16278	16278
query23_1	16591	16392	16359	16359
query24	7480	1770	1321	1321
query24_1	1306	1299	1318	1299
query25	539	468	367	367
query26	1286	313	162	162
query27	2716	536	329	329
query28	4485	2026	2025	2025
query29	1035	583	465	465
query30	298	236	200	200
query31	1140	1070	935	935
query32	104	60	59	59
query33	517	303	253	253
query34	1179	1214	666	666
query35	759	760	660	660
query36	1412	1410	1242	1242
query37	157	104	89	89
query38	3256	3155	3054	3054
query39	931	928	941	928
query39_1	867	898	880	880
query40	218	119	103	103
query41	64	63	60	60
query42	96	97	96	96
query43	321	324	278	278
query44	
query45	195	187	182	182
query46	1088	1197	743	743
query47	2327	2342	2286	2286
query48	432	425	287	287
query49	624	456	340	340
query50	963	352	259	259
query51	4365	4302	4246	4246
query52	88	89	80	80
query53	250	273	193	193
query54	276	246	213	213
query55	81	79	72	72
query56	247	241	239	239
query57	1422	1390	1335	1335
query58	270	223	225	223
query59	1584	1667	1408	1408
query60	300	259	242	242
query61	175	178	179	178
query62	707	656	581	581
query63	234	193	187	187
query64	2573	828	653	653
query65	
query66	1805	481	363	363
query67	29797	29621	29659	29621
query68	
query69	420	314	277	277
query70	977	930	961	930
query71	335	224	220	220
query72	3145	2650	2282	2282
query73	864	724	416	416
query74	5171	4982	4781	4781
query75	2644	2552	2260	2260
query76	2334	1186	790	790
query77	350	384	283	283
query78	12305	12560	11846	11846
query79	1559	1086	810	810
query80	1238	458	395	395
query81	526	274	236	236
query82	620	154	120	120
query83	314	271	241	241
query84	
query85	957	504	406	406
query86	423	290	271	271
query87	3395	3429	3222	3222
query88	3659	2788	2761	2761
query89	433	391	331	331
query90	1898	183	182	182
query91	173	160	137	137
query92	64	60	55	55
query93	1657	1418	901	901
query94	726	337	322	322
query95	688	501	341	341
query96	1077	818	366	366
query97	2681	2684	2541	2541
query98	212	208	207	207
query99	1144	1189	1043	1043
Total cold run time: 252431 ms
Total hot run time: 169363 ms

@hello-stephen

Copy link
Copy Markdown
Contributor

BE UT Coverage Report

Increment line coverage 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 54.27% (21258/39173)
Line Coverage 37.91% (202876/535089)
Region Coverage 33.94% (159229/469124)
Branch Coverage 34.98% (69693/199219)

@hello-stephen

Copy link
Copy Markdown
Contributor

BE Regression && UT Coverage Report

Increment line coverage 100% (0/0) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 74.01% (28311/38252)
Line Coverage 58.01% (308616/531960)
Region Coverage 54.87% (258579/471283)
Branch Coverage 56.24% (112192/199482)

@github-actions github-actions Bot added the approved Indicates a PR has been approved by one committer. label Jun 12, 2026
@github-actions

Copy link
Copy Markdown
Contributor

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

@hello-stephen hello-stephen merged commit c6ba535 into apache:master Jun 13, 2026
31 of 32 checks passed
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants