Skip to content

[refine](column) enforce nullable nested types for array #63088

Open
Mryange wants to merge 3 commits into
apache:masterfrom
Mryange:enforce-nullable-nested-types-for-array-map-2
Open

[refine](column) enforce nullable nested types for array #63088
Mryange wants to merge 3 commits into
apache:masterfrom
Mryange:enforce-nullable-nested-types-for-array-map-2

Conversation

@Mryange
Copy link
Copy Markdown
Contributor

@Mryange Mryange commented May 8, 2026

What problem does this PR solve?

This PR makes the nested types inside Array explicitly nullable in BE type implementations, instead of relying on implicit caller-side conventions.

DataTypeArray now always stores nullable nested element type
DataTypeArraySerDe updated to follow the same invariant

Release note

None

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?

@Mryange
Copy link
Copy Markdown
Contributor Author

Mryange commented May 8, 2026

/review

Copy link
Copy Markdown
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.

Automated code review summary:

No blocking issues found in this PR.

Critical checkpoint conclusions:

  • Goal and tests: The PR makes array element types explicitly nullable in BE and aligns FE array type modeling with that invariant. The changed BE serde unit test covers one Arrow nested-array path, and FE tests were adjusted for array nullability matching. I did not run the test suite in this review runner.
  • Scope: The change is focused on array nested nullability and related FE/BE type conversion call sites.
  • Concurrency and lifecycle: No new concurrent state, locks, threads, or non-trivial lifecycle/static initialization concerns were introduced.
  • Configuration and compatibility: No new configuration items. Existing serialized FE metadata keeps the containsNull field for Gson compatibility while treating it as true at runtime. BE thrift/protobuf type descriptors continue to emit nullable array elements.
  • Parallel paths: I checked FE parser/type conversion/function signatures, BE DataTypeArray/DataTypeArraySerDe, and representative BE factory/consumer paths; the nullable nested type invariant is applied consistently in the modified paths.
  • Error handling and invariants: The new DORIS_CHECK assertions are used for the intended array nested-nullable invariant rather than silently accepting inconsistent columns/serdes.
  • Data correctness and persistence: No transaction/version/delete-bitmap/write path changes were introduced.
  • Memory/performance: The change adds no significant allocations beyond normal nullable type wrapping and does not alter hot data loops except invariant checks on deserialize entry points.
  • Observability: No additional observability appears necessary for this type-system refinement.
  • User focus: No additional user-provided review focus was present.

@Mryange
Copy link
Copy Markdown
Contributor Author

Mryange commented May 8, 2026

run buildall

@hello-stephen
Copy link
Copy Markdown
Contributor

TPC-H: Total hot run time: 29557 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit c4dcea3e423b83915507797bd32852a2434cdcc3, 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	17706	4063	3985	3985
q2	q3	10700	874	609	609
q4	4691	458	347	347
q5	7809	1321	1136	1136
q6	273	176	140	140
q7	920	940	742	742
q8	10102	1419	1266	1266
q9	6407	5379	5295	5295
q10	6308	2048	1837	1837
q11	478	264	255	255
q12	666	418	291	291
q13	18225	3421	2760	2760
q14	290	286	267	267
q15	q16	903	847	789	789
q17	1022	1128	700	700
q18	6516	5567	5580	5567
q19	1147	1203	1007	1007
q20	524	413	312	312
q21	4794	2411	1912	1912
q22	450	425	340	340
Total cold run time: 99931 ms
Total hot run time: 29557 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	4772	4699	4699	4699
q2	q3	4636	4796	4190	4190
q4	2103	2228	1401	1401
q5	4971	5060	5277	5060
q6	207	172	134	134
q7	2067	1783	1605	1605
q8	3390	3089	3140	3089
q9	8577	8476	8460	8460
q10	4449	4466	4225	4225
q11	602	454	430	430
q12	698	744	511	511
q13	3362	3588	2931	2931
q14	311	303	284	284
q15	q16	786	782	721	721
q17	1356	1338	1290	1290
q18	7950	7267	7109	7109
q19	1183	1173	1161	1161
q20	2212	2175	1915	1915
q21	6077	5337	4870	4870
q22	528	475	398	398
Total cold run time: 60237 ms
Total hot run time: 54483 ms

@hello-stephen
Copy link
Copy Markdown
Contributor

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

query5	4325	647	501	501
query6	338	216	202	202
query7	4226	571	304	304
query8	329	231	230	230
query9	8823	4061	4018	4018
query10	465	334	314	314
query11	5722	2413	2243	2243
query12	188	134	129	129
query13	1291	586	456	456
query14	6525	5352	5077	5077
query14_1	4371	4400	4415	4400
query15	221	206	183	183
query16	1014	480	454	454
query17	1337	805	644	644
query18	2754	501	368	368
query19	245	214	180	180
query20	142	132	133	132
query21	215	146	129	129
query22	13610	13585	13412	13412
query23	17202	16352	15959	15959
query23_1	16270	16122	16151	16122
query24	7383	1777	1363	1363
query24_1	1370	1371	1335	1335
query25	596	536	479	479
query26	1298	319	177	177
query27	2690	577	337	337
query28	4369	1972	1945	1945
query29	1062	655	558	558
query30	305	257	202	202
query31	1122	1071	968	968
query32	96	78	75	75
query33	529	368	306	306
query34	1171	1125	650	650
query35	766	790	680	680
query36	1351	1376	1200	1200
query37	163	100	86	86
query38	3199	3120	3048	3048
query39	931	930	891	891
query39_1	856	875	855	855
query40	248	157	144	144
query41	64	67	61	61
query42	112	110	116	110
query43	323	323	283	283
query44	
query45	210	201	191	191
query46	1061	1169	730	730
query47	2317	2300	2192	2192
query48	400	403	301	301
query49	638	543	425	425
query50	708	298	217	217
query51	4329	4235	4368	4235
query52	106	106	97	97
query53	266	276	208	208
query54	307	268	260	260
query55	93	91	84	84
query56	302	315	293	293
query57	1402	1382	1284	1284
query58	305	302	277	277
query59	1522	1556	1376	1376
query60	351	332	330	330
query61	162	162	154	154
query62	664	631	562	562
query63	242	205	207	205
query64	2383	821	677	677
query65	
query66	1708	506	421	421
query67	29910	29813	29698	29698
query68	
query69	443	340	300	300
query70	1012	998	1002	998
query71	312	273	270	270
query72	3042	2756	2423	2423
query73	802	754	441	441
query74	5066	4886	4703	4703
query75	2760	2678	2328	2328
query76	2309	1158	779	779
query77	423	427	337	337
query78	12954	12936	12394	12394
query79	1480	965	698	698
query80	789	572	497	497
query81	471	282	239	239
query82	1295	162	122	122
query83	352	275	248	248
query84	259	145	115	115
query85	904	521	461	461
query86	443	336	307	307
query87	3411	3333	3205	3205
query88	3499	2681	2678	2678
query89	452	394	349	349
query90	1807	180	182	180
query91	182	171	143	143
query92	80	78	78	78
query93	950	968	570	570
query94	601	348	311	311
query95	676	482	347	347
query96	1075	780	361	361
query97	2684	2684	2573	2573
query98	244	233	227	227
query99	1107	1120	990	990
Total cold run time: 253739 ms
Total hot run time: 170984 ms

@Mryange
Copy link
Copy Markdown
Contributor Author

Mryange commented May 9, 2026

run buildall

@hello-stephen
Copy link
Copy Markdown
Contributor

FE UT Coverage Report

Increment line coverage 73.68% (14/19) 🎉
Increment coverage report
Complete coverage report

@hello-stephen
Copy link
Copy Markdown
Contributor

TPC-H: Total hot run time: 29429 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit 890ea3271da77df701779eabde57aded00159067, 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	17843	3889	3892	3889
q2	q3	10706	893	617	617
q4	4664	456	346	346
q5	7505	1320	1135	1135
q6	216	167	138	138
q7	958	929	769	769
q8	10088	1363	1307	1307
q9	6552	5378	5287	5287
q10	6298	2100	1807	1807
q11	478	262	251	251
q12	680	414	286	286
q13	18143	3345	2729	2729
q14	301	285	262	262
q15	q16	893	882	788	788
q17	980	1133	759	759
q18	6606	5690	5649	5649
q19	1151	1267	965	965
q20	501	391	266	266
q21	4503	2272	1874	1874
q22	419	356	305	305
Total cold run time: 99485 ms
Total hot run time: 29429 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	4174	4066	4060	4060
q2	q3	4624	4773	4168	4168
q4	2094	2144	1406	1406
q5	4983	4899	5104	4899
q6	184	166	129	129
q7	2040	1999	1640	1640
q8	3404	3219	3170	3170
q9	8490	8497	8444	8444
q10	4541	4500	4247	4247
q11	605	429	416	416
q12	716	764	546	546
q13	3170	3614	2848	2848
q14	320	301	272	272
q15	q16	765	789	720	720
q17	1360	1308	1291	1291
q18	8264	7192	7118	7118
q19	1181	1148	1169	1148
q20	2241	2263	1973	1973
q21	6121	5409	4933	4933
q22	587	519	431	431
Total cold run time: 59864 ms
Total hot run time: 53859 ms

@hello-stephen
Copy link
Copy Markdown
Contributor

TPC-DS: Total hot run time: 171726 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 890ea3271da77df701779eabde57aded00159067, data reload: false

query5	4315	670	536	536
query6	359	243	216	216
query7	4344	582	301	301
query8	340	237	225	225
query9	8844	4056	4039	4039
query10	462	334	315	315
query11	6071	2399	2234	2234
query12	195	132	133	132
query13	1301	663	434	434
query14	6865	5700	5073	5073
query14_1	4374	4405	4359	4359
query15	215	205	182	182
query16	1031	451	423	423
query17	1386	760	646	646
query18	2724	496	368	368
query19	307	208	165	165
query20	141	137	131	131
query21	223	140	121	121
query22	13528	14024	14432	14024
query23	17363	16566	16183	16183
query23_1	16350	16234	16314	16234
query24	7712	1798	1404	1404
query24_1	1403	1400	1321	1321
query25	547	475	417	417
query26	1302	316	164	164
query27	2691	597	341	341
query28	4303	1967	1950	1950
query29	1002	617	512	512
query30	305	240	195	195
query31	1119	1067	934	934
query32	89	73	68	68
query33	538	341	289	289
query34	1139	1197	617	617
query35	782	778	673	673
query36	1344	1347	1152	1152
query37	147	96	84	84
query38	3162	3158	3090	3090
query39	920	908	885	885
query39_1	887	880	879	879
query40	232	155	133	133
query41	61	59	61	59
query42	109	110	108	108
query43	321	334	299	299
query44	
query45	207	197	192	192
query46	1033	1168	706	706
query47	2326	2301	2202	2202
query48	384	414	287	287
query49	632	537	413	413
query50	722	281	217	217
query51	4328	4274	4245	4245
query52	111	111	93	93
query53	251	274	216	216
query54	320	294	262	262
query55	93	92	84	84
query56	309	303	304	303
query57	1409	1377	1309	1309
query58	296	270	259	259
query59	1523	1588	1409	1409
query60	351	334	327	327
query61	162	157	155	155
query62	675	624	563	563
query63	250	205	204	204
query64	2378	843	684	684
query65	
query66	1695	505	409	409
query67	29379	29980	29885	29885
query68	
query69	468	338	302	302
query70	1012	971	993	971
query71	311	294	271	271
query72	2926	2739	2448	2448
query73	879	806	422	422
query74	5090	4872	4702	4702
query75	2820	2652	2332	2332
query76	2281	1133	750	750
query77	423	429	353	353
query78	13013	12928	12306	12306
query79	1487	985	759	759
query80	1268	567	481	481
query81	498	282	240	240
query82	1066	161	123	123
query83	377	300	252	252
query84	257	141	115	115
query85	921	518	435	435
query86	433	353	310	310
query87	3407	3363	3242	3242
query88	3555	2698	2668	2668
query89	434	376	334	334
query90	2012	176	171	171
query91	178	172	137	137
query92	81	77	74	74
query93	975	957	563	563
query94	721	340	266	266
query95	676	383	461	383
query96	1010	748	326	326
query97	2698	2709	2571	2571
query98	242	251	230	230
query99	1094	1138	993	993
Total cold run time: 255151 ms
Total hot run time: 171726 ms

@Mryange
Copy link
Copy Markdown
Contributor Author

Mryange commented May 9, 2026

run buildall

@hello-stephen
Copy link
Copy Markdown
Contributor

FE UT Coverage Report

Increment line coverage 73.68% (14/19) 🎉
Increment coverage report
Complete coverage report

@hello-stephen
Copy link
Copy Markdown
Contributor

TPC-H: Total hot run time: 29622 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit 8c9062c04395eb48130d057e9d977748c81239f1, 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	17639	4169	3880	3880
q2	q3	10717	886	659	659
q4	4663	454	355	355
q5	7467	1334	1129	1129
q6	184	167	138	138
q7	928	951	755	755
q8	9318	1442	1332	1332
q9	5661	5454	5369	5369
q10	6273	2097	1808	1808
q11	464	279	255	255
q12	638	416	293	293
q13	18077	3370	2721	2721
q14	290	283	262	262
q15	q16	911	876	793	793
q17	1009	1064	794	794
q18	6548	5725	5573	5573
q19	1218	1252	1069	1069
q20	511	403	263	263
q21	4665	2275	1870	1870
q22	437	353	304	304
Total cold run time: 97618 ms
Total hot run time: 29622 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	4186	4098	4099	4098
q2	q3	4640	4784	4163	4163
q4	2153	2223	1419	1419
q5	4990	5005	5244	5005
q6	184	165	137	137
q7	2030	1931	1824	1824
q8	3639	3253	3287	3253
q9	8714	8548	8614	8548
q10	4509	4527	4244	4244
q11	621	422	400	400
q12	727	761	534	534
q13	3409	3587	3026	3026
q14	308	316	275	275
q15	q16	761	818	695	695
q17	1350	1354	1279	1279
q18	8089	7099	7065	7065
q19	1152	1156	1139	1139
q20	2233	2220	1930	1930
q21	6178	5453	4918	4918
q22	575	509	434	434
Total cold run time: 60448 ms
Total hot run time: 54386 ms

@hello-stephen
Copy link
Copy Markdown
Contributor

TPC-DS: Total hot run time: 172004 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 8c9062c04395eb48130d057e9d977748c81239f1, data reload: false

query5	4330	679	525	525
query6	322	244	208	208
query7	4294	575	317	317
query8	335	226	211	211
query9	8848	4109	4073	4073
query10	471	345	298	298
query11	5848	2575	2250	2250
query12	185	138	131	131
query13	1292	634	438	438
query14	6292	5405	5077	5077
query14_1	4315	4307	4348	4307
query15	215	202	181	181
query16	1000	477	449	449
query17	1111	777	626	626
query18	2736	516	406	406
query19	224	215	177	177
query20	144	141	135	135
query21	218	139	120	120
query22	13677	13965	14632	13965
query23	17419	16560	16253	16253
query23_1	16322	16391	16369	16369
query24	7627	1784	1358	1358
query24_1	1385	1370	1375	1370
query25	584	527	461	461
query26	1342	318	181	181
query27	2710	598	335	335
query28	4405	1977	1940	1940
query29	1035	648	553	553
query30	311	244	203	203
query31	1132	1112	955	955
query32	90	78	73	73
query33	544	364	303	303
query34	1169	1217	631	631
query35	785	779	673	673
query36	1341	1341	1211	1211
query37	156	101	95	95
query38	3234	3164	3080	3080
query39	959	930	889	889
query39_1	870	887	876	876
query40	249	214	138	138
query41	62	60	58	58
query42	111	107	107	107
query43	328	339	296	296
query44	
query45	220	200	190	190
query46	1060	1223	703	703
query47	2292	2257	2248	2248
query48	392	391	287	287
query49	636	557	432	432
query50	710	305	216	216
query51	4440	4305	4322	4305
query52	117	106	95	95
query53	255	278	220	220
query54	322	277	258	258
query55	95	95	85	85
query56	307	320	300	300
query57	1403	1374	1281	1281
query58	302	275	265	265
query59	1590	1659	1439	1439
query60	359	343	326	326
query61	159	148	156	148
query62	665	619	568	568
query63	246	200	205	200
query64	2379	828	741	741
query65	
query66	1678	521	386	386
query67	30537	30426	29643	29643
query68	
query69	457	347	318	318
query70	981	999	987	987
query71	314	289	276	276
query72	3078	2723	2444	2444
query73	858	768	420	420
query74	5113	4963	4797	4797
query75	2834	2717	2346	2346
query76	2315	1143	774	774
query77	433	445	359	359
query78	13355	13352	12566	12566
query79	1532	1006	730	730
query80	1265	597	494	494
query81	525	299	260	260
query82	1337	164	127	127
query83	325	288	252	252
query84	261	141	114	114
query85	918	514	460	460
query86	446	331	336	331
query87	3450	3380	3219	3219
query88	3602	2679	2609	2609
query89	442	380	343	343
query90	1796	184	181	181
query91	178	174	145	145
query92	85	79	73	73
query93	980	956	585	585
query94	643	362	311	311
query95	672	465	348	348
query96	1051	768	308	308
query97	2710	2758	2552	2552
query98	256	241	238	238
query99	1095	1115	978	978
Total cold run time: 256140 ms
Total hot run time: 172004 ms

@Mryange
Copy link
Copy Markdown
Contributor Author

Mryange commented May 9, 2026

run buildall

@hello-stephen
Copy link
Copy Markdown
Contributor

TPC-H: Total hot run time: 29687 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit 1c1bdc1ee0800248844eba0f39a3f9351e7317e2, 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	17644	3874	3874	3874
q2	q3	10707	861	597	597
q4	4661	459	345	345
q5	7468	1327	1139	1139
q6	181	167	140	140
q7	910	934	763	763
q8	9308	1394	1272	1272
q9	5625	5383	5372	5372
q10	6269	2044	1803	1803
q11	479	267	250	250
q12	633	433	295	295
q13	18086	3338	2745	2745
q14	291	287	260	260
q15	q16	910	859	794	794
q17	993	984	738	738
q18	6431	5705	5584	5584
q19	1302	1226	1132	1132
q20	504	391	260	260
q21	4887	2461	1985	1985
q22	484	375	339	339
Total cold run time: 97773 ms
Total hot run time: 29687 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	4826	4687	4884	4687
q2	q3	4629	4793	4174	4174
q4	2130	2191	1420	1420
q5	4996	5067	5265	5067
q6	197	170	147	147
q7	2095	1803	1632	1632
q8	3391	3176	3129	3129
q9	8726	8470	8454	8454
q10	4469	4469	4234	4234
q11	585	435	403	403
q12	699	753	518	518
q13	3247	3537	2949	2949
q14	313	309	281	281
q15	q16	928	784	674	674
q17	1340	1294	1238	1238
q18	7915	7111	7129	7111
q19	1156	1142	1190	1142
q20	2229	2209	1937	1937
q21	6210	5374	4886	4886
q22	536	496	424	424
Total cold run time: 60617 ms
Total hot run time: 54507 ms

@hello-stephen
Copy link
Copy Markdown
Contributor

TPC-DS: Total hot run time: 171519 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 1c1bdc1ee0800248844eba0f39a3f9351e7317e2, data reload: false

query5	4299	648	511	511
query6	328	219	206	206
query7	4245	605	287	287
query8	321	228	220	220
query9	8852	4000	4048	4000
query10	466	350	309	309
query11	5792	2364	2141	2141
query12	195	133	127	127
query13	1285	637	446	446
query14	6061	5358	5073	5073
query14_1	4365	4379	4382	4379
query15	233	212	185	185
query16	1036	491	434	434
query17	1170	787	635	635
query18	2778	509	363	363
query19	241	216	178	178
query20	143	140	131	131
query21	218	144	119	119
query22	13597	13902	14564	13902
query23	17187	16629	16275	16275
query23_1	16256	16348	16234	16234
query24	7429	1775	1348	1348
query24_1	1367	1365	1405	1365
query25	575	470	419	419
query26	1322	313	164	164
query27	2674	613	330	330
query28	4350	1946	1930	1930
query29	974	625	506	506
query30	299	242	198	198
query31	1118	1063	934	934
query32	85	72	74	72
query33	522	330	276	276
query34	1157	1104	653	653
query35	778	770	688	688
query36	1323	1313	1148	1148
query37	149	103	85	85
query38	3222	3120	3093	3093
query39	925	918	892	892
query39_1	893	877	876	876
query40	230	153	134	134
query41	62	61	58	58
query42	109	105	106	105
query43	312	323	278	278
query44	
query45	208	198	189	189
query46	1070	1164	734	734
query47	2305	2285	2221	2221
query48	414	440	283	283
query49	679	518	446	446
query50	692	281	215	215
query51	4304	4227	4187	4187
query52	108	104	93	93
query53	262	287	204	204
query54	325	274	263	263
query55	95	88	85	85
query56	299	312	295	295
query57	1408	1386	1301	1301
query58	295	274	282	274
query59	1542	1624	1464	1464
query60	342	343	326	326
query61	161	158	162	158
query62	662	622	567	567
query63	241	204	208	204
query64	2387	825	663	663
query65	
query66	1697	510	396	396
query67	30173	29953	29833	29833
query68	
query69	460	345	301	301
query70	965	944	964	944
query71	314	278	273	273
query72	2978	2743	2502	2502
query73	848	754	419	419
query74	5048	4939	4724	4724
query75	2800	2648	2349	2349
query76	2304	1142	772	772
query77	430	429	352	352
query78	12849	12958	12362	12362
query79	1560	956	722	722
query80	957	582	501	501
query81	498	288	236	236
query82	1301	158	117	117
query83	351	272	253	253
query84	258	141	115	115
query85	912	521	433	433
query86	428	333	315	315
query87	3410	3350	3210	3210
query88	3588	2677	2653	2653
query89	435	381	333	333
query90	1817	178	177	177
query91	180	169	141	141
query92	80	81	73	73
query93	943	953	578	578
query94	610	349	304	304
query95	677	461	350	350
query96	1081	750	321	321
query97	2721	2704	2586	2586
query98	237	230	229	229
query99	1089	1107	900	900
Total cold run time: 253809 ms
Total hot run time: 171519 ms

@Mryange
Copy link
Copy Markdown
Contributor Author

Mryange commented May 9, 2026

run beut

@hello-stephen
Copy link
Copy Markdown
Contributor

FE UT Coverage Report

Increment line coverage 73.68% (14/19) 🎉
Increment coverage report
Complete coverage report

@Mryange Mryange force-pushed the enforce-nullable-nested-types-for-array-map-2 branch from 1c1bdc1 to 88ca38a Compare May 9, 2026 14:18
@Mryange
Copy link
Copy Markdown
Contributor Author

Mryange commented May 9, 2026

run buildall

@hello-stephen
Copy link
Copy Markdown
Contributor

TPC-H: Total hot run time: 29725 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit 88ca38aecbd457fb7055e1629403830c970af473, 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	17596	3984	3940	3940
q2	q3	10720	869	600	600
q4	4667	452	349	349
q5	7475	1342	1143	1143
q6	186	170	141	141
q7	906	963	738	738
q8	9295	1385	1287	1287
q9	5561	5377	5331	5331
q10	6261	2097	1811	1811
q11	471	265	258	258
q12	629	415	292	292
q13	18071	3266	2757	2757
q14	285	280	259	259
q15	q16	861	872	797	797
q17	988	1006	741	741
q18	6527	5796	5592	5592
q19	1150	1187	1094	1094
q20	526	406	267	267
q21	5028	2454	1995	1995
q22	488	423	333	333
Total cold run time: 97691 ms
Total hot run time: 29725 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	4773	4780	4892	4780
q2	q3	4710	4802	4217	4217
q4	2124	2202	1397	1397
q5	5021	4948	5196	4948
q6	205	177	141	141
q7	2096	1831	1632	1632
q8	3414	3096	3143	3096
q9	8421	8466	8537	8466
q10	4577	4545	4249	4249
q11	614	427	387	387
q12	691	744	525	525
q13	3267	3567	2927	2927
q14	309	321	291	291
q15	q16	916	772	728	728
q17	1340	1341	1308	1308
q18	8107	7176	7061	7061
q19	1206	1159	1143	1143
q20	2229	2216	1950	1950
q21	6116	5396	4892	4892
q22	544	515	413	413
Total cold run time: 60680 ms
Total hot run time: 54551 ms

@hello-stephen
Copy link
Copy Markdown
Contributor

TPC-DS: Total hot run time: 170615 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 88ca38aecbd457fb7055e1629403830c970af473, data reload: false

query5	4341	686	520	520
query6	343	245	191	191
query7	4215	588	299	299
query8	327	234	211	211
query9	8828	3997	4007	3997
query10	475	353	306	306
query11	5996	2400	2197	2197
query12	186	142	135	135
query13	1286	575	434	434
query14	6878	5373	5079	5079
query14_1	4423	4385	4388	4385
query15	218	206	187	187
query16	1011	462	437	437
query17	1399	764	654	654
query18	2741	485	361	361
query19	283	215	169	169
query20	141	139	134	134
query21	218	139	122	122
query22	13651	13511	13256	13256
query23	17066	16364	16040	16040
query23_1	16121	16115	16130	16115
query24	7432	1744	1363	1363
query24_1	1345	1371	1327	1327
query25	617	530	476	476
query26	1075	320	181	181
query27	2725	598	343	343
query28	4441	1968	1958	1958
query29	1012	674	549	549
query30	313	248	204	204
query31	1145	1065	943	943
query32	91	77	75	75
query33	546	373	347	347
query34	1146	1168	642	642
query35	793	788	665	665
query36	1333	1344	1117	1117
query37	156	101	92	92
query38	3207	3119	3031	3031
query39	920	924	881	881
query39_1	873	874	893	874
query40	232	165	135	135
query41	78	61	65	61
query42	110	110	107	107
query43	335	325	284	284
query44	
query45	216	201	190	190
query46	1091	1180	753	753
query47	2324	2296	2170	2170
query48	368	432	293	293
query49	634	524	435	435
query50	719	296	223	223
query51	4282	4290	4177	4177
query52	103	105	93	93
query53	254	283	206	206
query54	315	263	248	248
query55	93	88	83	83
query56	287	310	301	301
query57	1395	1364	1333	1333
query58	289	256	272	256
query59	1565	1629	1435	1435
query60	342	331	319	319
query61	157	153	154	153
query62	674	618	562	562
query63	247	199	208	199
query64	2328	841	669	669
query65	
query66	1674	532	388	388
query67	30125	29977	29894	29894
query68	
query69	463	328	301	301
query70	1002	981	963	963
query71	313	286	274	274
query72	2906	2749	2424	2424
query73	852	786	426	426
query74	5101	4899	4728	4728
query75	2784	2660	2351	2351
query76	2297	1159	770	770
query77	409	422	352	352
query78	12819	12986	12440	12440
query79	1476	1027	720	720
query80	1351	589	510	510
query81	521	282	237	237
query82	1118	166	123	123
query83	318	271	243	243
query84	270	141	116	116
query85	910	499	450	450
query86	466	318	338	318
query87	3435	3359	3232	3232
query88	3583	2646	2683	2646
query89	458	381	338	338
query90	1884	180	177	177
query91	175	167	144	144
query92	80	74	76	74
query93	1045	946	557	557
query94	700	320	294	294
query95	674	378	341	341
query96	1041	818	379	379
query97	2706	2714	2578	2578
query98	255	246	242	242
query99	1151	1106	950	950
Total cold run time: 255194 ms
Total hot run time: 170615 ms

@hello-stephen
Copy link
Copy Markdown
Contributor

FE UT Coverage Report

Increment line coverage 73.68% (14/19) 🎉
Increment coverage report
Complete coverage report

@Mryange
Copy link
Copy Markdown
Contributor Author

Mryange commented May 9, 2026

run beut

@Mryange
Copy link
Copy Markdown
Contributor Author

Mryange commented May 10, 2026

run buildall

@hello-stephen
Copy link
Copy Markdown
Contributor

TPC-H: Total hot run time: 29817 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit 4fff6ef2c140666c2ca94caf72712c64a231f227, 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	17748	3870	3873	3870
q2	q3	10690	902	657	657
q4	4688	467	342	342
q5	7622	1341	1149	1149
q6	212	173	142	142
q7	945	971	748	748
q8	10200	1407	1296	1296
q9	6553	5402	5365	5365
q10	6340	2097	1826	1826
q11	479	261	247	247
q12	690	424	297	297
q13	18145	3335	2792	2792
q14	291	281	268	268
q15	q16	909	893	788	788
q17	953	1051	735	735
q18	6650	5782	5592	5592
q19	1183	1177	1115	1115
q20	493	423	390	390
q21	4659	2422	1880	1880
q22	473	374	318	318
Total cold run time: 99923 ms
Total hot run time: 29817 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	4582	4563	4619	4563
q2	q3	4704	4813	4197	4197
q4	2152	2192	1395	1395
q5	5015	5046	5352	5046
q6	206	170	136	136
q7	2056	1781	1618	1618
q8	3401	3095	3171	3095
q9	8553	8506	8426	8426
q10	4464	4521	4254	4254
q11	580	413	417	413
q12	727	785	540	540
q13	3301	3543	2921	2921
q14	303	308	267	267
q15	q16	763	793	693	693
q17	1354	1327	1273	1273
q18	7998	7060	7142	7060
q19	1150	1146	1174	1146
q20	2223	2229	1960	1960
q21	6130	5430	4907	4907
q22	524	472	391	391
Total cold run time: 60186 ms
Total hot run time: 54301 ms

@hello-stephen
Copy link
Copy Markdown
Contributor

TPC-DS: Total hot run time: 170923 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 4fff6ef2c140666c2ca94caf72712c64a231f227, data reload: false

query5	4335	669	523	523
query6	342	231	204	204
query7	4223	574	296	296
query8	318	234	226	226
query9	8871	4018	3991	3991
query10	460	354	316	316
query11	5792	2418	2232	2232
query12	194	133	128	128
query13	1301	620	436	436
query14	6766	5410	5081	5081
query14_1	4375	4396	4372	4372
query15	210	204	185	185
query16	1010	437	469	437
query17	1391	773	628	628
query18	2736	489	368	368
query19	299	204	184	184
query20	142	135	135	135
query21	220	139	128	128
query22	13634	13687	13401	13401
query23	17220	16382	16176	16176
query23_1	16359	16196	16143	16143
query24	7425	1775	1360	1360
query24_1	1365	1355	1360	1355
query25	588	525	462	462
query26	1296	326	175	175
query27	2633	599	342	342
query28	4335	2009	1979	1979
query29	1002	678	548	548
query30	319	247	195	195
query31	1122	1065	949	949
query32	94	77	77	77
query33	550	357	304	304
query34	1164	1128	624	624
query35	777	792	685	685
query36	1358	1341	1183	1183
query37	156	105	93	93
query38	3217	3185	3074	3074
query39	927	921	909	909
query39_1	880	883	898	883
query40	235	157	138	138
query41	67	64	60	60
query42	112	108	111	108
query43	323	327	288	288
query44	
query45	208	197	189	189
query46	1091	1208	718	718
query47	2369	2328	2235	2235
query48	395	413	295	295
query49	629	530	430	430
query50	698	284	217	217
query51	4301	4317	4257	4257
query52	106	105	96	96
query53	256	280	208	208
query54	314	263	251	251
query55	93	96	86	86
query56	301	297	289	289
query57	1430	1392	1323	1323
query58	304	274	265	265
query59	1546	1668	1399	1399
query60	346	353	322	322
query61	163	156	153	153
query62	671	626	565	565
query63	238	198	205	198
query64	2325	842	686	686
query65	
query66	1679	522	392	392
query67	30323	30010	29952	29952
query68	
query69	477	340	303	303
query70	1014	934	966	934
query71	326	278	270	270
query72	3107	2358	2490	2358
query73	816	752	426	426
query74	5066	4866	4728	4728
query75	2797	2660	2329	2329
query76	2313	1138	754	754
query77	406	420	351	351
query78	12897	13029	12342	12342
query79	1489	965	746	746
query80	686	595	486	486
query81	463	281	246	246
query82	1318	168	128	128
query83	348	278	257	257
query84	258	140	108	108
query85	849	533	465	465
query86	403	353	327	327
query87	3386	3380	3272	3272
query88	3508	2678	2637	2637
query89	453	379	336	336
query90	1937	185	179	179
query91	182	163	142	142
query92	80	88	74	74
query93	962	961	573	573
query94	549	338	308	308
query95	649	474	361	361
query96	1009	765	332	332
query97	2701	2672	2598	2598
query98	238	230	228	228
query99	1161	1113	995	995
Total cold run time: 254468 ms
Total hot run time: 170923 ms

@Mryange
Copy link
Copy Markdown
Contributor Author

Mryange commented May 10, 2026

run buildall

@hello-stephen
Copy link
Copy Markdown
Contributor

TPC-H: Total hot run time: 29652 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit e0f92bca1c7d140081c4a798ecc131d3893170ea, 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	17600	3954	3962	3954
q2	q3	10712	882	598	598
q4	4663	464	340	340
q5	7445	1362	1143	1143
q6	202	169	141	141
q7	914	932	759	759
q8	9400	1416	1278	1278
q9	6084	5421	5413	5413
q10	6313	2104	1827	1827
q11	481	266	267	266
q12	693	422	292	292
q13	18232	3247	2731	2731
q14	304	281	269	269
q15	q16	894	874	792	792
q17	1074	1038	685	685
q18	6524	5706	5631	5631
q19	1685	1259	1028	1028
q20	518	391	270	270
q21	5037	2363	1910	1910
q22	480	386	325	325
Total cold run time: 99255 ms
Total hot run time: 29652 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	4805	4738	4631	4631
q2	q3	4635	4773	4233	4233
q4	2146	2163	1410	1410
q5	5012	5022	5273	5022
q6	203	170	134	134
q7	2054	1796	1628	1628
q8	3375	3125	3162	3125
q9	8426	8566	8450	8450
q10	4469	4495	4271	4271
q11	646	428	391	391
q12	687	744	513	513
q13	3267	3574	2913	2913
q14	303	300	278	278
q15	q16	782	797	708	708
q17	1348	1296	1277	1277
q18	7974	7122	7087	7087
q19	1166	1175	1181	1175
q20	2223	2248	1953	1953
q21	6182	5477	5040	5040
q22	536	473	398	398
Total cold run time: 60239 ms
Total hot run time: 54637 ms

@hello-stephen
Copy link
Copy Markdown
Contributor

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

query5	4308	655	513	513
query6	333	234	206	206
query7	4212	584	305	305
query8	331	238	221	221
query9	8837	4042	4007	4007
query10	440	353	306	306
query11	5786	2379	2237	2237
query12	184	138	131	131
query13	1291	588	444	444
query14	6608	5409	5103	5103
query14_1	4410	4427	4412	4412
query15	220	211	193	193
query16	1023	465	488	465
query17	1141	758	609	609
query18	2748	484	355	355
query19	218	200	166	166
query20	140	137	136	136
query21	212	140	117	117
query22	13628	13622	13412	13412
query23	17289	16342	16003	16003
query23_1	16052	16134	16266	16134
query24	7374	1769	1418	1418
query24_1	1371	1392	1387	1387
query25	572	496	443	443
query26	1172	314	171	171
query27	2696	565	344	344
query28	4388	1990	2009	1990
query29	1007	657	559	559
query30	296	243	201	201
query31	1117	1071	946	946
query32	87	77	79	77
query33	554	357	299	299
query34	1169	1120	651	651
query35	747	800	678	678
query36	1366	1326	1225	1225
query37	154	105	93	93
query38	3225	3175	3059	3059
query39	924	936	888	888
query39_1	900	866	866	866
query40	230	158	139	139
query41	66	62	61	61
query42	110	110	115	110
query43	317	332	286	286
query44	
query45	212	202	199	199
query46	1091	1188	734	734
query47	2281	2358	2164	2164
query48	413	419	305	305
query49	644	543	425	425
query50	719	290	220	220
query51	4351	4247	4220	4220
query52	107	105	94	94
query53	250	287	206	206
query54	317	276	268	268
query55	92	89	85	85
query56	305	317	317	317
query57	1406	1389	1310	1310
query58	297	278	277	277
query59	1543	1617	1450	1450
query60	353	352	324	324
query61	166	157	158	157
query62	669	626	596	596
query63	245	210	200	200
query64	2178	852	680	680
query65	
query66	1654	531	399	399
query67	30135	30002	29774	29774
query68	
query69	450	343	301	301
query70	1018	973	939	939
query71	311	269	273	269
query72	2999	2735	2533	2533
query73	862	802	437	437
query74	5057	4903	4726	4726
query75	2814	2686	2362	2362
query76	2315	1151	776	776
query77	425	437	367	367
query78	12862	12977	12248	12248
query79	1511	1014	742	742
query80	710	616	539	539
query81	456	282	247	247
query82	1301	160	128	128
query83	366	288	256	256
query84	264	148	120	120
query85	943	612	545	545
query86	399	345	357	345
query87	3425	3326	3228	3228
query88	3526	2666	2730	2666
query89	447	385	339	339
query90	1883	176	183	176
query91	182	176	143	143
query92	84	76	71	71
query93	963	956	580	580
query94	547	337	305	305
query95	662	474	360	360
query96	1005	768	323	323
query97	2692	2693	2570	2570
query98	243	236	237	236
query99	1126	1094	975	975
Total cold run time: 253537 ms
Total hot run time: 172120 ms

@hello-stephen
Copy link
Copy Markdown
Contributor

FE UT Coverage Report

Increment line coverage 73.68% (14/19) 🎉
Increment coverage report
Complete coverage report

@Mryange
Copy link
Copy Markdown
Contributor Author

Mryange commented May 10, 2026

run p0

@hello-stephen
Copy link
Copy Markdown
Contributor

BE Regression && UT Coverage Report

Increment line coverage 95.83% (23/24) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 73.71% (27831/37756)
Line Coverage 57.60% (301106/522753)
Region Coverage 54.78% (250770/457766)
Branch Coverage 56.32% (108426/192516)

@hello-stephen
Copy link
Copy Markdown
Contributor

BE Regression && UT Coverage Report

Increment line coverage 95.83% (23/24) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 73.70% (27828/37756)
Line Coverage 57.57% (300975/522753)
Region Coverage 54.75% (250625/457766)
Branch Coverage 56.30% (108380/192516)

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.

2 participants