Skip to content

Conversation

@seawinde
Copy link
Contributor

@seawinde seawinde commented Nov 26, 2025

What problem does this PR solve?

Fix stats unknown when calc sync mv plan statistics

For SQLs that are related to statistics, we should not collect or compute statistics. Previously this was determined by the isInternal flag, but isInternal is too broad: it covers not only statistics-related SQL but also SQL used to generate materialized view plans. Materialized view plan generation requires statistics, so we introduce a new flag isPlanWithUnKnownColumnStats to indicate connections that are used for statistics-only operations (treat column statistics as unknown).

Issue Number: close #xxx

Related PR:
#36760
#57850

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

@hello-stephen
Copy link
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?

@seawinde
Copy link
Contributor Author

run buildall

@seawinde seawinde force-pushed the fix_sync_mv_stats_unknow_mv_not_chosen branch from a7000d4 to 68d17f0 Compare November 26, 2025 13:15
@seawinde
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17624	5002	4902	4902
q2	2046	331	212	212
q3	10218	1268	721	721
q4	10219	872	357	357
q5	7492	2346	2332	2332
q6	180	188	143	143
q7	909	787	648	648
q8	9344	1291	1013	1013
q9	6993	5292	5300	5292
q10	6855	2199	1808	1808
q11	505	288	290	288
q12	346	359	227	227
q13	17778	3656	3008	3008
q14	232	231	208	208
q15	584	508	512	508
q16	1043	1065	966	966
q17	582	876	352	352
q18	7556	7420	7230	7230
q19	1158	935	537	537
q20	340	337	230	230
q21	3806	3166	2252	2252
q22	1063	1035	977	977
Total cold run time: 106873 ms
Total hot run time: 34211 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4960	4923	4913	4913
q2	320	388	334	334
q3	2122	2668	2295	2295
q4	1351	1763	1298	1298
q5	4240	4616	4642	4616
q6	221	181	127	127
q7	2106	1962	1746	1746
q8	2682	2550	2464	2464
q9	7524	7545	7541	7541
q10	2998	3221	2855	2855
q11	581	533	500	500
q12	656	907	668	668
q13	3441	4076	3202	3202
q14	285	309	289	289
q15	531	513	508	508
q16	1071	1134	1094	1094
q17	1190	1589	1398	1398
q18	7945	7643	7604	7604
q19	774	884	789	789
q20	2140	2106	1837	1837
q21	4775	4266	4145	4145
q22	1082	1065	987	987
Total cold run time: 52995 ms
Total hot run time: 51210 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 183979 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 68d17f0ded4c5f2275f6240149230101fb83fefa, data reload: false

query1	1039	415	404	404
query2	6590	1556	1623	1556
query3	6751	233	228	228
query4	25960	22891	22308	22308
query5	4457	629	473	473
query6	344	231	224	224
query7	4641	485	318	318
query8	299	253	256	253
query9	8739	2541	2534	2534
query10	498	376	322	322
query11	14988	15076	14605	14605
query12	193	127	115	115
query13	1661	570	451	451
query14	10602	8824	8848	8824
query15	209	200	186	186
query16	7325	679	514	514
query17	1254	755	647	647
query18	2000	433	339	339
query19	221	203	187	187
query20	132	128	121	121
query21	218	140	113	113
query22	4122	4073	3850	3850
query23	32896	31969	32020	31969
query24	8016	2439	2436	2436
query25	600	556	485	485
query26	736	283	169	169
query27	2683	501	356	356
query28	4073	2135	2133	2133
query29	779	647	519	519
query30	313	249	203	203
query31	833	717	646	646
query32	89	77	70	70
query33	563	383	339	339
query34	790	870	533	533
query35	815	853	740	740
query36	896	959	872	872
query37	123	156	86	86
query38	3334	3283	3260	3260
query39	1485	1403	1436	1403
query40	216	124	119	119
query41	67	62	61	61
query42	138	117	107	107
query43	453	466	437	437
query44	1226	772	754	754
query45	196	193	180	180
query46	879	1004	645	645
query47	1705	1730	1650	1650
query48	396	440	320	320
query49	732	514	383	383
query50	648	683	391	391
query51	3863	3949	3843	3843
query52	108	109	110	109
query53	235	259	196	196
query54	303	290	279	279
query55	94	98	93	93
query56	337	323	314	314
query57	1149	1179	1109	1109
query58	277	269	275	269
query59	2395	2541	2454	2454
query60	357	365	345	345
query61	200	161	154	154
query62	756	708	657	657
query63	235	195	192	192
query64	3083	1167	874	874
query65	4030	3962	3956	3956
query66	1053	430	317	317
query67	15314	15005	14812	14812
query68	8448	910	641	641
query69	516	341	304	304
query70	1322	1242	1230	1230
query71	486	328	317	317
query72	5831	5115	4810	4810
query73	714	562	347	347
query74	8593	8636	8654	8636
query75	3935	3313	2856	2856
query76	3696	1124	723	723
query77	817	389	326	326
query78	9536	9788	8901	8901
query79	1626	833	609	609
query80	649	568	501	501
query81	502	273	241	241
query82	451	167	136	136
query83	267	260	261	260
query84	258	115	101	101
query85	908	488	453	453
query86	342	303	300	300
query87	3588	3452	3404	3404
query88	2833	2295	2234	2234
query89	382	330	296	296
query90	1910	224	219	219
query91	179	170	141	141
query92	81	70	65	65
query93	1116	997	673	673
query94	733	459	343	343
query95	497	409	399	399
query96	505	567	290	290
query97	2936	2995	2904	2904
query98	240	224	206	206
query99	1646	1406	1302	1302
Total cold run time: 267255 ms
Total hot run time: 183979 ms

@doris-robot
Copy link

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

query1	0.06	0.05	0.05
query2	0.10	0.05	0.05
query3	0.26	0.08	0.08
query4	1.61	0.11	0.11
query5	0.29	0.25	0.26
query6	1.16	0.64	0.64
query7	0.04	0.03	0.02
query8	0.05	0.05	0.04
query9	0.58	0.53	0.52
query10	0.58	0.57	0.57
query11	0.16	0.12	0.11
query12	0.15	0.12	0.12
query13	0.63	0.59	0.61
query14	1.01	1.00	1.00
query15	0.84	0.83	0.83
query16	0.38	0.39	0.38
query17	1.03	1.04	1.06
query18	0.21	0.20	0.20
query19	1.87	1.80	1.78
query20	0.02	0.01	0.01
query21	15.43	0.19	0.13
query22	5.06	0.06	0.05
query23	15.66	0.25	0.10
query24	3.19	0.86	0.45
query25	0.07	0.07	0.06
query26	0.14	0.13	0.13
query27	0.07	0.06	0.05
query28	4.89	1.14	0.93
query29	12.60	3.86	3.18
query30	0.29	0.13	0.12
query31	2.81	0.58	0.39
query32	3.23	0.54	0.47
query33	2.99	3.09	3.02
query34	15.86	5.20	4.50
query35	4.57	4.58	4.54
query36	0.67	0.50	0.49
query37	0.09	0.07	0.07
query38	0.07	0.04	0.04
query39	0.04	0.03	0.03
query40	0.17	0.15	0.13
query41	0.08	0.04	0.03
query42	0.05	0.03	0.03
query43	0.05	0.04	0.03
Total cold run time: 99.11 s
Total hot run time: 27.36 s

@hello-stephen
Copy link
Contributor

FE UT Coverage Report

Increment line coverage 12.50% (1/8) 🎉
Increment coverage report
Complete coverage report

@hello-stephen
Copy link
Contributor

FE Regression Coverage Report

Increment line coverage 12.50% (1/8) 🎉
Increment coverage report
Complete coverage report

@seawinde seawinde force-pushed the fix_sync_mv_stats_unknow_mv_not_chosen branch from 68d17f0 to b1d8aa0 Compare December 3, 2025 09:31
@seawinde
Copy link
Contributor Author

seawinde commented Dec 3, 2025

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17615	5050	4968	4968
q2	2046	326	201	201
q3	10256	1336	763	763
q4	10222	908	332	332
q5	7545	2445	2171	2171
q6	188	170	139	139
q7	979	782	646	646
q8	9358	1434	1069	1069
q9	7059	5290	5346	5290
q10	6799	2193	1810	1810
q11	521	315	298	298
q12	342	369	226	226
q13	17788	3715	3083	3083
q14	236	235	223	223
q15	593	516	510	510
q16	884	867	809	809
q17	673	734	568	568
q18	7544	7784	7684	7684
q19	1315	994	651	651
q20	423	391	234	234
q21	4371	4268	2792	2792
q22	1119	1055	1029	1029
Total cold run time: 107876 ms
Total hot run time: 35496 ms

----- Round 2, with runtime_filter_mode=off -----
q1	5257	5249	5230	5230
q2	328	423	319	319
q3	2365	2872	2393	2393
q4	1502	1830	1433	1433
q5	4587	4631	4422	4422
q6	209	171	127	127
q7	2032	1974	1821	1821
q8	2674	2597	2480	2480
q9	7537	7478	7488	7478
q10	3062	3249	2715	2715
q11	561	496	477	477
q12	635	698	545	545
q13	3272	3696	3059	3059
q14	263	281	274	274
q15	530	481	494	481
q16	856	891	840	840
q17	1132	1332	1367	1332
q18	7305	7235	6951	6951
q19	839	802	818	802
q20	1874	1964	1794	1794
q21	4678	4303	4181	4181
q22	1053	1004	970	970
Total cold run time: 52551 ms
Total hot run time: 50124 ms

@doris-robot
Copy link

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

query1	1089	400	402	400
query2	6598	1170	1175	1170
query3	6742	234	224	224
query4	25393	23397	22837	22837
query5	5550	669	490	490
query6	365	247	217	217
query7	4662	527	306	306
query8	317	252	238	238
query9	8728	2660	2650	2650
query10	557	348	313	313
query11	15439	15024	14834	14834
query12	188	118	123	118
query13	1667	564	433	433
query14	9709	5873	5867	5867
query15	220	202	183	183
query16	7656	704	519	519
query17	1348	756	626	626
query18	2046	437	339	339
query19	214	201	172	172
query20	128	125	122	122
query21	212	140	119	119
query22	3852	3967	3886	3886
query23	32854	31799	31819	31799
query24	8386	2395	2388	2388
query25	631	560	482	482
query26	1246	272	166	166
query27	2753	492	341	341
query28	4347	2199	2184	2184
query29	801	627	481	481
query30	319	241	202	202
query31	800	702	633	633
query32	86	72	80	72
query33	589	382	321	321
query34	824	883	531	531
query35	786	830	709	709
query36	888	929	852	852
query37	123	117	104	104
query38	3837	3788	3769	3769
query39	1474	1449	1397	1397
query40	231	136	122	122
query41	67	61	63	61
query42	123	113	121	113
query43	441	440	425	425
query44	1320	769	771	769
query45	202	193	187	187
query46	908	1008	655	655
query47	1680	1760	1649	1649
query48	410	455	330	330
query49	815	551	425	425
query50	690	700	419	419
query51	3906	3918	3897	3897
query52	115	117	114	114
query53	265	265	205	205
query54	342	335	293	293
query55	96	93	98	93
query56	336	350	352	350
query57	1164	1192	1079	1079
query58	298	295	287	287
query59	2250	2394	2411	2394
query60	370	361	347	347
query61	191	189	189	189
query62	768	709	652	652
query63	237	197	202	197
query64	4706	1359	1055	1055
query65	4033	3965	4022	3965
query66	1085	453	353	353
query67	15354	15092	14870	14870
query68	8406	1002	655	655
query69	550	357	315	315
query70	1106	1025	1033	1025
query71	458	346	324	324
query72	5876	4873	4806	4806
query73	675	571	346	346
query74	8761	8753	8575	8575
query75	3222	3019	2516	2516
query76	3418	1140	738	738
query77	636	418	312	312
query78	9468	9560	8825	8825
query79	2732	809	602	602
query80	678	579	492	492
query81	525	269	237	237
query82	483	138	109	109
query83	269	270	257	257
query84	260	124	96	96
query85	891	487	446	446
query86	360	305	284	284
query87	4090	4043	3936	3936
query88	4257	2264	2293	2264
query89	390	321	293	293
query90	1989	215	217	215
query91	163	173	146	146
query92	80	73	62	62
query93	2267	1075	683	683
query94	764	474	344	344
query95	508	415	407	407
query96	529	580	280	280
query97	2637	2666	2530	2530
query98	256	221	212	212
query99	1642	1377	1239	1239
Total cold run time: 274173 ms
Total hot run time: 181560 ms

@doris-robot
Copy link

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

query1	0.05	0.04	0.04
query2	0.10	0.04	0.05
query3	0.25	0.09	0.09
query4	1.60	0.11	0.11
query5	0.27	0.26	0.26
query6	1.18	0.64	0.65
query7	0.03	0.03	0.03
query8	0.05	0.04	0.05
query9	0.58	0.52	0.50
query10	0.56	0.56	0.56
query11	0.16	0.10	0.11
query12	0.15	0.12	0.11
query13	0.63	0.60	0.60
query14	1.00	1.02	0.99
query15	0.82	0.79	0.79
query16	0.40	0.41	0.39
query17	1.05	1.02	0.97
query18	0.23	0.22	0.21
query19	1.88	1.84	1.85
query20	0.02	0.01	0.01
query21	15.44	0.28	0.15
query22	4.88	0.05	0.05
query23	15.99	0.28	0.10
query24	1.68	1.06	0.25
query25	0.07	0.19	0.08
query26	0.13	0.14	0.14
query27	0.06	0.07	0.07
query28	4.22	1.23	1.03
query29	12.65	3.93	3.13
query30	0.29	0.14	0.11
query31	2.84	0.63	0.39
query32	3.23	0.56	0.45
query33	3.02	3.11	3.12
query34	16.69	5.17	4.56
query35	4.55	4.58	4.52
query36	0.66	0.49	0.49
query37	0.11	0.07	0.06
query38	0.07	0.04	0.04
query39	0.04	0.03	0.03
query40	0.17	0.15	0.13
query41	0.09	0.03	0.02
query42	0.05	0.03	0.03
query43	0.04	0.03	0.03
Total cold run time: 97.98 s
Total hot run time: 27.29 s

@hello-stephen
Copy link
Contributor

FE UT Coverage Report

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

@seawinde
Copy link
Contributor Author

seawinde commented Dec 4, 2025

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17625	5059	4896	4896
q2	2050	319	206	206
q3	10248	1329	723	723
q4	10227	902	318	318
q5	7505	2474	2163	2163
q6	190	175	138	138
q7	976	803	642	642
q8	9348	1461	1127	1127
q9	7124	5381	5349	5349
q10	6784	2186	1766	1766
q11	533	311	288	288
q12	341	366	227	227
q13	17763	3717	3011	3011
q14	229	239	213	213
q15	589	510	511	510
q16	871	869	814	814
q17	709	815	555	555
q18	7541	7118	7141	7118
q19	1244	950	588	588
q20	360	352	232	232
q21	4037	3221	2530	2530
q22	1047	989	948	948
Total cold run time: 107341 ms
Total hot run time: 34362 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4985	4978	4923	4923
q2	336	410	322	322
q3	2160	2654	2289	2289
q4	1316	1869	1287	1287
q5	4233	4792	4563	4563
q6	224	165	129	129
q7	2068	1997	1830	1830
q8	2714	2691	2625	2625
q9	7519	7493	7595	7493
q10	3016	3231	2786	2786
q11	587	529	490	490
q12	826	737	603	603
q13	3508	4127	3255	3255
q14	320	331	289	289
q15	564	516	512	512
q16	918	931	881	881
q17	1193	1548	1401	1401
q18	7799	7691	7434	7434
q19	983	911	897	897
q20	1951	2070	1829	1829
q21	4963	4350	4164	4164
q22	1085	994	984	984
Total cold run time: 53268 ms
Total hot run time: 50986 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 181556 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 02a3b345fed58f6d977b0d994ff4409bf56bb518, data reload: false

query5	4851	676	497	497
query6	345	246	233	233
query7	4660	537	311	311
query8	298	261	237	237
query9	8747	2649	2636	2636
query10	549	368	310	310
query11	15420	14826	14997	14826
query12	179	121	121	121
query13	1696	582	474	474
query14	6397	3268	2991	2991
query14_1	2907	2934	2929	2929
query15	207	200	186	186
query16	7556	705	548	548
query17	1204	786	626	626
query18	2024	435	349	349
query19	217	209	184	184
query20	132	160	120	120
query21	218	134	110	110
query22	4011	3937	3982	3937
query23	16698	16106	15836	15836
query23_1	16236	16088	16140	16088
query24	6792	1611	1170	1170
query24_1	1209	1172	1220	1172
query25	603	512	456	456
query26	1227	273	169	169
query27	2721	492	339	339
query28	4313	2160	2136	2136
query29	783	634	478	478
query30	308	242	219	219
query31	830	682	624	624
query32	79	71	71	71
query33	592	375	317	317
query34	828	876	552	552
query35	810	826	736	736
query36	920	924	819	819
query37	127	112	90	90
query38	3892	3927	3796	3796
query39	749	751	726	726
query39_1	699	683	711	683
query40	223	127	119	119
query41	65	62	61	61
query42	126	118	113	113
query43	439	454	414	414
query44	1314	770	749	749
query45	201	194	183	183
query46	907	1000	643	643
query47	1660	1749	1651	1651
query48	413	445	340	340
query49	765	497	427	427
query50	686	713	420	420
query51	4030	3896	3796	3796
query52	114	114	106	106
query53	238	254	193	193
query54	308	316	274	274
query55	97	93	88	88
query56	337	355	320	320
query57	1142	1174	1084	1084
query58	283	273	269	269
query59	2348	2434	2285	2285
query60	371	350	335	335
query61	154	157	153	153
query62	793	731	674	674
query63	234	192	193	192
query64	4425	1188	894	894
query65	4075	3959	4034	3959
query66	1110	434	333	333
query67	15094	15012	14828	14828
query68	5458	991	639	639
query69	521	333	313	313
query70	1097	1034	1000	1000
query71	420	342	310	310
query72	5808	4981	5076	4981
query73	688	591	347	347
query74	8869	8715	8573	8573
query75	3050	3013	2521	2521
query76	3226	1152	761	761
query77	542	405	313	313
query78	9471	9700	8883	8883
query79	1913	848	582	582
query80	712	578	491	491
query81	521	268	238	238
query82	216	137	113	113
query83	271	266	251	251
query84	266	122	103	103
query85	883	484	436	436
query86	381	302	278	278
query87	4073	4040	3904	3904
query88	3629	2270	2299	2270
query89	394	334	307	307
query90	1969	222	212	212
query91	163	178	148	148
query92	85	70	62	62
query93	1881	1033	660	660
query94	723	447	332	332
query95	487	415	409	409
query96	528	553	277	277
query97	2589	2686	2551	2551
query98	247	223	211	211
query99	1306	1401	1294	1294
Total cold run time: 266080 ms
Total hot run time: 181556 ms

@doris-robot
Copy link

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

query1	0.06	0.05	0.05
query2	0.09	0.04	0.04
query3	0.26	0.09	0.09
query4	1.60	0.11	0.10
query5	0.28	0.26	0.26
query6	1.16	0.62	0.62
query7	0.03	0.03	0.02
query8	0.05	0.04	0.04
query9	0.58	0.51	0.50
query10	0.56	0.57	0.56
query11	0.16	0.11	0.11
query12	0.15	0.11	0.11
query13	0.63	0.64	0.59
query14	0.99	0.96	0.97
query15	0.81	0.79	0.81
query16	0.40	0.40	0.41
query17	1.02	1.05	1.04
query18	0.23	0.21	0.21
query19	1.91	1.81	1.86
query20	0.02	0.01	0.01
query21	15.43	0.27	0.14
query22	4.76	0.05	0.05
query23	16.09	0.28	0.09
query24	0.98	0.24	0.69
query25	0.08	0.06	0.05
query26	0.15	0.15	0.14
query27	0.06	0.08	0.04
query28	3.37	1.21	1.02
query29	12.63	4.10	3.20
query30	0.28	0.14	0.11
query31	2.82	0.63	0.38
query32	3.23	0.56	0.46
query33	3.03	3.00	3.08
query34	17.05	5.19	4.54
query35	4.56	4.53	4.59
query36	0.68	0.50	0.52
query37	0.11	0.07	0.06
query38	0.07	0.04	0.04
query39	0.04	0.03	0.03
query40	0.16	0.13	0.13
query41	0.09	0.03	0.03
query42	0.05	0.03	0.03
query43	0.04	0.04	0.03
Total cold run time: 96.75 s
Total hot run time: 27.15 s

@hello-stephen
Copy link
Contributor

FE Regression Coverage Report

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

2 similar comments
@hello-stephen
Copy link
Contributor

FE Regression Coverage Report

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

@hello-stephen
Copy link
Contributor

FE Regression Coverage Report

Increment line coverage 0.00% (0/7) 🎉
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 5, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2025

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

@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2025

PR approved by anyone and no changes requested.

@morrySnow morrySnow merged commit adbc110 into apache:master Dec 8, 2025
31 checks passed
github-actions bot pushed a commit that referenced this pull request Dec 8, 2025
### What problem does this PR solve?

Related PR: 
#36760
#57850

Problem Summary:

Fix stats unknown when calc sync mv plan statistics

For SQLs that are related to statistics, we should not collect or
compute statistics. Previously this was determined by the `isInternal`
flag, but `isInternal` is too broad: it covers not only
statistics-related SQL but also SQL used to generate materialized view
plans. Materialized view plan generation requires statistics, so we
introduce a new flag `isPlanWithUnKnownColumnStats` to indicate
connections that are used for statistics-only operations (treat column
statistics as unknown).
seawinde added a commit to seawinde/doris that referenced this pull request Dec 10, 2025
…#58426)

Related PR:

Problem Summary:

Fix stats unknown when calc sync mv plan statistics

For SQLs that are related to statistics, we should not collect or
compute statistics. Previously this was determined by the `isInternal`
flag, but `isInternal` is too broad: it covers not only
statistics-related SQL but also SQL used to generate materialized view
plans. Materialized view plan generation requires statistics, so we
introduce a new flag `isPlanWithUnKnownColumnStats` to indicate
connections that are used for statistics-only operations (treat column
statistics as unknown).
yiguolei pushed a commit that referenced this pull request Dec 11, 2025
### What problem does this PR solve?

Related PR: 
#36760
#57850

Problem Summary:

Fix stats unknown when calc sync mv plan statistics

For SQLs that are related to statistics, we should not collect or
compute statistics. Previously this was determined by the `isInternal`
flag, but `isInternal` is too broad: it covers not only
statistics-related SQL but also SQL used to generate materialized view
plans. Materialized view plan generation requires statistics, so we
introduce a new flag `isPlanWithUnKnownColumnStats` to indicate
connections that are used for statistics-only operations (treat column
statistics as unknown).
nagisa-kunhah pushed a commit to nagisa-kunhah/doris that referenced this pull request Dec 14, 2025
…#58426)

### What problem does this PR solve?

Related PR: 
apache#36760
apache#57850

Problem Summary:

Fix stats unknown when calc sync mv plan statistics

For SQLs that are related to statistics, we should not collect or
compute statistics. Previously this was determined by the `isInternal`
flag, but `isInternal` is too broad: it covers not only
statistics-related SQL but also SQL used to generate materialized view
plans. Materialized view plan generation requires statistics, so we
introduce a new flag `isPlanWithUnKnownColumnStats` to indicate
connections that are used for statistics-only operations (treat column
statistics as unknown).
morrySnow pushed a commit that referenced this pull request Dec 15, 2025
yiguolei pushed a commit that referenced this pull request Dec 18, 2025
### What problem does this PR solve?

Related PR: 
#36760
#57850

Problem Summary:

Fix stats unknown when calc sync mv plan statistics

For SQLs that are related to statistics, we should not collect or
compute statistics. Previously this was determined by the `isInternal`
flag, but `isInternal` is too broad: it covers not only
statistics-related SQL but also SQL used to generate materialized view
plans. Materialized view plan generation requires statistics, so we
introduce a new flag `isPlanWithUnKnownColumnStats` to indicate
connections that are used for statistics-only operations (treat column
statistics as unknown).
seawinde added a commit to seawinde/doris that referenced this pull request Dec 22, 2025
…#58426)

### What problem does this PR solve?

Related PR: 
apache#36760
apache#57850

Problem Summary:

Fix stats unknown when calc sync mv plan statistics

For SQLs that are related to statistics, we should not collect or
compute statistics. Previously this was determined by the `isInternal`
flag, but `isInternal` is too broad: it covers not only
statistics-related SQL but also SQL used to generate materialized view
plans. Materialized view plan generation requires statistics, so we
introduce a new flag `isPlanWithUnKnownColumnStats` to indicate
connections that are used for statistics-only operations (treat column
statistics as unknown).
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/3.1.4-merged dev/4.0.3-merged reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants