Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix](mtmv) Fix mv is deleted in nested mv causing query err and fix some test #45744

Merged
merged 4 commits into from
Dec 24, 2024

Conversation

seawinde
Copy link
Contributor

What problem does this PR solve?

if mv2 sql contains mv1 as following, if drop mv_level_1, query mv2 directly would cause err, this fix this

        CREATE MATERIALIZED VIEW mv2
        BUILD IMMEDIATE REFRESH COMPLETE ON MANUAL
        DISTRIBUTED BY RANDOM BUCKETS 2
        PROPERTIES ('replication_num' = '1') 
        AS
select * from mv_level_1;

Issue Number: close #xxx

Related PR: #45045

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 Dec 20, 2024

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 seawinde changed the title [fix](mtmv) Fix mv is deleted in nested mv, query err and fix some test [fix](mtmv) Fix mv is deleted in nested mv causing query err and fix some test Dec 20, 2024
@seawinde
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17571	7409	7229	7229
q2	2049	177	172	172
q3	10556	1098	1221	1098
q4	10569	707	743	707
q5	7614	2691	2708	2691
q6	234	148	144	144
q7	973	635	615	615
q8	9244	1843	1891	1843
q9	6520	6437	6481	6437
q10	7394	2317	2343	2317
q11	472	279	260	260
q12	434	231	229	229
q13	17767	2928	2953	2928
q14	267	225	210	210
q15	563	498	495	495
q16	662	594	579	579
q17	978	531	563	531
q18	7293	6793	6782	6782
q19	1360	981	935	935
q20	447	188	184	184
q21	4101	3287	3305	3287
q22	382	323	320	320
Total cold run time: 107450 ms
Total hot run time: 39993 ms

----- Round 2, with runtime_filter_mode=off -----
q1	7229	7268	7205	7205
q2	330	231	232	231
q3	2901	2784	2922	2784
q4	2044	1800	1858	1800
q5	5667	5603	5614	5603
q6	228	146	146	146
q7	2253	1901	1819	1819
q8	3354	3547	3478	3478
q9	8962	8940	9001	8940
q10	3582	3548	3537	3537
q11	610	502	526	502
q12	832	594	601	594
q13	11530	3213	3215	3213
q14	306	272	289	272
q15	572	509	506	506
q16	682	662	637	637
q17	1847	1630	1619	1619
q18	8261	7895	7843	7843
q19	1708	1568	1507	1507
q20	2070	1856	1844	1844
q21	5606	5529	5556	5529
q22	647	610	574	574
Total cold run time: 71221 ms
Total hot run time: 60183 ms

@doris-robot
Copy link

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

query1	1301	954	902	902
query2	6230	2317	2359	2317
query3	10965	4523	4663	4523
query4	33321	23442	23363	23363
query5	4393	456	434	434
query6	290	187	190	187
query7	4008	320	313	313
query8	322	243	251	243
query9	9362	2727	2715	2715
query10	477	233	240	233
query11	18086	15070	15168	15070
query12	149	98	101	98
query13	1567	437	423	423
query14	9060	7108	6797	6797
query15	252	205	206	205
query16	8124	434	467	434
query17	1525	620	593	593
query18	2201	335	328	328
query19	253	171	171	171
query20	123	118	121	118
query21	211	109	108	108
query22	4730	4509	4448	4448
query23	34925	33940	33453	33453
query24	10407	2547	2610	2547
query25	653	420	444	420
query26	1046	162	214	162
query27	2260	344	349	344
query28	6858	2487	2475	2475
query29	858	405	411	405
query30	230	150	158	150
query31	1018	839	815	815
query32	94	62	57	57
query33	760	292	350	292
query34	1144	545	512	512
query35	893	760	749	749
query36	1137	959	1002	959
query37	121	71	72	71
query38	4378	4136	4040	4040
query39	1521	1462	1443	1443
query40	224	110	100	100
query41	46	49	44	44
query42	123	104	102	102
query43	539	505	500	500
query44	1325	827	834	827
query45	193	170	181	170
query46	1190	743	745	743
query47	2007	1932	1928	1928
query48	453	327	338	327
query49	890	398	412	398
query50	832	411	414	411
query51	7404	7211	7094	7094
query52	109	88	93	88
query53	264	183	182	182
query54	1109	403	421	403
query55	98	82	83	82
query56	275	247	246	246
query57	1287	1193	1167	1167
query58	237	234	239	234
query59	3285	3140	3062	3062
query60	277	252	241	241
query61	109	102	109	102
query62	882	701	692	692
query63	234	192	201	192
query64	3820	687	660	660
query65	3337	3237	3259	3237
query66	772	308	303	303
query67	16660	15542	15584	15542
query68	5885	551	541	541
query69	513	249	250	249
query70	1214	1103	1169	1103
query71	521	264	250	250
query72	7225	4049	4201	4049
query73	802	370	363	363
query74	10208	8807	8847	8807
query75	4176	2686	2667	2667
query76	4365	1088	1067	1067
query77	688	267	268	267
query78	10166	9337	9431	9337
query79	1146	612	601	601
query80	979	442	433	433
query81	513	244	235	235
query82	213	111	113	111
query83	197	155	147	147
query84	322	68	67	67
query85	993	301	296	296
query86	362	314	288	288
query87	4545	4388	4472	4388
query88	4174	2206	2181	2181
query89	426	298	287	287
query90	2076	186	181	181
query91	152	105	111	105
query92	68	50	52	50
query93	3166	538	536	536
query94	836	280	266	266
query95	356	253	247	247
query96	627	273	282	273
query97	2820	2710	2703	2703
query98	216	204	195	195
query99	1570	1342	1315	1315
Total cold run time: 304754 ms
Total hot run time: 195599 ms

@doris-robot
Copy link

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

query1	0.03	0.03	0.03
query2	0.07	0.05	0.03
query3	0.23	0.07	0.07
query4	1.61	0.10	0.11
query5	0.40	0.41	0.43
query6	1.12	0.66	0.64
query7	0.03	0.02	0.01
query8	0.04	0.04	0.03
query9	0.58	0.50	0.49
query10	0.55	0.61	0.56
query11	0.14	0.10	0.10
query12	0.15	0.11	0.10
query13	0.61	0.59	0.60
query14	2.71	2.76	2.92
query15	0.87	0.83	0.82
query16	0.40	0.37	0.39
query17	1.06	1.06	0.98
query18	0.23	0.21	0.22
query19	1.92	1.89	2.00
query20	0.01	0.01	0.01
query21	15.38	0.59	0.60
query22	2.28	2.57	2.45
query23	16.96	0.94	0.82
query24	3.01	0.56	1.86
query25	0.23	0.15	0.05
query26	0.50	0.15	0.15
query27	0.05	0.04	0.03
query28	10.19	1.11	1.07
query29	12.57	3.21	3.18
query30	0.26	0.06	0.07
query31	2.84	0.39	0.37
query32	3.25	0.46	0.46
query33	3.06	3.11	3.18
query34	17.09	4.41	4.50
query35	4.47	4.39	4.52
query36	0.65	0.47	0.49
query37	0.09	0.06	0.06
query38	0.05	0.03	0.03
query39	0.04	0.03	0.03
query40	0.18	0.13	0.12
query41	0.08	0.02	0.02
query42	0.04	0.02	0.02
query43	0.03	0.03	0.03
Total cold run time: 106.06 s
Total hot run time: 32.68 s

@seawinde
Copy link
Contributor Author

run buildall

@@ -130,6 +130,9 @@ suite("test_select_column_auth","p0,auth") {
sql """grant select_priv(sum_id) on ${dbName}.${mtmv_name} to ${user}"""
sql """grant select_priv(id) on ${dbName}.${tableName} to ${user}"""
connect(user, "${pwd}", context.config.jdbcUrl) {
logger.info("show grants;")
Copy link
Contributor

Choose a reason for hiding this comment

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

Only print this string?

@@ -96,6 +96,10 @@ suite("mv_on_unique_table") {
AS
${mv1}
""")

def desc_all_mv1 = sql """desc lineitem_2_uniq all;"""
logger.info("desc mv1 is" + desc_all_mv1)
Copy link
Contributor

Choose a reason for hiding this comment

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

not need desc_all_mv1.toString()?

@@ -115,7 +119,9 @@ suite("is_in_debug_mode") {
AS select * from orders where o_orderkey > 2;
"""
} catch (Exception e) {
Assert.assertTrue(e.getMessage().contains("because is in debug mode"))
def message = e.getMessage()
logger.info("test_create_mv3" + message)
Copy link
Contributor

Choose a reason for hiding this comment

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

suggest: logger.info("test_create_mv3: " + message)

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17591	7345	7226	7226
q2	2049	189	169	169
q3	10728	1056	1147	1056
q4	10554	758	702	702
q5	7582	2668	2653	2653
q6	239	148	147	147
q7	987	630	590	590
q8	9234	1809	1882	1809
q9	6487	6449	6358	6358
q10	7000	2267	2301	2267
q11	467	252	268	252
q12	426	223	222	222
q13	17778	2879	2902	2879
q14	253	225	218	218
q15	560	503	509	503
q16	663	582	580	580
q17	965	523	536	523
q18	7937	6839	6920	6839
q19	1397	1022	1040	1022
q20	483	184	183	183
q21	3982	3178	2936	2936
q22	387	319	318	318
Total cold run time: 107749 ms
Total hot run time: 39452 ms

----- Round 2, with runtime_filter_mode=off -----
q1	8047	7183	7171	7171
q2	325	228	230	228
q3	2891	2781	2900	2781
q4	2037	1760	1832	1760
q5	5686	5605	5625	5605
q6	221	145	148	145
q7	2238	1823	1814	1814
q8	3386	3513	3475	3475
q9	8930	8861	8884	8861
q10	3560	3534	3514	3514
q11	602	514	527	514
q12	808	605	594	594
q13	13353	3282	3049	3049
q14	319	283	264	264
q15	563	496	500	496
q16	697	670	639	639
q17	1825	1655	1612	1612
q18	8256	7620	7789	7620
q19	1700	1487	1471	1471
q20	2046	1904	1900	1900
q21	5644	5503	5463	5463
q22	672	556	639	556
Total cold run time: 73806 ms
Total hot run time: 59532 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 196475 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 5ebf6f3545cf14f55a6c1ab70bba4fa86183262d, data reload: false

query1	1292	953	911	911
query2	6216	2428	2413	2413
query3	10972	4577	4683	4577
query4	33475	23434	23385	23385
query5	4783	458	442	442
query6	296	185	179	179
query7	3980	307	307	307
query8	320	232	242	232
query9	9589	2700	2681	2681
query10	481	254	252	252
query11	18084	15198	14985	14985
query12	162	107	102	102
query13	1619	426	396	396
query14	10400	6998	7624	6998
query15	287	190	183	183
query16	8145	446	477	446
query17	1697	576	549	549
query18	2214	309	321	309
query19	363	184	153	153
query20	131	116	114	114
query21	203	113	106	106
query22	4875	4450	4467	4450
query23	36536	33724	35651	33724
query24	10467	2543	2537	2537
query25	530	409	391	391
query26	729	154	150	150
query27	2407	330	325	325
query28	7555	2453	2418	2418
query29	674	421	440	421
query30	227	146	146	146
query31	1046	857	837	837
query32	98	55	59	55
query33	762	298	286	286
query34	1203	554	524	524
query35	904	768	803	768
query36	1135	977	967	967
query37	130	78	76	76
query38	4284	4506	4335	4335
query39	1492	1464	1472	1464
query40	210	111	111	111
query41	50	51	47	47
query42	116	105	115	105
query43	558	512	510	510
query44	1281	862	859	859
query45	220	164	168	164
query46	1187	728	726	726
query47	2022	1961	1961	1961
query48	426	320	339	320
query49	900	388	390	388
query50	851	404	396	396
query51	7315	7224	7159	7159
query52	100	92	94	92
query53	259	180	191	180
query54	1234	416	430	416
query55	83	79	84	79
query56	277	244	247	244
query57	1288	1161	1160	1160
query58	236	220	222	220
query59	3363	3276	3219	3219
query60	280	252	247	247
query61	113	116	106	106
query62	833	713	707	707
query63	241	197	194	194
query64	3865	664	662	662
query65	3305	3242	3261	3242
query66	751	304	305	304
query67	16688	15516	15534	15516
query68	6423	596	540	540
query69	503	255	250	250
query70	1227	1124	1152	1124
query71	537	246	248	246
query72	6182	4104	4007	4007
query73	798	369	369	369
query74	9998	8802	8815	8802
query75	3809	2615	2654	2615
query76	4587	1147	1080	1080
query77	708	284	277	277
query78	10080	9323	9332	9323
query79	1533	601	595	595
query80	1006	427	423	423
query81	507	232	225	225
query82	272	125	121	121
query83	186	147	146	146
query84	284	75	70	70
query85	973	351	299	299
query86	355	297	263	263
query87	4477	4646	4461	4461
query88	4700	2214	2194	2194
query89	500	285	284	284
query90	2158	185	187	185
query91	139	107	101	101
query92	68	50	48	48
query93	4550	561	549	549
query94	827	298	261	261
query95	347	254	250	250
query96	629	284	277	277
query97	2796	2700	2644	2644
query98	214	199	197	197
query99	1609	1329	1321	1321
Total cold run time: 310797 ms
Total hot run time: 196475 ms

@doris-robot
Copy link

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

query1	0.04	0.03	0.03
query2	0.07	0.03	0.04
query3	0.24	0.07	0.07
query4	1.61	0.11	0.10
query5	0.43	0.42	0.42
query6	1.17	0.63	0.65
query7	0.02	0.02	0.02
query8	0.05	0.04	0.03
query9	0.60	0.51	0.52
query10	0.56	0.59	0.55
query11	0.15	0.11	0.11
query12	0.14	0.12	0.12
query13	0.60	0.61	0.59
query14	2.71	2.74	2.72
query15	0.90	0.83	0.82
query16	0.36	0.38	0.37
query17	1.01	0.99	0.96
query18	0.23	0.21	0.22
query19	1.88	1.79	1.91
query20	0.01	0.01	0.01
query21	15.36	0.60	0.58
query22	2.60	2.85	1.88
query23	16.94	1.14	0.80
query24	3.29	1.46	0.68
query25	0.28	0.17	0.06
query26	0.46	0.13	0.14
query27	0.04	0.04	0.05
query28	10.48	1.09	1.08
query29	12.55	3.23	3.21
query30	0.24	0.06	0.06
query31	2.84	0.38	0.38
query32	3.26	0.46	0.45
query33	3.06	3.12	3.12
query34	16.85	4.40	4.48
query35	4.49	4.45	4.43
query36	0.67	0.49	0.48
query37	0.09	0.06	0.05
query38	0.05	0.04	0.03
query39	0.03	0.02	0.02
query40	0.16	0.13	0.12
query41	0.08	0.03	0.02
query42	0.03	0.02	0.02
query43	0.04	0.03	0.04
Total cold run time: 106.67 s
Total hot run time: 32.16 s

@seawinde
Copy link
Contributor Author

run buildall

@morrySnow morrySnow added the p0_b label Dec 23, 2024
@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Dec 23, 2024
Copy link
Contributor

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

Copy link
Contributor

PR approved by anyone and no changes requested.

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17595	7432	7265	7265
q2	2049	185	173	173
q3	10540	1880	1200	1200
q4	10226	767	689	689
q5	7588	2699	2695	2695
q6	234	149	151	149
q7	998	628	636	628
q8	9265	1885	1904	1885
q9	6684	6517	6461	6461
q10	7021	2288	2366	2288
q11	477	256	269	256
q12	434	229	221	221
q13	17773	2954	2922	2922
q14	253	215	215	215
q15	569	507	514	507
q16	671	610	589	589
q17	987	635	507	507
q18	7365	6820	6550	6550
q19	1362	1068	1001	1001
q20	480	187	184	184
q21	4238	3389	3169	3169
q22	389	309	316	309
Total cold run time: 107198 ms
Total hot run time: 39863 ms

----- Round 2, with runtime_filter_mode=off -----
q1	7232	7251	7231	7231
q2	334	237	225	225
q3	2955	2892	3022	2892
q4	2107	1874	1894	1874
q5	5663	5679	5631	5631
q6	222	139	140	139
q7	2240	1739	1792	1739
q8	3420	3544	3536	3536
q9	8953	8937	9005	8937
q10	3610	3610	3542	3542
q11	604	497	493	493
q12	808	594	586	586
q13	12446	3085	3133	3085
q14	304	260	273	260
q15	546	494	507	494
q16	699	620	618	618
q17	1791	1611	1556	1556
q18	7872	7358	7358	7358
q19	1709	1353	1477	1353
q20	2088	1813	1875	1813
q21	5473	5342	5347	5342
q22	684	564	547	547
Total cold run time: 71760 ms
Total hot run time: 59251 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 190372 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 49feadd6c0666e715db4efd6396b1539c8403b1b, data reload: false

query1	997	402	378	378
query2	6525	2402	2364	2364
query3	6713	219	209	209
query4	34169	23608	23571	23571
query5	4333	485	493	485
query6	277	195	203	195
query7	4629	300	304	300
query8	316	255	241	241
query9	9613	2782	2788	2782
query10	461	239	243	239
query11	18320	15248	15418	15248
query12	151	102	103	102
query13	1654	424	411	411
query14	10756	6568	6784	6568
query15	255	181	174	174
query16	8374	424	424	424
query17	1592	563	543	543
query18	2142	293	286	286
query19	351	155	165	155
query20	118	106	107	106
query21	210	102	102	102
query22	4424	4254	4231	4231
query23	35639	33625	33961	33625
query24	10373	2450	2451	2450
query25	641	376	381	376
query26	1181	147	157	147
query27	2415	325	330	325
query28	7793	2443	2431	2431
query29	833	397	416	397
query30	299	150	160	150
query31	1023	803	830	803
query32	99	61	55	55
query33	795	282	282	282
query34	951	512	531	512
query35	836	739	738	738
query36	1124	954	965	954
query37	149	74	75	74
query38	4351	4020	4020	4020
query39	1487	1447	1427	1427
query40	207	100	96	96
query41	46	44	43	43
query42	117	101	101	101
query43	533	481	501	481
query44	1298	796	805	796
query45	192	166	170	166
query46	1157	709	702	702
query47	1954	1857	1868	1857
query48	409	331	357	331
query49	1129	411	412	411
query50	810	393	396	393
query51	7065	6957	7156	6957
query52	103	91	90	90
query53	255	184	189	184
query54	1028	428	407	407
query55	80	78	82	78
query56	254	242	234	234
query57	1218	1096	1115	1096
query58	237	219	222	219
query59	3354	3056	2967	2967
query60	272	250	243	243
query61	112	106	109	106
query62	854	662	688	662
query63	228	186	188	186
query64	4090	678	714	678
query65	3278	3229	3252	3229
query66	748	331	330	330
query67	15919	15544	15621	15544
query68	4884	580	566	566
query69	419	261	263	261
query70	1225	1181	1169	1169
query71	410	250	254	250
query72	6950	4084	4068	4068
query73	771	364	363	363
query74	10049	8891	9012	8891
query75	3418	2630	2673	2630
query76	3181	1098	1021	1021
query77	528	267	358	267
query78	10407	9566	9358	9358
query79	2637	607	612	607
query80	1085	415	450	415
query81	552	242	233	233
query82	944	119	119	119
query83	256	148	145	145
query84	238	65	114	65
query85	1347	297	311	297
query86	443	306	293	293
query87	4777	4451	4608	4451
query88	4052	2268	2223	2223
query89	402	289	303	289
query90	1921	185	186	185
query91	138	109	108	108
query92	71	52	53	52
query93	1624	555	555	555
query94	724	290	273	273
query95	348	253	252	252
query96	612	287	280	280
query97	2889	2704	2706	2704
query98	217	204	194	194
query99	1575	1350	1321	1321
Total cold run time: 302410 ms
Total hot run time: 190372 ms

@doris-robot
Copy link

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

query1	0.03	0.03	0.03
query2	0.09	0.04	0.03
query3	0.23	0.07	0.06
query4	1.62	0.10	0.11
query5	0.43	0.41	0.41
query6	1.14	0.65	0.66
query7	0.02	0.02	0.02
query8	0.04	0.03	0.03
query9	0.59	0.49	0.52
query10	0.55	0.58	0.56
query11	0.14	0.11	0.10
query12	0.13	0.12	0.12
query13	0.61	0.60	0.59
query14	2.75	2.87	2.75
query15	0.90	0.83	0.82
query16	0.39	0.40	0.39
query17	1.06	0.99	1.05
query18	0.22	0.21	0.20
query19	1.98	1.89	2.02
query20	0.01	0.01	0.01
query21	15.35	0.62	0.60
query22	2.30	2.49	1.74
query23	16.89	1.01	0.74
query24	2.99	1.50	0.95
query25	0.25	0.13	0.10
query26	0.44	0.13	0.14
query27	0.05	0.05	0.04
query28	10.61	1.09	1.08
query29	12.60	3.24	3.26
query30	0.25	0.07	0.07
query31	2.85	0.39	0.39
query32	3.23	0.47	0.46
query33	3.11	3.22	3.10
query34	17.09	4.48	4.50
query35	4.52	4.49	4.49
query36	0.68	0.47	0.51
query37	0.10	0.06	0.05
query38	0.05	0.04	0.03
query39	0.03	0.03	0.02
query40	0.17	0.13	0.13
query41	0.08	0.03	0.03
query42	0.04	0.03	0.02
query43	0.04	0.03	0.02
Total cold run time: 106.65 s
Total hot run time: 32.62 s

@morrySnow morrySnow merged commit 067643d into apache:master Dec 24, 2024
28 checks passed
github-actions bot pushed a commit that referenced this pull request Dec 24, 2024
…some test (#45744)

### What problem does this PR solve?

Related PR: #45045

Problem Summary:

if mv2 sql contains mv1 as following, if drop mv_level_1, query mv2
directly would cause err, this fix this

CREATE MATERIALIZED VIEW mv2
BUILD IMMEDIATE REFRESH COMPLETE ON MANUAL
DISTRIBUTED BY RANDOM BUCKETS 2
PROPERTIES ('replication_num' = '1') 
AS
SELECT * FROM mv_level_1;
seawinde added a commit to seawinde/doris that referenced this pull request Dec 24, 2024
…some test (apache#45744)

Related PR: apache#45045

Problem Summary:

if mv2 sql contains mv1 as following, if drop mv_level_1, query mv2
directly would cause err, this fix this

CREATE MATERIALIZED VIEW mv2
BUILD IMMEDIATE REFRESH COMPLETE ON MANUAL
DISTRIBUTED BY RANDOM BUCKETS 2
PROPERTIES ('replication_num' = '1')
AS
SELECT * FROM mv_level_1;
yiguolei pushed a commit that referenced this pull request Dec 24, 2024
yiguolei pushed a commit that referenced this pull request Dec 24, 2024
…err and fix some test #45744 (#45843)

Cherry-picked from #45744

Co-authored-by: seawinde <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by one committer. dev/2.1.8-merged dev/3.0.4-merged p0_b reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants