Skip to content

Conversation

@starocean999
Copy link
Contributor

@starocean999 starocean999 commented Nov 28, 2025

In NereidsLoadScanProvider, we call StatementScopeIdGenerator.getExprIdGenerator() to generate ExprId for column mapping exprs. But the StatementContext is not set in ConnectContext at this point. So it will use ExprIdGenerator from default StatementContext. Later when createLoadPlan for stream load, we create a new StatementContext and use a new ExprIdGenerator then. We should only use 1 ExprIdGenerator during stream load process. This pr fix it.

What problem does this PR solve?

Issue Number: close #xxx

Related PR: (#49116)

Problem Summary:

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

@Thearas
Copy link
Contributor

Thearas commented Nov 28, 2025

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

Please clearly describe your PR:

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

@starocean999
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17602	5175	4917	4917
q2	2038	309	211	211
q3	10297	1312	724	724
q4	10218	854	368	368
q5	7530	2423	2238	2238
q6	185	174	137	137
q7	947	783	645	645
q8	9357	1382	946	946
q9	7005	5294	5322	5294
q10	6815	2248	1823	1823
q11	542	311	288	288
q12	338	369	230	230
q13	17759	3600	3016	3016
q14	243	252	215	215
q15	583	517	511	511
q16	892	880	825	825
q17	582	729	519	519
q18	7473	7162	7118	7118
q19	1235	951	569	569
q20	348	336	233	233
q21	3004	3058	2487	2487
q22	1034	1009	951	951
Total cold run time: 106027 ms
Total hot run time: 34265 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4959	4940	4932	4932
q2	329	396	322	322
q3	2117	2674	2277	2277
q4	1349	1775	1318	1318
q5	4187	4304	4652	4304
q6	220	176	135	135
q7	2068	2038	1828	1828
q8	2678	2545	2516	2516
q9	7493	7439	7465	7439
q10	3092	3249	3022	3022
q11	609	526	503	503
q12	652	726	608	608
q13	3373	3981	3261	3261
q14	281	342	301	301
q15	548	536	512	512
q16	907	926	905	905
q17	1146	1407	1448	1407
q18	7994	7743	7600	7600
q19	850	790	846	790
q20	2010	2081	1920	1920
q21	4731	4506	4318	4318
q22	1069	1020	988	988
Total cold run time: 52662 ms
Total hot run time: 51206 ms

@doris-robot
Copy link

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

query1	1078	411	393	393
query2	6559	1602	1594	1594
query3	6757	232	222	222
query4	25191	23349	23061	23061
query5	5316	642	477	477
query6	346	240	235	235
query7	4660	532	311	311
query8	321	280	253	253
query9	8729	2604	2584	2584
query10	587	365	320	320
query11	15368	15195	14999	14999
query12	239	119	113	113
query13	1696	576	457	457
query14	9953	5600	5667	5600
query15	216	203	201	201
query16	7667	709	516	516
query17	1361	819	647	647
query18	2050	438	352	352
query19	212	216	196	196
query20	136	125	125	125
query21	219	136	115	115
query22	4006	3906	3748	3748
query23	32959	31943	31829	31829
query24	8387	2485	2467	2467
query25	627	555	485	485
query26	1253	290	166	166
query27	2724	503	365	365
query28	4346	2162	2138	2138
query29	843	657	540	540
query30	320	246	222	222
query31	841	716	645	645
query32	89	72	78	72
query33	611	402	374	374
query34	838	877	548	548
query35	792	852	754	754
query36	937	963	855	855
query37	122	113	108	108
query38	3871	3824	3754	3754
query39	1503	1397	1425	1397
query40	228	134	121	121
query41	66	63	63	63
query42	127	114	109	109
query43	443	445	419	419
query44	1323	760	763	760
query45	192	195	182	182
query46	884	997	647	647
query47	1683	1704	1630	1630
query48	411	428	330	330
query49	777	524	430	430
query50	682	689	407	407
query51	3876	3924	3977	3924
query52	117	116	107	107
query53	242	268	204	204
query54	326	299	273	273
query55	95	94	93	93
query56	355	335	340	335
query57	1131	1168	1104	1104
query58	284	266	270	266
query59	2290	2403	2274	2274
query60	375	358	332	332
query61	164	157	161	157
query62	775	722	663	663
query63	234	201	196	196
query64	4618	1214	905	905
query65	4068	3985	4004	3985
query66	1069	442	334	334
query67	15142	15097	14764	14764
query68	8383	981	624	624
query69	529	346	310	310
query70	1130	1038	1028	1028
query71	560	333	315	315
query72	5790	4952	4857	4857
query73	708	579	347	347
query74	8565	8923	8549	8549
query75	3747	3033	2579	2579
query76	3821	1128	693	693
query77	847	414	321	321
query78	9354	9548	8786	8786
query79	2281	834	589	589
query80	638	580	505	505
query81	515	276	245	245
query82	462	140	112	112
query83	268	262	248	248
query84	259	119	98	98
query85	891	491	459	459
query86	384	286	296	286
query87	4024	4034	3993	3993
query88	4126	2317	2311	2311
query89	395	329	300	300
query90	1980	226	224	224
query91	171	179	144	144
query92	83	71	66	66
query93	1950	989	649	649
query94	713	449	351	351
query95	499	412	417	412
query96	510	554	289	289
query97	2631	2696	2576	2576
query98	250	229	214	214
query99	1691	1439	1262	1262
Total cold run time: 273862 ms
Total hot run time: 181994 ms

@doris-robot
Copy link

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

query1	0.05	0.05	0.05
query2	0.10	0.05	0.05
query3	0.26	0.09	0.09
query4	1.60	0.12	0.11
query5	0.27	0.26	0.26
query6	1.14	0.65	0.64
query7	0.03	0.02	0.02
query8	0.05	0.04	0.04
query9	0.57	0.52	0.51
query10	0.55	0.57	0.55
query11	0.14	0.11	0.11
query12	0.14	0.12	0.12
query13	0.63	0.60	0.62
query14	0.99	0.99	0.98
query15	0.82	0.80	0.80
query16	0.39	0.38	0.40
query17	1.01	1.08	1.04
query18	0.24	0.21	0.21
query19	1.90	1.81	1.85
query20	0.01	0.01	0.01
query21	15.47	0.28	0.14
query22	4.60	0.05	0.05
query23	16.08	0.27	0.10
query24	1.51	0.53	0.62
query25	0.06	0.08	0.06
query26	0.14	0.13	0.13
query27	0.06	0.05	0.05
query28	4.88	1.22	1.02
query29	12.61	3.97	3.25
query30	0.27	0.14	0.12
query31	2.81	0.58	0.40
query32	3.23	0.55	0.44
query33	3.01	3.18	3.06
query34	16.64	5.15	4.58
query35	4.56	4.58	4.57
query36	0.68	0.50	0.49
query37	0.10	0.07	0.07
query38	0.08	0.04	0.04
query39	0.04	0.03	0.03
query40	0.17	0.14	0.13
query41	0.08	0.03	0.03
query42	0.05	0.03	0.03
query43	0.04	0.03	0.03
Total cold run time: 98.06 s
Total hot run time: 27.73 s

@hello-stephen
Copy link
Contributor

FE UT Coverage Report

Increment line coverage 0.00% (0/6) 🎉
Increment coverage report
Complete coverage report

@starocean999
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17640	5067	5035	5035
q2	2082	329	205	205
q3	10218	1338	719	719
q4	10230	861	361	361
q5	7521	2417	2328	2328
q6	189	181	136	136
q7	938	796	640	640
q8	9365	1309	1084	1084
q9	7008	5273	5249	5249
q10	6861	2241	1831	1831
q11	526	307	279	279
q12	346	380	227	227
q13	17787	3653	3040	3040
q14	235	236	215	215
q15	594	526	511	511
q16	899	866	815	815
q17	603	744	517	517
q18	7621	7216	6938	6938
q19	1094	951	564	564
q20	345	338	222	222
q21	3568	3633	2422	2422
q22	978	977	955	955
Total cold run time: 106648 ms
Total hot run time: 34293 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4962	4959	4975	4959
q2	314	398	326	326
q3	2187	2688	2290	2290
q4	1331	1757	1312	1312
q5	4217	4405	4682	4405
q6	219	185	131	131
q7	2092	2011	1839	1839
q8	2638	2524	2491	2491
q9	7422	7467	7579	7467
q10	3030	3277	2872	2872
q11	625	525	504	504
q12	718	749	612	612
q13	3590	4114	3298	3298
q14	306	309	282	282
q15	546	507	499	499
q16	918	952	869	869
q17	1275	1469	1419	1419
q18	7817	7676	7639	7639
q19	849	788	849	788
q20	2036	2054	1925	1925
q21	4846	4574	4113	4113
q22	1091	1045	1001	1001
Total cold run time: 53029 ms
Total hot run time: 51041 ms

@doris-robot
Copy link

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

query1	1048	402	401	401
query2	6572	1572	1582	1572
query3	6758	229	227	227
query4	25604	22864	23001	22864
query5	5874	620	467	467
query6	343	240	225	225
query7	4657	521	307	307
query8	315	256	247	247
query9	8731	2591	2594	2591
query10	573	364	335	335
query11	15585	15215	15027	15027
query12	191	120	110	110
query13	1692	574	450	450
query14	10670	5457	5508	5457
query15	256	201	185	185
query16	7661	688	511	511
query17	1576	792	614	614
query18	2033	461	341	341
query19	234	199	184	184
query20	132	124	121	121
query21	218	132	113	113
query22	4135	4162	3854	3854
query23	32719	31961	31935	31935
query24	8241	2415	2447	2415
query25	585	543	470	470
query26	1256	273	165	165
query27	2764	491	346	346
query28	4398	2128	2157	2128
query29	797	626	493	493
query30	313	242	210	210
query31	802	705	618	618
query32	85	77	82	77
query33	584	384	337	337
query34	816	869	551	551
query35	802	826	753	753
query36	880	936	848	848
query37	121	112	86	86
query38	3839	3884	3819	3819
query39	1486	1411	1413	1411
query40	222	141	123	123
query41	66	62	64	62
query42	126	115	112	112
query43	451	444	434	434
query44	1308	757	772	757
query45	205	204	187	187
query46	861	992	635	635
query47	1719	1748	1641	1641
query48	405	464	340	340
query49	801	505	417	417
query50	661	684	414	414
query51	3964	4036	3813	3813
query52	117	115	113	113
query53	236	261	199	199
query54	333	316	294	294
query55	102	106	95	95
query56	355	363	375	363
query57	1162	1172	1105	1105
query58	313	287	287	287
query59	2295	2465	2354	2354
query60	385	381	372	372
query61	204	200	198	198
query62	751	724	652	652
query63	229	193	191	191
query64	4586	1332	1050	1050
query65	4052	3961	4017	3961
query66	1061	463	359	359
query67	15150	15113	14689	14689
query68	8267	954	623	623
query69	529	355	328	328
query70	1102	1007	1039	1007
query71	436	341	314	314
query72	6075	4862	4886	4862
query73	665	572	342	342
query74	8818	8871	8633	8633
query75	3088	3099	2578	2578
query76	3125	1116	742	742
query77	511	424	314	314
query78	9416	9877	8878	8878
query79	1908	873	594	594
query80	710	592	508	508
query81	544	280	254	254
query82	193	138	110	110
query83	275	271	251	251
query84	262	124	107	107
query85	930	513	470	470
query86	343	316	303	303
query87	3970	4107	3941	3941
query88	3104	2309	2313	2309
query89	387	335	308	308
query90	2130	236	229	229
query91	175	175	159	159
query92	89	73	70	70
query93	2386	1007	658	658
query94	733	464	351	351
query95	498	418	413	413
query96	519	560	292	292
query97	2618	2694	2555	2555
query98	246	211	214	211
query99	1333	1432	1271	1271
Total cold run time: 272851 ms
Total hot run time: 182067 ms

@doris-robot
Copy link

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

query1	0.06	0.05	0.04
query2	0.10	0.05	0.05
query3	0.26	0.08	0.09
query4	1.60	0.11	0.11
query5	0.27	0.25	0.26
query6	1.18	0.65	0.64
query7	0.04	0.03	0.03
query8	0.05	0.04	0.04
query9	0.58	0.51	0.50
query10	0.56	0.55	0.56
query11	0.15	0.10	0.10
query12	0.15	0.12	0.11
query13	0.65	0.62	0.61
query14	1.01	0.99	0.98
query15	0.83	0.81	0.84
query16	0.41	0.42	0.41
query17	1.01	1.07	1.08
query18	0.24	0.22	0.22
query19	1.95	1.87	1.82
query20	0.02	0.02	0.02
query21	15.47	0.29	0.15
query22	4.64	0.05	0.05
query23	15.87	0.26	0.10
query24	1.41	0.60	0.79
query25	0.08	0.07	0.06
query26	0.14	0.13	0.13
query27	0.04	0.04	0.06
query28	4.75	1.21	1.04
query29	12.59	3.96	3.29
query30	0.28	0.14	0.12
query31	2.81	0.62	0.39
query32	3.23	0.54	0.47
query33	3.02	3.01	3.06
query34	16.84	5.20	4.55
query35	4.55	4.57	4.56
query36	0.66	0.51	0.49
query37	0.11	0.07	0.07
query38	0.07	0.05	0.04
query39	0.05	0.03	0.03
query40	0.18	0.15	0.13
query41	0.08	0.04	0.03
query42	0.04	0.02	0.02
query43	0.04	0.04	0.03
Total cold run time: 98.07 s
Total hot run time: 27.84 s

@hello-stephen
Copy link
Contributor

FE UT Coverage Report

Increment line coverage 0.00% (0/11) 🎉
Increment coverage report
Complete coverage report

@hello-stephen
Copy link
Contributor

FE Regression Coverage Report

Increment line coverage 81.82% (9/11) 🎉
Increment coverage report
Complete coverage report

liaoxin01
liaoxin01 previously approved these changes Nov 30, 2025
Copy link
Contributor

@liaoxin01 liaoxin01 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 github-actions bot added the approved Indicates a PR has been approved by one committer. label Nov 30, 2025
@github-actions
Copy link
Contributor

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

@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

Copy link
Contributor

@morrySnow morrySnow left a comment

Choose a reason for hiding this comment

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

add some UT to test repeat slot id?

@starocean999
Copy link
Contributor Author

run buildall

@github-actions github-actions bot removed the approved Indicates a PR has been approved by one committer. label Dec 2, 2025
@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17607	5067	4932	4932
q2	2054	332	206	206
q3	10237	1321	737	737
q4	10220	894	314	314
q5	7523	2483	2161	2161
q6	199	174	139	139
q7	988	805	642	642
q8	9360	1486	1081	1081
q9	7354	5306	5392	5306
q10	6888	2242	1780	1780
q11	544	323	309	309
q12	396	380	226	226
q13	17786	3695	3075	3075
q14	243	263	219	219
q15	604	537	519	519
q16	893	876	806	806
q17	698	775	562	562
q18	7436	7240	6994	6994
q19	1093	969	611	611
q20	370	367	238	238
q21	4021	3363	2544	2544
q22	1028	994	946	946
Total cold run time: 107542 ms
Total hot run time: 34347 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4975	4980	4943	4943
q2	330	435	333	333
q3	2164	2696	2323	2323
q4	1350	1831	1319	1319
q5	4261	4544	4650	4544
q6	235	179	132	132
q7	2074	2016	1804	1804
q8	2748	2671	2600	2600
q9	7595	7491	7526	7491
q10	3138	3257	2872	2872
q11	584	533	490	490
q12	700	765	638	638
q13	3728	3937	3219	3219
q14	299	305	286	286
q15	560	524	519	519
q16	945	948	876	876
q17	1231	1607	1406	1406
q18	7878	7753	7558	7558
q19	942	905	928	905
q20	2018	1992	1812	1812
q21	4658	4312	4212	4212
q22	1111	1026	962	962
Total cold run time: 53524 ms
Total hot run time: 51244 ms

@doris-robot
Copy link

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

query1	1060	396	389	389
query2	6618	1184	1163	1163
query3	6738	234	228	228
query4	25369	23328	22929	22929
query5	4920	680	505	505
query6	377	238	224	224
query7	4668	524	303	303
query8	315	261	252	252
query9	8720	2679	2713	2679
query10	541	366	313	313
query11	15391	14857	15194	14857
query12	185	124	118	118
query13	1691	586	472	472
query14	9757	6125	6105	6105
query15	210	207	185	185
query16	7516	700	522	522
query17	1190	753	614	614
query18	2018	432	335	335
query19	226	207	178	178
query20	128	126	122	122
query21	213	134	117	117
query22	3998	3950	3790	3790
query23	32966	32191	32160	32160
query24	8464	2447	2443	2443
query25	613	562	501	501
query26	1254	291	174	174
query27	2734	521	370	370
query28	4387	2251	2187	2187
query29	864	686	546	546
query30	331	257	221	221
query31	860	726	624	624
query32	86	80	82	80
query33	616	418	345	345
query34	859	899	552	552
query35	792	841	730	730
query36	922	938	847	847
query37	130	123	91	91
query38	3922	3918	3830	3830
query39	1491	1409	1404	1404
query40	230	137	127	127
query41	68	62	63	62
query42	127	121	114	114
query43	450	467	432	432
query44	1380	768	755	755
query45	200	196	184	184
query46	916	1031	674	674
query47	1711	1747	1703	1703
query48	418	450	339	339
query49	794	527	446	446
query50	710	703	410	410
query51	3882	3957	3953	3953
query52	118	122	110	110
query53	249	267	200	200
query54	315	299	295	295
query55	106	103	97	97
query56	353	339	324	324
query57	1129	1191	1099	1099
query58	298	297	285	285
query59	2341	2418	2239	2239
query60	363	363	360	360
query61	227	158	156	156
query62	799	750	651	651
query63	234	202	199	199
query64	4534	1197	893	893
query65	4078	4002	3980	3980
query66	1142	457	346	346
query67	15189	14923	14876	14876
query68	4573	1017	629	629
query69	529	358	321	321
query70	1149	1049	1036	1036
query71	443	361	326	326
query72	5992	5145	5069	5069
query73	690	604	353	353
query74	8950	8812	8689	8689
query75	3035	3070	2531	2531
query76	3309	1199	774	774
query77	526	428	345	345
query78	9492	9776	8944	8944
query79	1881	920	595	595
query80	760	677	514	514
query81	513	273	240	240
query82	198	159	120	120
query83	268	264	257	257
query84	269	112	100	100
query85	894	501	452	452
query86	389	288	299	288
query87	4079	4093	3895	3895
query88	3424	2317	2359	2317
query89	394	342	296	296
query90	1986	233	230	230
query91	187	179	148	148
query92	87	86	67	67
query93	2400	1025	660	660
query94	747	440	331	331
query95	518	426	429	426
query96	547	567	290	290
query97	2585	2729	2615	2615
query98	250	227	218	218
query99	1285	1363	1241	1241
Total cold run time: 267850 ms
Total hot run time: 183131 ms

@doris-robot
Copy link

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

query1	0.05	0.04	0.05
query2	0.11	0.05	0.05
query3	0.26	0.09	0.09
query4	1.61	0.12	0.12
query5	0.27	0.26	0.26
query6	1.19	0.64	0.65
query7	0.03	0.03	0.02
query8	0.05	0.04	0.04
query9	0.58	0.51	0.51
query10	0.57	0.56	0.54
query11	0.15	0.12	0.11
query12	0.14	0.11	0.11
query13	0.62	0.61	0.60
query14	1.01	0.99	0.98
query15	0.82	0.80	0.80
query16	0.40	0.42	0.40
query17	0.97	1.04	1.05
query18	0.24	0.24	0.20
query19	1.94	1.84	1.90
query20	0.02	0.01	0.02
query21	15.44	0.32	0.14
query22	4.95	0.05	0.04
query23	16.09	0.29	0.11
query24	1.42	0.30	0.33
query25	0.07	0.07	0.06
query26	0.15	0.13	0.13
query27	0.06	0.08	0.05
query28	2.97	1.21	1.03
query29	12.61	3.96	3.17
query30	0.28	0.15	0.13
query31	2.81	0.65	0.39
query32	3.24	0.56	0.46
query33	3.08	3.08	3.07
query34	16.42	5.19	4.59
query35	4.62	4.56	4.56
query36	0.65	0.50	0.50
query37	0.11	0.07	0.07
query38	0.07	0.04	0.04
query39	0.04	0.03	0.03
query40	0.18	0.15	0.13
query41	0.08	0.04	0.03
query42	0.05	0.03	0.02
query43	0.05	0.03	0.03
Total cold run time: 96.47 s
Total hot run time: 27.48 s

@starocean999 starocean999 marked this pull request as ready for review December 2, 2025 08:02
@hello-stephen
Copy link
Contributor

FE Regression Coverage Report

Increment line coverage 81.82% (9/11) 🎉
Increment coverage report
Complete coverage report

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Dec 2, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Dec 2, 2025

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

@liaoxin01 liaoxin01 merged commit bb92995 into apache:master Dec 2, 2025
29 of 30 checks passed
starocean999 added a commit to starocean999/incubator-doris that referenced this pull request Dec 2, 2025
yiguolei pushed a commit that referenced this pull request Dec 3, 2025
…ating stream load plan #58494 (#58629)

…

pick #58494
### 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 -->
nagisa-kunhah pushed a commit to nagisa-kunhah/doris that referenced this pull request Dec 14, 2025
… load plan (apache#58494)

In NereidsLoadScanProvider, we call
StatementScopeIdGenerator.getExprIdGenerator() to generate ExprId for
column mapping exprs. But the StatementContext is not set in
ConnectContext at this point. So it will use ExprIdGenerator from
default StatementContext. Later when createLoadPlan for stream load, we
create a new StatementContext and use a new ExprIdGenerator then. We
should only use 1 ExprIdGenerator during stream load process. This pr
fix it.
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/4.0.2-merged reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants