Skip to content

Conversation

@github-actions
Copy link
Contributor

Cherry-picked from #45744

…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;
@Thearas
Copy link
Contributor

Thearas commented Dec 24, 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?

@dataroaring dataroaring reopened this Dec 24, 2024
@Thearas
Copy link
Contributor

Thearas commented Dec 24, 2024

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17605	7328	7281	7281
q2	2067	164	158	158
q3	10831	1118	1145	1118
q4	10640	738	683	683
q5	8086	2834	2810	2810
q6	238	147	146	146
q7	980	626	604	604
q8	9440	1922	1969	1922
q9	6788	6496	6470	6470
q10	8109	2350	2355	2350
q11	464	254	258	254
q12	409	212	210	210
q13	17798	2975	2985	2975
q14	230	209	203	203
q15	561	513	515	513
q16	674	602	591	591
q17	966	548	578	548
q18	7418	6509	6597	6509
q19	1995	1017	1078	1017
q20	482	194	194	194
q21	3993	3086	3041	3041
q22	1075	970	990	970
Total cold run time: 110849 ms
Total hot run time: 40567 ms

----- Round 2, with runtime_filter_mode=off -----
q1	7275	7243	7185	7185
q2	332	228	233	228
q3	2873	2703	2644	2644
q4	1875	1659	1616	1616
q5	5321	5452	5386	5386
q6	219	137	138	137
q7	2055	1662	1675	1662
q8	3193	3385	3366	3366
q9	8478	8434	8477	8434
q10	3445	3397	3388	3388
q11	590	484	490	484
q12	752	541	578	541
q13	16871	2940	2942	2940
q14	300	264	253	253
q15	564	510	524	510
q16	676	677	661	661
q17	1812	1570	1543	1543
q18	7482	7329	7283	7283
q19	1682	1467	1440	1440
q20	1988	1785	1799	1785
q21	5055	5147	4974	4974
q22	1070	972	980	972
Total cold run time: 73908 ms
Total hot run time: 57432 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 188625 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 75baa77ead3ffca3476f64d4bfab3c13b1899011, data reload: false

query1	987	373	364	364
query2	6524	2088	2031	2031
query3	6700	212	217	212
query4	34327	23427	23318	23318
query5	4345	438	437	437
query6	277	160	160	160
query7	4625	312	297	297
query8	278	219	214	214
query9	9394	2690	2665	2665
query10	484	263	275	263
query11	18246	15108	15226	15108
query12	155	100	102	100
query13	1633	422	403	403
query14	9564	6457	6099	6099
query15	207	172	169	169
query16	7788	446	467	446
query17	1416	559	539	539
query18	1982	302	309	302
query19	202	157	148	148
query20	117	107	107	107
query21	61	46	47	46
query22	4803	4323	4195	4195
query23	34567	33515	33781	33515
query24	12475	2801	2841	2801
query25	690	369	368	368
query26	1899	163	158	158
query27	3088	289	287	287
query28	8385	2464	2413	2413
query29	1189	422	417	417
query30	335	159	158	158
query31	1024	787	804	787
query32	90	57	54	54
query33	769	258	295	258
query34	998	487	483	483
query35	852	733	729	729
query36	1096	942	933	933
query37	274	70	67	67
query38	4020	3831	3885	3831
query39	1467	1429	1418	1418
query40	232	80	82	80
query41	50	48	48	48
query42	111	96	93	93
query43	529	492	475	475
query44	1295	768	776	768
query45	174	166	165	165
query46	1141	673	747	673
query47	1918	1824	1814	1814
query48	440	373	365	365
query49	1279	360	364	360
query50	813	393	389	389
query51	7121	7076	7079	7076
query52	96	93	91	91
query53	267	188	180	180
query54	1234	443	437	437
query55	74	76	73	73
query56	259	232	223	223
query57	1179	1137	1090	1090
query58	245	192	200	192
query59	3107	2904	2858	2858
query60	278	243	253	243
query61	110	105	107	105
query62	856	656	670	656
query63	205	187	182	182
query64	5339	662	621	621
query65	3254	3181	3161	3161
query66	1426	321	301	301
query67	15879	15495	15574	15495
query68	4305	550	555	550
query69	407	253	255	253
query70	1166	1127	1135	1127
query71	361	260	256	256
query72	6579	4024	3880	3880
query73	744	337	334	334
query74	9874	8938	8907	8907
query75	3355	2626	2600	2600
query76	2718	1150	1054	1054
query77	415	265	260	260
query78	10691	9766	9560	9560
query79	2736	582	589	582
query80	2059	414	403	403
query81	581	238	235	235
query82	773	116	116	116
query83	254	140	151	140
query84	289	87	81	81
query85	2199	301	281	281
query86	494	276	290	276
query87	4503	4231	4235	4231
query88	4834	2366	2385	2366
query89	435	285	304	285
query90	2050	186	183	183
query91	180	143	143	143
query92	59	48	50	48
query93	4901	549	525	525
query94	975	289	293	289
query95	352	244	243	243
query96	636	277	280	277
query97	3364	3145	3125	3125
query98	216	199	203	199
query99	1642	1304	1302	1302
Total cold run time: 310391 ms
Total hot run time: 188625 ms

@yiguolei yiguolei merged commit 819813d into branch-3.0 Dec 24, 2024
19 of 21 checks passed
@github-actions github-actions bot deleted the auto-pick-45744-branch-3.0 branch December 24, 2024 12:03
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.

6 participants