Skip to content

Conversation

@msridhar78
Copy link
Contributor

@msridhar78 msridhar78 commented Sep 8, 2025

What problem does this PR solve?

Issue Number: close #xxx

Related PR: #xxx

Problem Summary:

query64.sql from TPCDS test cases was failing due to TIMEOUT. The dataset used for this query had lot of duplicates in the DB tables.

When we saw the generated plan a JOIN node had the same CTE node as its two children - This could cause cyclic dependency where one CTE is waiting for the other and vice versa.

Also, the data size was big and probe side buffer becomes full.
To avoid this - the changes in this PR are made to inline the plan when such a situation occurs (where JOIN node has 2 or more same CTE nodes as its children)

Example:
Consider the following query example (in tpcds database):

with cs_ui as (
select cs_item_sk, sum(cs_ext_list_price) as sale
from catalog_sales
group by cs_item_sk
) select a.cs_item_sk
from cs_ui a, cs_ui b
where a.cs_item_sk = b.cs_item_sk;

In this query, the CTE cs_ui is used twice (as a and b) - Since both sides of the JOIN node reference the same CTE,
we break the CTE optimization for this plan. Each reference to cs_ui must remain distinct during the JOIN operation.
By breaking the plan and inlining it, the above change that each instance of CTE is handled sperately, we can avoid the problems of cyclic dependency.

Note that the above changes are applied ONLY to JOIN nodes and UNION and AGGREAGTES are excluded from this.

A new session variable "enable_join_same_cte_child" (with default value as true) - This will allow JOIN node with same children. (same as existing/default bahavior)

If the user wishes to use the new behavior of not having JOIN with same children - need to set
"enable_join_same_cte_child" = "false"

Following is the explain output when "enable_join_same_cte_child" = "true" (EXISTING BEHAVIOR)

mysql> set enable_join_same_cte_child = "true";
Query OK, 0 rows affected (0.01 sec)

mysql> show variables like "%enable_join_same_cte_child%";
+----------------------------+-------+---------------+---------+
| Variable_name | Value | Default_Value | Changed |
+----------------------------+-------+---------------+---------+
| enable_join_same_cte_child | true | true | 1 |
+----------------------------+-------+---------------+---------+
1 row in set (0.00 sec)

mysql> explain with cs_ui as (select cs_item_sk, sum(cs_ext_list_price) as sale from catalog_sales group by cs_item_sk) select a.cs_item_sk from cs_ui a, cs_ui b where a.cs_item_sk = b.cs_item_sk;
+------------------------------------------------------------------------------+
| Explain String(Nereids Planner) |
+------------------------------------------------------------------------------+
| PLAN FRAGMENT 0 |
| OUTPUT EXPRS: |
| cs_item_sk[#41] |
| PARTITION: RANDOM |
| |
| HAS_COLO_PLAN_NODE: false |
| |
| VRESULT SINK |
| MYSQL_PROTOCAL |
| |
| 6:VHASH JOIN(375) |
| | join op: INNER JOIN(BROADCAST)[] |
| | equal join conjunct: (cs_item_sk[#38] = cs_item_sk[#37]) |
| | cardinality=200,414 |
| | vec output tuple id: 7 |
| | output tuple id: 7 |
| | vIntermediate tuple ids: 6 |
| | hash output slot ids: 38 |
| | final projections: cs_item_sk[#39] |
| | final project output tuple id: 7 |
| | distribute expr lists: |
| | distribute expr lists: |
| | |
| |----4:VEXCHANGE |
| | offset: 0 |
| | distribute expr lists: |
| | |
| 5:VEXCHANGE |
| offset: 0 |
| distribute expr lists: |
| |
| PLAN FRAGMENT 1 |
| OUTPUT EXPRS: |
| cs_item_sk[#36] |
| PARTITION: HASH_PARTITIONED: cs_item_sk[#35] |
| |
| HAS_COLO_PLAN_NODE: true |
| |
| MultiCastDataSinks |
| STREAM DATA SINK |
| EXCHANGE ID: 04 |
| UNPARTITIONED |
| PROJECTIONS: cs_item_sk[#36] |
| PROJECTION TUPLE: 4 |
| STREAM DATA SINK |
| EXCHANGE ID: 05 |
| RANDOM |
| PROJECTIONS: cs_item_sk[#36] |
| PROJECTION TUPLE: 5 |
| |
| 3:VAGGREGATE (merge finalize)(357) |
| | group by: cs_item_sk[#35] |
| | sortByGroupKey:false |
| | cardinality=200,414 |
| | distribute expr lists: cs_item_sk[#35] |
| | |
| 2:VEXCHANGE |
| offset: 0 |
| distribute expr lists: cs_item_sk[#35] |
| |
| PLAN FRAGMENT 2 |
| |
| PARTITION: HASH_PARTITIONED: cs_item_sk[#1], cs_order_number[#2] |
| |
| HAS_COLO_PLAN_NODE: false |
| |
| STREAM DATA SINK |
| EXCHANGE ID: 02 |
| HASH_PARTITIONED: cs_item_sk[#35] |
| |
| 1:VAGGREGATE (update finalize)(349) |
| | STREAMING |
| | group by: cs_item_sk[#34] |
| | sortByGroupKey:false |
| | cardinality=200,414 |
| | distribute expr lists: cs_item_sk[#34] |
| | |
| 0:VOlapScanNode(341) |
| TABLE: tpcds.catalog_sales(catalog_sales), PREAGGREGATION: ON |
| partitions=1/1 (catalog_sales) |
| tablets=96/96, tabletList=1757302757630,1757302757632,1757302757634 ... |
| cardinality=143997065, avgRowSize=337.41714, numNodes=1 |
| pushAggOp=NONE |
| final projections: cs_item_sk[#1] |
| final project output tuple id: 1 |
| |
| |
| |
| ========== STATISTICS ========== |
+------------------------------------------------------------------------------+
89 rows in set (0.02 sec)

Following is the explain output when "enable_join_same_cte_child" = "false" (NEW behavior)

mysql> set enable_join_same_cte_child = "false";
Query OK, 0 rows affected (0.01 sec)

mysql> explain with cs_ui as (select cs_item_sk, sum(cs_ext_list_price) as sale from catalog_sales group by cs_item_sk) select a.cs_item_sk from cs_ui a, cs_ui b where a.cs_item_sk = b.cs_item_sk;
+------------------------------------------------------------------------------+
| Explain String(Nereids Planner) |
+------------------------------------------------------------------------------+
| PLAN FRAGMENT 0 |
| OUTPUT EXPRS: |
| cs_item_sk[#78] |
| PARTITION: HASH_PARTITIONED: cs_item_sk[#73] |
| |
| HAS_COLO_PLAN_NODE: true |
| |
| VRESULT SINK |
| MYSQL_PROTOCAL |
| |
| 8:VHASH JOIN(504) |
| | join op: INNER JOIN(PARTITIONED)[] |
| | equal join conjunct: (cs_item_sk[#75] = cs_item_sk[#37]) |
| | cardinality=200,414 |
| | vec output tuple id: 11 |
| | output tuple id: 11 |
| | vIntermediate tuple ids: 10 |
| | hash output slot ids: 75 |
| | final projections: cs_item_sk[#76] |
| | final project output tuple id: 11 |
| | distribute expr lists: cs_item_sk[#75] |
| | distribute expr lists: cs_item_sk[#37] |
| | |
| |----3:VAGGREGATE (merge finalize)(496) |
| | | group by: cs_item_sk[#35] |
| | | sortByGroupKey:false |
| | | cardinality=200,414 |
| | | final projections: cs_item_sk[#36] |
| | | final project output tuple id: 4 |
| | | distribute expr lists: cs_item_sk[#35] |
| | | |
| | 2:VEXCHANGE |
| | offset: 0 |
| | distribute expr lists: cs_item_sk[#35] |
| | |
| 7:VAGGREGATE (merge finalize)(475) |
| | group by: cs_item_sk[#73] |
| | sortByGroupKey:false |
| | cardinality=200,414 |
| | final projections: cs_item_sk[#74] |
| | final project output tuple id: 9 |
| | distribute expr lists: cs_item_sk[#73] |
| | |
| 6:VEXCHANGE |
| offset: 0 |
| distribute expr lists: cs_item_sk[#73] |
| |
| PLAN FRAGMENT 1 |
| |
| PARTITION: HASH_PARTITIONED: cs_item_sk[#39], cs_order_number[#40] |
| |
| HAS_COLO_PLAN_NODE: false |
| |
| STREAM DATA SINK |
| EXCHANGE ID: 06 |
| HASH_PARTITIONED: cs_item_sk[#73] |
| |
| 5:VAGGREGATE (update finalize)(467) |
| | STREAMING |
| | group by: cs_item_sk[#72] |
| | sortByGroupKey:false |
| | cardinality=200,414 |
| | distribute expr lists: cs_item_sk[#72] |
| | |
| 4:VOlapScanNode(459) |
| TABLE: tpcds.catalog_sales(catalog_sales), PREAGGREGATION: ON |
| partitions=1/1 (catalog_sales) |
| tablets=96/96, tabletList=1757302757630,1757302757632,1757302757634 ... |
| cardinality=143997065, avgRowSize=337.41714, numNodes=1 |
| pushAggOp=NONE |
| final projections: cs_item_sk[#39] |
| final project output tuple id: 6 |
| |
| PLAN FRAGMENT 2 |
| |
| PARTITION: HASH_PARTITIONED: cs_item_sk[#1], cs_order_number[#2] |
| |
| HAS_COLO_PLAN_NODE: false |
| |
| STREAM DATA SINK |
| EXCHANGE ID: 02 |
| HASH_PARTITIONED: cs_item_sk[#35] |
| |
| 1:VAGGREGATE (update finalize)(488) |
| | STREAMING |
| | group by: cs_item_sk[#34] |
| | sortByGroupKey:false |
| | cardinality=200,414 |
| | distribute expr lists: cs_item_sk[#34] |
| | |
| 0:VOlapScanNode(480) |
| TABLE: tpcds.catalog_sales(catalog_sales), PREAGGREGATION: ON |
| partitions=1/1 (catalog_sales) |
| tablets=96/96, tabletList=1757302757630,1757302757632,1757302757634 ... |
| cardinality=143997065, avgRowSize=337.41714, numNodes=1 |
| pushAggOp=NONE |
| final projections: cs_item_sk[#1] |
| final project output tuple id: 1 |
| |
| |
| |
| ========== STATISTICS ========== |
+------------------------------------------------------------------------------+
102 rows in set (0.02 sec)

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?

@msridhar78
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17665	5247	5060	5060
q2	1998	346	216	216
q3	10211	1290	705	705
q4	10230	1023	522	522
q5	7518	2418	2339	2339
q6	184	165	136	136
q7	945	765	624	624
q8	9348	1351	1074	1074
q9	6838	5104	5159	5104
q10	6921	2383	1982	1982
q11	504	303	268	268
q12	362	374	225	225
q13	17778	3656	3051	3051
q14	244	240	217	217
q15	573	499	489	489
q16	1016	1005	958	958
q17	605	854	372	372
q18	7677	7165	7078	7078
q19	1522	948	561	561
q20	337	347	230	230
q21	3708	2609	2359	2359
q22	1063	1009	1002	1002
Total cold run time: 107247 ms
Total hot run time: 34572 ms

----- Round 2, with runtime_filter_mode=off -----
q1	5211	5111	5111	5111
q2	250	338	234	234
q3	2190	2657	2308	2308
q4	1348	1789	1334	1334
q5	4204	4383	4626	4383
q6	224	185	132	132
q7	2059	1966	1804	1804
q8	2668	2666	2623	2623
q9	7580	7313	7413	7313
q10	3087	3323	2830	2830
q11	572	511	522	511
q12	667	807	623	623
q13	3811	3845	3466	3466
q14	276	287	276	276
q15	510	478	488	478
q16	1066	1116	1066	1066
q17	1161	1580	1378	1378
q18	7925	7805	7753	7753
q19	806	823	814	814
q20	2014	1954	1849	1849
q21	4825	4313	4256	4256
q22	1088	1025	1009	1009
Total cold run time: 53542 ms
Total hot run time: 51551 ms

@hello-stephen
Copy link
Contributor

FE UT Coverage Report

Increment line coverage 85.19% (23/27) 🎉
Increment coverage report
Complete coverage report

@hello-stephen
Copy link
Contributor

FE Regression Coverage Report

Increment line coverage 85.19% (23/27) 🎉
Increment coverage report
Complete coverage report

@msridhar78 msridhar78 force-pushed the modify_multicast_plan branch from 82aca95 to ab21d4e Compare October 6, 2025 08:02
@msridhar78
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

query1	1051	438	399	399
query2	6550	1689	1712	1689
query3	6761	222	215	215
query4	25935	23669	23345	23345
query5	5302	645	499	499
query6	347	259	249	249
query7	4661	497	301	301
query8	324	292	263	263
query9	8733	2598	2556	2556
query10	538	336	294	294
query11	15538	15156	14833	14833
query12	187	121	117	117
query13	1690	570	464	464
query14	12553	9340	9159	9159
query15	268	187	180	180
query16	7831	672	484	484
query17	1629	760	641	641
query18	2250	462	363	363
query19	305	252	193	193
query20	136	136	129	129
query21	227	145	126	126
query22	4822	4641	4817	4641
query23	34932	34063	33666	33666
query24	8209	2570	2587	2570
query25	568	535	489	489
query26	1244	279	162	162
query27	2784	534	381	381
query28	4470	2206	2197	2197
query29	840	643	498	498
query30	312	245	218	218
query31	994	853	777	777
query32	83	70	72	70
query33	591	399	348	348
query34	807	874	533	533
query35	829	862	768	768
query36	985	1076	948	948
query37	146	127	100	100
query38	3733	3685	3615	3615
query39	1502	1429	1402	1402
query40	229	134	129	129
query41	66	64	63	63
query42	121	117	130	117
query43	487	510	470	470
query44	1329	835	834	834
query45	193	180	174	174
query46	851	1005	646	646
query47	1777	1806	1737	1737
query48	393	431	353	353
query49	783	500	428	428
query50	641	687	406	406
query51	3898	3907	3891	3891
query52	114	108	99	99
query53	233	265	194	194
query54	618	585	517	517
query55	85	87	88	87
query56	340	324	342	324
query57	1171	1202	1122	1122
query58	299	279	273	273
query59	2558	2698	2486	2486
query60	340	352	338	338
query61	157	152	154	152
query62	789	719	666	666
query63	226	205	192	192
query64	4445	1153	833	833
query65	4150	3986	3969	3969
query66	1100	450	330	330
query67	15594	15463	15463	15463
query68	9761	959	598	598
query69	521	329	285	285
query70	1434	1254	1341	1254
query71	506	336	309	309
query72	5548	4997	4867	4867
query73	713	581	369	369
query74	8953	9095	8647	8647
query75	4571	3323	2775	2775
query76	4822	1175	765	765
query77	1027	397	324	324
query78	9478	9670	8933	8933
query79	5600	840	589	589
query80	724	583	516	516
query81	492	263	234	234
query82	413	166	140	140
query83	302	278	246	246
query84	310	115	95	95
query85	881	565	439	439
query86	345	317	315	315
query87	3800	3807	3716	3716
query88	2917	2256	2270	2256
query89	445	331	299	299
query90	2099	228	230	228
query91	162	157	141	141
query92	83	70	67	67
query93	3590	969	643	643
query94	713	451	345	345
query95	410	326	316	316
query96	495	583	290	290
query97	2986	3013	2880	2880
query98	241	221	221	221
query99	1436	1438	1323	1323
Total cold run time: 289432 ms
Total hot run time: 190600 ms

@doris-robot
Copy link

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

query1	0.05	0.04	0.05
query2	0.09	0.06	0.05
query3	0.26	0.09	0.08
query4	1.61	0.12	0.12
query5	0.28	0.26	0.25
query6	1.20	0.67	0.65
query7	0.03	0.03	0.02
query8	0.05	0.04	0.04
query9	0.63	0.54	0.51
query10	0.59	0.60	0.57
query11	0.17	0.11	0.11
query12	0.15	0.12	0.12
query13	0.65	0.62	0.62
query14	1.04	1.05	1.04
query15	0.88	0.86	0.85
query16	0.40	0.40	0.40
query17	1.08	1.06	1.07
query18	0.22	0.19	0.20
query19	1.94	1.82	1.87
query20	0.01	0.01	0.02
query21	15.43	0.94	0.57
query22	0.76	1.08	0.66
query23	15.06	1.38	0.64
query24	7.94	1.17	0.47
query25	0.53	0.22	0.11
query26	0.73	0.16	0.13
query27	0.07	0.06	0.05
query28	8.45	1.33	0.92
query29	12.53	3.93	3.33
query30	0.28	0.14	0.12
query31	2.84	0.61	0.39
query32	3.23	0.55	0.50
query33	3.22	3.11	3.18
query34	16.17	5.48	4.88
query35	4.96	4.90	4.96
query36	0.68	0.52	0.50
query37	0.11	0.08	0.07
query38	0.06	0.04	0.04
query39	0.04	0.03	0.03
query40	0.17	0.16	0.13
query41	0.09	0.03	0.03
query42	0.04	0.03	0.03
query43	0.04	0.03	0.03
Total cold run time: 104.76 s
Total hot run time: 30.19 s

@hello-stephen
Copy link
Contributor

FE UT Coverage Report

Increment line coverage 25.93% (7/27) 🎉
Increment coverage report
Complete coverage report

@hello-stephen
Copy link
Contributor

FE Regression Coverage Report

Increment line coverage 25.93% (7/27) 🎉
Increment coverage report
Complete coverage report

@msridhar78
Copy link
Contributor Author

run P0

@msridhar78
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

query1	1123	417	407	407
query2	6552	1704	1656	1656
query3	6751	229	228	228
query4	26119	24013	23609	23609
query5	5459	662	494	494
query6	341	256	227	227
query7	4656	502	310	310
query8	315	273	263	263
query9	8731	2584	2590	2584
query10	554	352	294	294
query11	15681	15114	15609	15114
query12	190	129	141	129
query13	1827	589	466	466
query14	12693	9644	9576	9576
query15	267	203	177	177
query16	8697	739	570	570
query17	1727	852	664	664
query18	2237	436	337	337
query19	331	209	203	203
query20	136	137	143	137
query21	228	142	112	112
query22	4555	4616	4541	4541
query23	34936	34373	33566	33566
query24	8006	2366	2395	2366
query25	555	502	433	433
query26	1230	266	154	154
query27	2629	498	360	360
query28	4315	2153	2144	2144
query29	760	606	481	481
query30	297	223	200	200
query31	877	829	748	748
query32	75	70	65	65
query33	573	386	351	351
query34	802	831	509	509
query35	804	836	749	749
query36	958	989	928	928
query37	119	113	83	83
query38	3526	3574	3518	3518
query39	1501	1412	1449	1412
query40	223	124	113	113
query41	61	57	58	57
query42	123	116	112	112
query43	479	505	473	473
query44	1304	834	826	826
query45	187	181	173	173
query46	841	1006	635	635
query47	1768	1787	1723	1723
query48	423	419	327	327
query49	767	513	423	423
query50	636	681	416	416
query51	3880	3955	3951	3951
query52	107	106	100	100
query53	247	266	195	195
query54	592	596	537	537
query55	86	81	82	81
query56	331	300	298	298
query57	1162	1204	1110	1110
query58	291	277	300	277
query59	2527	2606	2507	2507
query60	356	340	321	321
query61	154	198	155	155
query62	780	739	632	632
query63	226	190	195	190
query64	4443	1184	855	855
query65	4077	3985	3961	3961
query66	1059	437	337	337
query67	15493	15316	15080	15080
query68	7969	935	601	601
query69	497	323	285	285
query70	1348	1322	1311	1311
query71	433	333	298	298
query72	5869	4799	4802	4799
query73	634	567	350	350
query74	9015	9135	9057	9057
query75	3361	3386	2812	2812
query76	3150	1174	727	727
query77	502	403	419	403
query78	9581	9805	8909	8909
query79	1987	853	600	600
query80	755	568	484	484
query81	517	269	228	228
query82	396	168	136	136
query83	273	275	256	256
query84	270	117	99	99
query85	883	465	480	465
query86	359	327	298	298
query87	3782	3821	3662	3662
query88	2840	2240	2194	2194
query89	399	323	296	296
query90	1996	225	219	219
query91	167	169	133	133
query92	81	69	63	63
query93	1472	986	640	640
query94	698	417	354	354
query95	403	326	319	319
query96	485	588	283	283
query97	2936	2993	2892	2892
query98	235	217	208	208
query99	1404	1414	1292	1292
Total cold run time: 278453 ms
Total hot run time: 190703 ms

@doris-robot
Copy link

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

query1	0.05	0.05	0.05
query2	0.09	0.06	0.06
query3	0.25	0.08	0.08
query4	1.61	0.11	0.12
query5	0.29	0.27	0.25
query6	1.15	0.66	0.65
query7	0.04	0.03	0.03
query8	0.06	0.05	0.04
query9	0.64	0.53	0.53
query10	0.58	0.58	0.57
query11	0.19	0.11	0.12
query12	0.15	0.12	0.12
query13	0.64	0.62	0.63
query14	1.01	1.05	1.02
query15	0.86	0.85	0.86
query16	0.42	0.40	0.40
query17	1.09	1.06	1.09
query18	0.21	0.21	0.20
query19	1.93	1.90	1.81
query20	0.01	0.01	0.02
query21	15.51	0.94	0.59
query22	0.76	1.17	0.73
query23	14.84	1.40	0.63
query24	6.75	1.86	0.76
query25	0.54	0.29	0.07
query26	0.51	0.16	0.13
query27	0.07	0.06	0.06
query28	9.90	1.36	0.93
query29	12.60	3.91	3.31
query30	0.29	0.14	0.11
query31	2.82	0.59	0.40
query32	3.23	0.55	0.48
query33	3.10	3.07	3.10
query34	16.20	5.54	4.81
query35	5.00	4.96	4.95
query36	0.72	0.51	0.51
query37	0.10	0.07	0.08
query38	0.07	0.05	0.05
query39	0.04	0.03	0.03
query40	0.17	0.16	0.14
query41	0.09	0.03	0.03
query42	0.04	0.03	0.03
query43	0.04	0.04	0.03
Total cold run time: 104.66 s
Total hot run time: 30.49 s

@hello-stephen
Copy link
Contributor

FE UT Coverage Report

Increment line coverage 25.93% (7/27) 🎉
Increment coverage report
Complete coverage report

@hello-stephen
Copy link
Contributor

FE Regression Coverage Report

Increment line coverage 25.93% (7/27) 🎉
Increment coverage report
Complete coverage report

@msridhar78
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

query1	1087	451	424	424
query2	6553	1713	1703	1703
query3	6751	224	221	221
query4	26040	23599	23361	23361
query5	4452	673	501	501
query6	317	240	215	215
query7	4657	493	288	288
query8	296	272	251	251
query9	8695	2561	2603	2561
query10	500	329	297	297
query11	15505	15067	15505	15067
query12	190	131	126	126
query13	1820	583	468	468
query14	10569	9564	9541	9541
query15	215	202	176	176
query16	7468	755	551	551
query17	1237	792	645	645
query18	2044	457	367	367
query19	211	203	180	180
query20	140	131	131	131
query21	232	135	123	123
query22	4703	4711	4727	4711
query23	34739	33943	33311	33311
query24	8496	2410	2395	2395
query25	627	522	476	476
query26	1247	273	159	159
query27	2761	498	362	362
query28	4353	2184	2168	2168
query29	836	654	480	480
query30	295	218	206	206
query31	900	824	773	773
query32	84	76	65	65
query33	584	373	321	321
query34	791	853	502	502
query35	782	825	748	748
query36	962	1011	918	918
query37	121	109	90	90
query38	3489	3494	3516	3494
query39	1481	1418	1409	1409
query40	221	121	116	116
query41	60	63	104	63
query42	123	107	115	107
query43	488	497	484	484
query44	1326	828	817	817
query45	181	185	177	177
query46	836	993	626	626
query47	1761	1812	1727	1727
query48	383	409	316	316
query49	762	489	412	412
query50	636	677	406	406
query51	3909	3896	3927	3896
query52	114	108	99	99
query53	236	276	192	192
query54	594	583	525	525
query55	86	82	83	82
query56	348	342	319	319
query57	1185	1215	1122	1122
query58	289	282	288	282
query59	2525	2616	2562	2562
query60	339	348	336	336
query61	163	179	185	179
query62	811	731	656	656
query63	229	197	190	190
query64	4500	1180	849	849
query65	4026	3973	3977	3973
query66	1174	484	343	343
query67	15548	15336	14956	14956
query68	8864	883	590	590
query69	461	328	283	283
query70	1416	1255	1346	1255
query71	496	353	382	353
query72	5955	4940	5006	4940
query73	572	592	361	361
query74	8870	9180	8669	8669
query75	4202	3355	2849	2849
query76	4447	1147	736	736
query77	934	402	328	328
query78	9537	9761	8910	8910
query79	2017	853	584	584
query80	692	561	556	556
query81	488	264	226	226
query82	241	165	140	140
query83	309	272	252	252
query84	300	112	91	91
query85	865	472	429	429
query86	344	322	304	304
query87	3774	3735	3630	3630
query88	2889	2249	2241	2241
query89	408	327	307	307
query90	2092	225	226	225
query91	164	163	131	131
query92	98	66	61	61
query93	1866	969	642	642
query94	698	448	340	340
query95	404	324	301	301
query96	485	581	288	288
query97	2926	2998	2874	2874
query98	226	216	205	205
query99	1430	1439	1325	1325
Total cold run time: 277553 ms
Total hot run time: 190023 ms

@doris-robot
Copy link

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

query1	0.06	0.06	0.05
query2	0.09	0.05	0.06
query3	0.25	0.08	0.08
query4	1.60	0.12	0.12
query5	0.27	0.26	0.25
query6	1.18	0.65	0.65
query7	0.03	0.03	0.03
query8	0.06	0.05	0.04
query9	0.65	0.55	0.52
query10	0.59	0.58	0.57
query11	0.16	0.11	0.11
query12	0.15	0.13	0.12
query13	0.63	0.61	0.63
query14	1.03	1.04	1.05
query15	0.87	0.86	0.87
query16	0.39	0.40	0.40
query17	1.06	1.05	1.06
query18	0.21	0.20	0.20
query19	1.95	1.84	1.84
query20	0.01	0.02	0.01
query21	15.44	0.98	0.57
query22	0.77	1.14	0.62
query23	15.02	1.42	0.64
query24	7.03	1.65	0.96
query25	0.52	0.31	0.07
query26	0.54	0.16	0.14
query27	0.07	0.06	0.05
query28	9.90	1.36	0.93
query29	12.60	3.94	3.25
query30	0.27	0.13	0.12
query31	2.83	0.58	0.40
query32	3.23	0.56	0.47
query33	3.07	3.13	3.12
query34	16.26	5.46	4.85
query35	4.92	4.87	4.94
query36	0.69	0.52	0.49
query37	0.10	0.08	0.08
query38	0.07	0.05	0.05
query39	0.04	0.03	0.04
query40	0.17	0.15	0.14
query41	0.09	0.04	0.03
query42	0.04	0.03	0.03
query43	0.04	0.04	0.03
Total cold run time: 104.95 s
Total hot run time: 30.54 s

@hello-stephen
Copy link
Contributor

FE Regression Coverage Report

Increment line coverage 25.93% (7/27) 🎉
Increment coverage report
Complete coverage report

1 similar comment
@hello-stephen
Copy link
Contributor

FE Regression Coverage Report

Increment line coverage 25.93% (7/27) 🎉
Increment coverage report
Complete coverage report

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