Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Nov 6, 2024

Cherry-picked from #42279

…sure the same test code in different version (#42279)

Auto calc the value of sync_cbo_rewrite variable to make sure the same
test code in different version.
Because the query rewrite by mv code is a little different from 2.1 to
3.0 and master.
But should keep same regression test code in different version. 
So add the methoed `enable_sync_mv_cost_based_rewrite` to get
`enable_sync_mv_cost_based_rewrite` session variable, then decide to
regression test logic by the variable auto.
@doris-robot
Copy link

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

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@doris-robot
Copy link

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17571	7636	7367	7367
q2	2068	151	162	151
q3	10906	1055	1100	1055
q4	10550	763	678	678
q5	7738	2804	2727	2727
q6	233	145	144	144
q7	950	604	609	604
q8	9331	1905	1954	1905
q9	6517	6386	6422	6386
q10	6994	2289	2314	2289
q11	454	275	264	264
q12	401	209	207	207
q13	17787	2952	2921	2921
q14	243	201	202	201
q15	572	507	507	507
q16	669	603	591	591
q17	966	608	630	608
q18	7314	6579	6671	6579
q19	2287	1050	951	951
q20	458	195	196	195
q21	3908	3319	3147	3147
q22	1124	1027	998	998
Total cold run time: 109041 ms
Total hot run time: 40475 ms

----- Round 2, with runtime_filter_mode=off -----
q1	7472	7354	7363	7354
q2	331	222	229	222
q3	2923	2924	2885	2885
q4	2037	1819	1702	1702
q5	5674	5731	5766	5731
q6	231	145	146	145
q7	2230	1801	1760	1760
q8	3346	3499	3419	3419
q9	8932	9215	9086	9086
q10	3665	3518	3556	3518
q11	613	513	520	513
q12	859	648	639	639
q13	16898	3306	3186	3186
q14	304	293	274	274
q15	565	508	528	508
q16	703	685	666	666
q17	1854	1640	1625	1625
q18	8152	7909	7573	7573
q19	8419	1591	1630	1591
q20	2015	1845	1832	1832
q21	5350	5254	5330	5254
q22	1131	1025	1012	1012
Total cold run time: 83704 ms
Total hot run time: 60495 ms

@doris-robot
Copy link

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

query1	1301	918	930	918
query2	6199	2078	2051	2051
query3	10747	3833	3719	3719
query4	68407	28355	23301	23301
query5	5800	441	427	427
query6	462	175	173	173
query7	6417	299	318	299
query8	349	230	224	224
query9	9637	2623	2617	2617
query10	482	260	256	256
query11	18343	15148	15561	15148
query12	164	104	103	103
query13	1630	437	409	409
query14	11029	7020	7077	7020
query15	228	191	190	190
query16	7282	443	493	443
query17	1102	565	548	548
query18	1839	302	288	288
query19	207	151	152	151
query20	114	109	114	109
query21	211	106	101	101
query22	4533	4526	4424	4424
query23	34453	33695	33719	33695
query24	5573	2796	2894	2796
query25	559	399	403	399
query26	674	161	167	161
query27	1708	295	285	285
query28	4102	2489	2471	2471
query29	705	432	418	418
query30	234	156	160	156
query31	1025	796	819	796
query32	66	60	62	60
query33	522	267	311	267
query34	963	481	500	481
query35	887	711	714	711
query36	1097	919	914	914
query37	120	73	71	71
query38	3906	3852	3859	3852
query39	1518	1407	1408	1407
query40	213	100	98	98
query41	51	49	48	48
query42	114	98	95	95
query43	534	485	480	480
query44	1166	765	764	764
query45	185	165	167	165
query46	1195	731	720	720
query47	1970	1824	1859	1824
query48	459	357	356	356
query49	749	411	397	397
query50	853	403	408	403
query51	7309	6967	7056	6967
query52	106	92	91	91
query53	265	185	184	184
query54	558	451	445	445
query55	76	76	74	74
query56	258	242	254	242
query57	1253	1113	1113	1113
query58	208	197	204	197
query59	3292	2846	2886	2846
query60	271	242	243	242
query61	97	97	98	97
query62	820	676	673	673
query63	222	186	179	179
query64	1595	605	586	586
query65	3292	3144	3211	3144
query66	738	301	296	296
query67	15874	15450	15119	15119
query68	4563	597	544	544
query69	426	243	250	243
query70	1159	1129	1104	1104
query71	414	256	243	243
query72	6494	4022	4028	4022
query73	788	338	331	331
query74	10341	8903	8883	8883
query75	3500	2589	2632	2589
query76	2721	1051	1044	1044
query77	493	260	255	255
query78	10907	9769	9494	9494
query79	10561	589	584	584
query80	1969	401	411	401
query81	561	237	243	237
query82	1469	111	120	111
query83	307	139	135	135
query84	291	75	78	75
query85	1851	283	281	281
query86	470	302	266	266
query87	4513	4280	4212	4212
query88	5669	2365	2354	2354
query89	550	292	289	289
query90	2053	175	171	171
query91	180	137	141	137
query92	57	47	45	45
query93	7108	546	539	539
query94	832	292	269	269
query95	355	245	244	244
query96	691	280	284	280
query97	3455	3126	3128	3126
query98	218	194	195	194
query99	1654	1297	1307	1297
Total cold run time: 344938 ms
Total hot run time: 193703 ms

@dataroaring dataroaring closed this Nov 7, 2024
@dataroaring dataroaring reopened this Nov 7, 2024
@dataroaring dataroaring merged commit 50475fa into branch-3.0 Nov 14, 2024
@dataroaring dataroaring deleted the auto-pick-42279-branch-3.0 branch November 14, 2024 11:10
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.

4 participants