Skip to content

branch-3.0: [fix](Nereids) insert into with cte cannot be explained (#46384)#46504

Merged
morrySnow merged 1 commit intoapache:branch-3.0from
morrySnow:3.0_46384
Jan 7, 2025
Merged

branch-3.0: [fix](Nereids) insert into with cte cannot be explained (#46384)#46504
morrySnow merged 1 commit intoapache:branch-3.0from
morrySnow:3.0_46384

Conversation

@morrySnow
Copy link
Copy Markdown
Contributor

pick from master #46384

@Thearas
Copy link
Copy Markdown
Contributor

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

@morrySnow
Copy link
Copy Markdown
Contributor Author

run buildall

@doris-robot
Copy link
Copy Markdown

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

------ Round 1 ----------------------------------
q1	17582	7618	7250	7250
q2	2049	167	152	152
q3	10568	1164	1198	1164
q4	10243	797	805	797
q5	7952	3013	2949	2949
q6	248	155	154	154
q7	1016	624	619	619
q8	9540	2022	2116	2022
q9	6747	6452	6429	6429
q10	7096	2339	2325	2325
q11	467	266	260	260
q12	454	213	215	213
q13	17794	2955	3007	2955
q14	232	205	219	205
q15	563	533	525	525
q16	693	607	605	605
q17	1011	541	590	541
q18	7240	6707	6789	6707
q19	1395	1126	1043	1043
q20	486	202	187	187
q21	4049	3214	3143	3143
q22	1114	1014	1018	1014
Total cold run time: 108539 ms
Total hot run time: 41259 ms

----- Round 2, with runtime_filter_mode=off -----
q1	7472	7397	7448	7397
q2	327	245	226	226
q3	3182	3022	2936	2936
q4	2080	1824	1870	1824
q5	5727	5762	5768	5762
q6	230	137	143	137
q7	2213	1778	1782	1778
q8	3400	3566	3489	3489
q9	8929	8983	8991	8983
q10	3591	3625	3544	3544
q11	597	490	505	490
q12	808	645	607	607
q13	7810	3130	3171	3130
q14	302	278	264	264
q15	567	514	515	514
q16	711	644	675	644
q17	1799	1577	1569	1569
q18	7755	7439	7543	7439
q19	1723	1700	1665	1665
q20	2065	1783	1794	1783
q21	5405	5054	5232	5054
q22	1085	1006	997	997
Total cold run time: 67778 ms
Total hot run time: 60232 ms

@doris-robot
Copy link
Copy Markdown

TPC-DS: Total hot run time: 191712 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 25b6630f29091ceec3c7d18c2a25462292b32d71, data reload: false

query1	962	370	381	370
query2	6514	2048	2049	2048
query3	6698	218	220	218
query4	34002	23489	23378	23378
query5	4414	478	471	471
query6	286	190	185	185
query7	4623	316	315	315
query8	299	236	236	236
query9	9766	2691	2692	2691
query10	485	260	272	260
query11	18191	15360	15097	15097
query12	159	116	101	101
query13	1647	435	416	416
query14	9270	7562	6874	6874
query15	303	169	179	169
query16	7701	422	485	422
query17	1763	564	548	548
query18	2027	303	309	303
query19	365	151	148	148
query20	115	104	107	104
query21	203	104	99	99
query22	4644	4406	4344	4344
query23	34671	34086	33851	33851
query24	11191	2863	2857	2857
query25	667	400	392	392
query26	1455	168	167	167
query27	2779	340	349	340
query28	7829	2462	2412	2412
query29	906	442	439	439
query30	324	162	172	162
query31	1004	800	818	800
query32	94	59	54	54
query33	780	276	277	276
query34	1007	507	521	507
query35	849	723	740	723
query36	1086	930	928	928
query37	122	73	76	73
query38	3989	3882	3900	3882
query39	1488	1410	1455	1410
query40	272	101	101	101
query41	52	49	48	48
query42	120	100	100	100
query43	519	474	474	474
query44	1255	809	815	809
query45	178	164	166	164
query46	1162	696	712	696
query47	1900	1867	1846	1846
query48	466	379	382	379
query49	1159	392	377	377
query50	835	414	420	414
query51	7329	6968	7159	6968
query52	104	91	89	89
query53	262	182	183	182
query54	1206	464	467	464
query55	81	78	77	77
query56	279	258	251	251
query57	1220	1101	1115	1101
query58	235	210	210	210
query59	3160	3020	3025	3020
query60	299	259	257	257
query61	136	135	137	135
query62	891	664	671	664
query63	228	199	190	190
query64	5435	809	735	735
query65	3305	3218	3222	3218
query66	1485	319	323	319
query67	16065	15748	15562	15562
query68	4418	583	602	583
query69	434	284	273	273
query70	1225	1068	1133	1068
query71	341	272	255	255
query72	6631	4221	4243	4221
query73	754	350	356	350
query74	9982	9128	8965	8965
query75	3382	2628	2678	2628
query76	2732	1032	1125	1032
query77	386	279	269	269
query78	10532	9660	9642	9642
query79	1870	603	617	603
query80	1172	448	429	429
query81	574	245	242	242
query82	926	121	120	120
query83	225	151	145	145
query84	240	82	82	82
query85	1310	312	296	296
query86	417	293	294	293
query87	4404	4341	4220	4220
query88	3853	2411	2359	2359
query89	408	289	291	289
query90	2047	191	188	188
query91	201	153	153	153
query92	68	52	52	52
query93	1820	565	557	557
query94	990	299	300	299
query95	355	258	259	258
query96	632	293	286	286
query97	3293	3178	3148	3148
query98	207	202	199	199
query99	1521	1327	1288	1288
Total cold run time: 301666 ms
Total hot run time: 191712 ms

@doris-robot
Copy link
Copy Markdown

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

query1	0.03	0.03	0.03
query2	0.07	0.03	0.04
query3	0.23	0.06	0.06
query4	1.63	0.11	0.11
query5	0.52	0.51	0.55
query6	1.14	0.73	0.72
query7	0.02	0.02	0.02
query8	0.04	0.03	0.03
query9	0.56	0.52	0.50
query10	0.56	0.55	0.57
query11	0.14	0.10	0.10
query12	0.13	0.11	0.11
query13	0.60	0.59	0.60
query14	3.03	2.92	2.92
query15	0.90	0.84	0.84
query16	0.41	0.39	0.37
query17	1.06	1.06	1.02
query18	0.24	0.22	0.21
query19	1.85	1.89	1.97
query20	0.02	0.01	0.01
query21	15.39	0.59	0.60
query22	2.56	2.59	1.63
query23	16.93	0.98	0.83
query24	3.48	1.29	0.99
query25	0.18	0.14	0.05
query26	0.53	0.13	0.14
query27	0.04	0.04	0.03
query28	10.22	1.10	1.07
query29	12.56	3.30	3.32
query30	0.25	0.07	0.06
query31	2.87	0.39	0.39
query32	3.23	0.46	0.48
query33	2.99	3.01	3.03
query34	17.21	4.57	4.52
query35	4.52	4.49	4.58
query36	0.68	0.51	0.48
query37	0.09	0.05	0.07
query38	0.04	0.03	0.04
query39	0.04	0.03	0.02
query40	0.17	0.13	0.13
query41	0.08	0.02	0.02
query42	0.04	0.02	0.02
query43	0.03	0.03	0.04
Total cold run time: 107.31 s
Total hot run time: 32.95 s

@morrySnow morrySnow merged commit 22c6895 into apache:branch-3.0 Jan 7, 2025
@morrySnow morrySnow deleted the 3.0_46384 branch January 7, 2025 09:38
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.

3 participants