Skip to content

Conversation

@HonestManXin
Copy link
Contributor

@HonestManXin HonestManXin commented Nov 11, 2025

Related issue: #57884

MySQL [demo]> show frontends;
+-----------------------------------------+--------------+-------------+----------+-----------+---------+--------------------+----------+----------+-----------+------+-------+-------------------+---------------------+---------------------+----------+--------+------------------------+------------------+---------------------+
| Name                                    | Host         | EditLogPort | HttpPort | QueryPort | RpcPort | ArrowFlightSqlPort | Role     | IsMaster | ClusterId | Join | Alive | ReplayedJournalId | LastStartTime       | LastHeartbeat       | IsHelper | ErrMsg | Version                | CurrentConnected | LiveSince           |
+-----------------------------------------+--------------+-------------+----------+-----------+---------+--------------------+----------+----------+-----------+------+-------+-------------------+---------------------+---------------------+----------+--------+------------------------+------------------+---------------------+
| fe_a7c0b6d8_82c2_48f0_8220_fb65dd18be69 | 10.37.75.124 | 9010        | 8030     | 9030      | 9020    | 8070               | FOLLOWER | true     | 742250121 | true | true  | 2409              | 2025-11-11 14:42:16 | 2025-11-11 14:44:06 | true     |        | doris-0.0.0-009c3b552a | Yes              | 2025-11-11 14:42:16 |
+-----------------------------------------+--------------+-------------+----------+-----------+---------+--------------------+----------+----------+-----------+------+-------+-------------------+---------------------+---------------------+----------+--------+------------------------+------------------+---------------------+
1 row in set (0.016 sec)

MySQL [demo]> show catalog edoris;
+-----------------+-------------------------------+
| Key             | Value                         |
+-----------------+-------------------------------+
| create_time     | 2025-11-11 11:25:33.488106853 |
| fe_arrow_hosts  | 10.37.103.28:8070             |
| fe_http_hosts   | 10.37.103.28:8030             |
| fe_thrift_hosts | 10.37.103.28:9020             |
| password        | *XXX                          |
| type            | doris                         |
| use_meta_cache  | true                          |
| user            | test                          |
+-----------------+-------------------------------+
8 rows in set (0.002 sec)

MySQL [demo]> select * from inner_table;
+----------+--------+
| log_type | reason |
+----------+--------+
|        2 | inner2 |
|        3 | inner3 |
|        4 | inner4 |
+----------+--------+
3 rows in set (0.032 sec)

MySQL [demo]> select * from edoris.external.example_tbl_duplicate;
+---------------------+----------+------------+-----------+-------+---------------------+
| log_time            | log_type | error_code | error_msg | op_id | op_time             |
+---------------------+----------+------------+-----------+-------+---------------------+
| 2024-11-01 00:00:00 |        2 |          2 | timeout   |    12 | 2024-11-01 01:00:00 |
+---------------------+----------+------------+-----------+-------+---------------------+
1 row in set (0.059 sec)

MySQL [demo]> select * from inner_table a join edoris.external.example_tbl_duplicate b on (a.log_type = b.log_type);
+----------+--------+---------------------+----------+------------+-----------+-------+---------------------+
| log_type | reason | log_time            | log_type | error_code | error_msg | op_id | op_time             |
+----------+--------+---------------------+----------+------------+-----------+-------+---------------------+
|        2 | inner2 | 2024-11-01 00:00:00 |        2 |          2 | timeout   |    12 | 2024-11-01 01:00:00 |
+----------+--------+---------------------+----------+------------+-----------+-------+---------------------+
1 row in set (0.050 sec)

MySQL [demo]> explain select * from inner_table a join edoris.external.example_tbl_duplicate b on (a.log_type = b.log_type) where error_code=2;
+-------------------------------------------------------------------------------------------------------------------------------------------+
| Explain String(Nereids Planner)                                                                                                           |
+-------------------------------------------------------------------------------------------------------------------------------------------+
| PLAN FRAGMENT 0                                                                                                                           |
|   OUTPUT EXPRS:                                                                                                                           |
|     log_type[#16]                                                                                                                         |
|     reason[#17]                                                                                                                           |
|     log_time[#18]                                                                                                                         |
|     log_type[#19]                                                                                                                         |
|     error_code[#20]                                                                                                                       |
|     error_msg[#21]                                                                                                                        |
|     op_id[#22]                                                                                                                            |
|     op_time[#23]                                                                                                                          |
|   PARTITION: HASH_PARTITIONED: log_type[#6]                                                                                               |
|                                                                                                                                           |
|   HAS_COLO_PLAN_NODE: false                                                                                                               |
|                                                                                                                                           |
|   VRESULT SINK                                                                                                                            |
|      MYSQL_PROTOCOL                                                                                                                       |
|                                                                                                                                           |
|   3:VHASH JOIN(200)                                                                                                                       |
|   |  join op: INNER JOIN(BROADCAST)[]                                                                                                     |
|   |  equal join conjunct: (log_type[#6] = log_type[#1])                                                                                   |
|   |  cardinality=3                                                                                                                        |
|   |  vec output tuple id: 3                                                                                                               |
|   |  output tuple id: 3                                                                                                                   |
|   |  vIntermediate tuple ids: 2                                                                                                           |
|   |  hash output slot ids: 0 1 2 3 4 5 6 7                                                                                                |
|   |  runtime filters: RF000[min_max] <- log_type[#1](1/1/1048576), RF001[in_or_bloom] <- log_type[#1](1/1/1048576)                        |
|   |  final projections: log_type[#8], reason[#9], log_time[#10], log_type[#11], error_code[#12], error_msg[#13], op_id[#14], op_time[#15] |
|   |  final project output tuple id: 3                                                                                                     |
|   |  distribute expr lists: log_type[#6]                                                                                                  |
|   |  distribute expr lists:                                                                                                               |
|   |                                                                                                                                       |
|   |----1:VEXCHANGE                                                                                                                        |
|   |       offset: 0                                                                                                                       |
|   |       distribute expr lists: log_type[#1]                                                                                             |
|   |                                                                                                                                       |
|   2:VOlapScanNode(187)                                                                                                                    |
|      TABLE: demo.inner_table(inner_table), PREAGGREGATION: ON                                                                             |
|      partitions=1/1 (inner_table)                                                                                                         |
|      tablets=1/1, tabletList=1762832514491                                                                                                |
|      cardinality=3, avgRowSize=901.6666, numNodes=1                                                                                       |
|      pushAggOp=NONE                                                                                                                       |
|      runtime filters: RF000[min_max] -> log_type[#6], RF001[in_or_bloom] -> log_type[#6]                                                  |
|                                                                                                                                           |
| PLAN FRAGMENT 1                                                                                                                           |
|                                                                                                                                           |
|   PARTITION: HASH_PARTITIONED: log_type[#1]                                                                                               |
|                                                                                                                                           |
|   HAS_COLO_PLAN_NODE: false                                                                                                               |
|                                                                                                                                           |
|   STREAM DATA SINK                                                                                                                        |
|     EXCHANGE ID: 01                                                                                                                       |
|     UNPARTITIONED                                                                                                                         |
|                                                                                                                                           |
|   0:VOlapScanNode(188)                                                                                                                    |
|      TABLE: external.example_tbl_duplicate(example_tbl_duplicate), PREAGGREGATION: ON                                                     |
|      PREDICATES: (error_code[#2] = 2)                                                                                                     |
|      partitions=1/1 (example_tbl_duplicate)                                                                                               |
|      tablets=1/1, tabletList=1762481736238                                                                                                |
|      cardinality=1, avgRowSize=7425.0, numNodes=1                                                                                         |
|      pushAggOp=NONE                                                                                                                       |
|                                                                                                                                           |
|                                                                                                                                           |
|                                                                                                                                           |
| ========== STATISTICS ==========                                                                                                          |
| planed with unknown column statistics                                                                                                     |
+-------------------------------------------------------------------------------------------------------------------------------------------+
65 rows in set (0.040 sec)

@Thearas
Copy link
Contributor

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

@morningman morningman self-assigned this Nov 11, 2025
@HonestManXin HonestManXin force-pushed the cross_cluster branch 2 times, most recently from c045b8e to 4b7d8a7 Compare November 23, 2025 14:28
@HonestManXin
Copy link
Contributor Author

run buildall

@hello-stephen
Copy link
Contributor

Cloud UT Coverage Report

Increment line coverage 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 80.86% (1707/2111)
Line Coverage 66.89% (29904/44708)
Region Coverage 67.43% (14911/22114)
Branch Coverage 57.63% (7935/13768)

@hello-stephen
Copy link
Contributor

FE UT Coverage Report

Increment line coverage 13.76% (63/458) 🎉
Increment coverage report
Complete coverage report

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17626	5137	4905	4905
q2	2015	321	218	218
q3	10172	1291	731	731
q4	10242	912	359	359
q5	7505	2426	2387	2387
q6	186	174	141	141
q7	914	774	649	649
q8	9353	1372	1173	1173
q9	7289	5473	5299	5299
q10	6917	2264	1806	1806
q11	501	297	288	288
q12	368	367	224	224
q13	17823	3659	3046	3046
q14	234	241	224	224
q15	583	511	507	507
q16	1049	998	943	943
q17	591	882	364	364
q18	7504	7070	7132	7070
q19	1102	950	543	543
q20	348	350	227	227
q21	3732	3227	2299	2299
q22	1092	1044	967	967
Total cold run time: 107146 ms
Total hot run time: 34370 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4990	4952	4916	4916
q2	316	419	293	293
q3	2183	2679	2272	2272
q4	1390	1779	1297	1297
q5	4207	4498	4446	4446
q6	214	175	130	130
q7	2026	1910	1861	1861
q8	2740	2694	2562	2562
q9	7649	7663	7684	7663
q10	3098	3222	2781	2781
q11	601	518	510	510
q12	683	757	603	603
q13	3421	4165	3198	3198
q14	295	320	292	292
q15	555	491	498	491
q16	1098	1108	1051	1051
q17	1169	1618	1358	1358
q18	7932	7900	7465	7465
q19	839	804	845	804
q20	2083	2116	1813	1813
q21	4755	4431	4345	4345
q22	1056	1041	1019	1019
Total cold run time: 53300 ms
Total hot run time: 51170 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 186990 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 4b7d8a7a3ce6da25dd8a85bbb9a335b8df6d8b86, data reload: false

query1	1067	418	393	393
query2	6585	1655	1683	1655
query3	6751	230	236	230
query4	26220	23303	23067	23067
query5	4508	659	467	467
query6	333	239	218	218
query7	4648	496	289	289
query8	294	249	248	248
query9	8689	2588	2572	2572
query10	485	343	286	286
query11	15607	15122	14885	14885
query12	179	117	112	112
query13	1683	571	476	476
query14	10412	9150	9005	9005
query15	194	186	164	164
query16	7178	653	515	515
query17	1235	830	685	685
query18	1969	419	322	322
query19	212	194	168	168
query20	126	138	131	131
query21	221	130	111	111
query22	4080	4204	4165	4165
query23	33910	33113	32998	32998
query24	8423	2471	2345	2345
query25	616	530	502	502
query26	1246	270	157	157
query27	2747	511	364	364
query28	4366	2202	2176	2176
query29	845	651	509	509
query30	316	223	193	193
query31	897	800	709	709
query32	82	71	69	69
query33	614	367	319	319
query34	775	849	516	516
query35	807	819	747	747
query36	950	1032	887	887
query37	125	119	86	86
query38	3528	3499	3435	3435
query39	1468	1416	1417	1416
query40	231	126	114	114
query41	65	63	65	63
query42	125	113	110	110
query43	497	483	462	462
query44	1230	781	761	761
query45	184	182	170	170
query46	876	974	634	634
query47	1736	1821	1698	1698
query48	390	417	332	332
query49	813	527	394	394
query50	668	337	262	262
query51	3860	3938	3832	3832
query52	110	109	110	109
query53	232	250	194	194
query54	307	288	272	272
query55	90	83	82	82
query56	307	320	312	312
query57	1172	1183	1134	1134
query58	291	276	265	265
query59	2481	2661	2483	2483
query60	353	348	342	342
query61	169	157	157	157
query62	769	696	637	637
query63	233	190	191	190
query64	4533	1269	990	990
query65	4021	3925	3947	3925
query66	1212	452	337	337
query67	15169	15116	14833	14833
query68	4760	896	643	643
query69	524	330	296	296
query70	1343	1297	1263	1263
query71	428	342	323	323
query72	6091	5162	4893	4893
query73	643	586	366	366
query74	9242	8728	8652	8652
query75	3319	3358	2813	2813
query76	3273	1123	725	725
query77	524	417	313	313
query78	9829	9884	9130	9130
query79	2041	900	619	619
query80	1659	598	528	528
query81	577	265	224	224
query82	401	160	135	135
query83	368	268	253	253
query84	266	111	94	94
query85	948	504	456	456
query86	439	328	307	307
query87	3746	3729	3561	3561
query88	2918	2258	2218	2218
query89	391	342	290	290
query90	1795	232	243	232
query91	174	165	134	134
query92	72	68	68	68
query93	1223	903	526	526
query94	718	437	346	346
query95	417	328	315	315
query96	501	568	274	274
query97	2928	2946	2835	2835
query98	235	222	209	209
query99	1301	1410	1263	1263
Total cold run time: 269609 ms
Total hot run time: 186990 ms

@doris-robot
Copy link

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

query1	0.06	0.05	0.05
query2	0.12	0.07	0.06
query3	0.29	0.08	0.07
query4	1.61	0.09	0.09
query5	0.27	0.25	0.24
query6	1.17	0.66	0.66
query7	0.03	0.02	0.03
query8	0.07	0.06	0.07
query9	0.63	0.53	0.52
query10	0.59	0.58	0.58
query11	0.25	0.13	0.13
query12	0.25	0.14	0.14
query13	0.65	0.64	0.62
query14	1.02	1.01	1.02
query15	0.93	0.88	0.84
query16	0.39	0.38	0.38
query17	1.06	1.02	1.07
query18	0.23	0.21	0.22
query19	1.95	1.75	1.82
query20	0.02	0.01	0.02
query21	15.39	0.31	0.25
query22	4.94	0.10	0.10
query23	15.35	0.37	0.23
query24	2.92	0.48	0.31
query25	0.09	0.09	0.10
query26	0.18	0.17	0.17
query27	0.09	0.09	0.09
query28	3.64	1.27	1.07
query29	12.55	4.02	3.31
query30	0.33	0.13	0.11
query31	2.80	0.64	0.45
query32	3.23	0.60	0.50
query33	3.07	3.01	3.13
query34	16.75	5.17	4.52
query35	4.59	4.53	4.50
query36	0.63	0.52	0.50
query37	0.22	0.08	0.08
query38	0.19	0.06	0.05
query39	0.05	0.05	0.05
query40	0.20	0.17	0.17
query41	0.11	0.06	0.06
query42	0.06	0.04	0.04
query43	0.05	0.06	0.05
Total cold run time: 99.02 s
Total hot run time: 28.17 s

@hello-stephen
Copy link
Contributor

BE UT Coverage Report

Increment line coverage 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 52.63% (18278/34731)
Line Coverage 38.07% (166300/436851)
Region Coverage 32.99% (129198/391594)
Branch Coverage 33.81% (55480/164091)

@hello-stephen
Copy link
Contributor

BE Regression && UT Coverage Report

Increment line coverage 100% (0/0) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 71.52% (24382/34092)
Line Coverage 57.99% (253427/437017)
Region Coverage 53.34% (211690/396902)
Branch Coverage 54.67% (90256/165102)

@hello-stephen
Copy link
Contributor

FE Regression Coverage Report

Increment line coverage 65.07% (298/458) 🎉
Increment coverage report
Complete coverage report

@HonestManXin
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

Cloud UT Coverage Report

Increment line coverage 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 80.86% (1707/2111)
Line Coverage 66.88% (29899/44708)
Region Coverage 67.39% (14902/22114)
Branch Coverage 57.62% (7933/13768)

@HonestManXin
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

Cloud UT Coverage Report

Increment line coverage 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 80.86% (1707/2111)
Line Coverage 66.81% (29869/44708)
Region Coverage 67.36% (14895/22114)
Branch Coverage 57.55% (7924/13768)

@hello-stephen
Copy link
Contributor

BE UT Coverage Report

Increment line coverage 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 52.63% (18278/34731)
Line Coverage 38.07% (166303/436851)
Region Coverage 33.02% (129322/391594)
Branch Coverage 33.82% (55490/164091)

@hello-stephen
Copy link
Contributor

FE UT Coverage Report

Increment line coverage 13.76% (63/458) 🎉
Increment coverage report
Complete coverage report

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17439	5046	4926	4926
q2	2062	314	227	227
q3	10127	1288	711	711
q4	10232	976	371	371
q5	7488	2342	2401	2342
q6	182	174	134	134
q7	904	774	626	626
q8	9347	1505	1141	1141
q9	7279	5353	5394	5353
q10	6895	2220	1805	1805
q11	503	291	292	291
q12	354	381	213	213
q13	17799	3636	3010	3010
q14	231	251	218	218
q15	591	515	520	515
q16	1017	991	952	952
q17	599	863	366	366
q18	7913	7187	7173	7173
q19	1102	939	546	546
q20	362	334	229	229
q21	3701	2524	2252	2252
q22	1051	979	943	943
Total cold run time: 107178 ms
Total hot run time: 34344 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4957	4905	4926	4905
q2	319	391	319	319
q3	2148	2667	2286	2286
q4	1356	1767	1330	1330
q5	4210	4371	4384	4371
q6	224	185	131	131
q7	2097	1974	1740	1740
q8	2708	2633	2628	2628
q9	7647	7577	7583	7577
q10	3071	3231	2789	2789
q11	591	525	528	525
q12	681	1033	593	593
q13	3406	3935	3300	3300
q14	289	304	284	284
q15	570	502	487	487
q16	1083	1085	1067	1067
q17	1171	1533	1399	1399
q18	7815	7582	7651	7582
q19	800	811	864	811
q20	1999	2256	1877	1877
q21	4978	4387	4330	4330
q22	1093	1023	1011	1011
Total cold run time: 53213 ms
Total hot run time: 51342 ms

@HonestManXin
Copy link
Contributor Author

run external

@HonestManXin
Copy link
Contributor Author

run p0

@doris-robot
Copy link

TPC-DS: Total hot run time: 187199 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 6ebf97d578357addf4ee3a69c8b6d2eeb8bfa59b, data reload: false

query1	1054	441	392	392
query2	6562	1685	1655	1655
query3	6757	231	219	219
query4	25784	23593	23207	23207
query5	4508	636	481	481
query6	336	231	214	214
query7	4644	501	301	301
query8	294	259	236	236
query9	8693	2564	2582	2564
query10	503	332	291	291
query11	15824	15132	15018	15018
query12	179	118	112	112
query13	1704	586	456	456
query14	10341	9229	9208	9208
query15	212	194	176	176
query16	7259	689	492	492
query17	1273	829	720	720
query18	1996	431	335	335
query19	215	211	184	184
query20	133	125	123	123
query21	218	140	119	119
query22	4055	4024	3941	3941
query23	33928	32976	33103	32976
query24	8462	2539	2396	2396
query25	637	577	516	516
query26	1245	277	166	166
query27	2747	528	352	352
query28	4377	2194	2183	2183
query29	887	688	549	549
query30	310	222	200	200
query31	900	817	734	734
query32	90	80	78	78
query33	600	386	345	345
query34	796	857	522	522
query35	795	884	736	736
query36	939	998	897	897
query37	124	109	89	89
query38	3620	3581	3447	3447
query39	1487	1409	1410	1409
query40	231	135	117	117
query41	63	60	63	60
query42	125	113	111	111
query43	484	490	460	460
query44	1238	760	755	755
query45	188	177	169	169
query46	883	994	644	644
query47	1759	1767	1725	1725
query48	398	414	344	344
query49	797	514	429	429
query50	662	333	265	265
query51	3870	3938	3853	3853
query52	111	112	103	103
query53	233	257	193	193
query54	314	285	272	272
query55	90	87	80	80
query56	306	309	299	299
query57	1186	1187	1106	1106
query58	277	274	270	270
query59	2486	2579	2448	2448
query60	367	378	344	344
query61	161	158	156	156
query62	799	695	648	648
query63	228	188	193	188
query64	4510	1108	854	854
query65	3994	3920	3906	3906
query66	1190	435	327	327
query67	15345	15040	14878	14878
query68	8318	858	635	635
query69	489	321	290	290
query70	1361	1282	1285	1282
query71	475	337	312	312
query72	5594	4980	4842	4842
query73	664	568	364	364
query74	9010	9064	8708	8708
query75	3907	3330	2860	2860
query76	3707	1137	727	727
query77	818	414	315	315
query78	9742	9668	8954	8954
query79	2217	875	613	613
query80	672	596	498	498
query81	520	259	226	226
query82	479	157	133	133
query83	288	265	247	247
query84	267	113	92	92
query85	972	502	447	447
query86	396	318	295	295
query87	3703	3714	3572	3572
query88	3786	2264	2232	2232
query89	385	324	294	294
query90	1897	228	218	218
query91	168	169	134	134
query92	86	70	74	70
query93	2034	901	519	519
query94	701	424	339	339
query95	415	331	324	324
query96	479	563	272	272
query97	2910	2987	2899	2899
query98	243	214	214	214
query99	1320	1385	1229	1229
Total cold run time: 274806 ms
Total hot run time: 187199 ms

@doris-robot
Copy link

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

query1	0.05	0.05	0.04
query2	0.12	0.07	0.06
query3	0.32	0.08	0.07
query4	1.61	0.09	0.09
query5	0.26	0.26	0.25
query6	1.18	0.65	0.65
query7	0.03	0.02	0.02
query8	0.07	0.06	0.07
query9	0.63	0.54	0.53
query10	0.59	0.58	0.58
query11	0.26	0.13	0.14
query12	0.26	0.14	0.15
query13	0.64	0.62	0.62
query14	1.03	1.04	1.03
query15	0.95	0.86	0.86
query16	0.39	0.38	0.40
query17	1.05	1.05	1.05
query18	0.23	0.22	0.23
query19	2.00	1.76	1.85
query20	0.02	0.01	0.01
query21	15.40	0.29	0.25
query22	4.99	0.10	0.10
query23	15.34	0.38	0.23
query24	2.61	0.53	0.34
query25	0.09	0.09	0.10
query26	0.19	0.18	0.18
query27	0.10	0.10	0.09
query28	3.62	1.25	1.07
query29	12.55	3.99	3.32
query30	0.33	0.12	0.10
query31	2.82	0.62	0.45
query32	3.24	0.60	0.50
query33	3.11	3.07	3.20
query34	16.56	5.07	4.45
query35	4.52	4.55	4.51
query36	0.64	0.52	0.50
query37	0.23	0.09	0.09
query38	0.20	0.06	0.06
query39	0.05	0.05	0.05
query40	0.21	0.17	0.18
query41	0.10	0.07	0.06
query42	0.08	0.05	0.04
query43	0.06	0.06	0.05
Total cold run time: 98.73 s
Total hot run time: 28.32 s

@hello-stephen
Copy link
Contributor

BE Regression && UT Coverage Report

Increment line coverage 100% (0/0) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 71.50% (24375/34092)
Line Coverage 57.93% (253148/437017)
Region Coverage 53.34% (211721/396902)
Branch Coverage 54.62% (90183/165102)

@hello-stephen
Copy link
Contributor

FE Regression Coverage Report

Increment line coverage 17.47% (80/458) 🎉
Increment coverage report
Complete coverage report

@hello-stephen
Copy link
Contributor

BE Regression && UT Coverage Report

Increment line coverage 100% (0/0) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 71.50% (24375/34092)
Line Coverage 57.92% (253129/437017)
Region Coverage 53.33% (211681/396902)
Branch Coverage 54.61% (90163/165102)

@hello-stephen
Copy link
Contributor

FE Regression Coverage Report

Increment line coverage 17.47% (80/458) 🎉
Increment coverage report
Complete coverage report

@hello-stephen
Copy link
Contributor

FE Regression Coverage Report

Increment line coverage 64.83% (317/489) 🎉
Increment coverage report
Complete coverage report

@morningman
Copy link
Contributor

run buildall

@doris-robot
Copy link

Cloud UT Coverage Report

Increment line coverage 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 80.86% (1707/2111)
Line Coverage 66.82% (29884/44724)
Region Coverage 67.35% (14897/22118)
Branch Coverage 57.53% (7923/13772)

@doris-robot
Copy link

BE UT Coverage Report

Increment line coverage 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 52.90% (18512/34995)
Line Coverage 38.45% (169631/441186)
Region Coverage 33.23% (131625/396152)
Branch Coverage 34.19% (56683/165811)

@hello-stephen
Copy link
Contributor

BE Regression && UT Coverage Report

Increment line coverage 100% (0/0) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 71.66% (24589/34313)
Line Coverage 58.20% (256561/440793)
Region Coverage 53.28% (213646/400964)
Branch Coverage 54.82% (91391/166708)

@hello-stephen
Copy link
Contributor

FE Regression Coverage Report

Increment line coverage 64.52% (320/496) 🎉
Increment coverage report
Complete coverage report

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Nov 30, 2025
@github-actions
Copy link
Contributor

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

@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	16484	5082	4893	4893
q2	2031	319	205	205
q3	9891	1293	709	709
q4	9889	890	359	359
q5	7562	2499	2208	2208
q6	187	172	137	137
q7	950	787	636	636
q8	9233	1410	1034	1034
q9	6899	5342	5284	5284
q10	6809	2233	1812	1812
q11	512	312	278	278
q12	326	372	223	223
q13	17572	3669	2995	2995
q14	227	245	213	213
q15	573	528	533	528
q16	890	867	817	817
q17	576	763	493	493
q18	7401	7067	7075	7067
q19	974	946	592	592
q20	339	339	234	234
q21	3580	3442	2367	2367
q22	1011	972	951	951
Total cold run time: 103916 ms
Total hot run time: 34035 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4964	4943	4920	4920
q2	332	418	330	330
q3	2094	2656	2294	2294
q4	1319	1768	1271	1271
q5	4211	4143	4488	4143
q6	224	179	138	138
q7	2053	1962	1861	1861
q8	2681	2625	2456	2456
q9	7542	7530	7430	7430
q10	3065	3237	2820	2820
q11	612	543	509	509
q12	733	797	623	623
q13	3536	3932	3348	3348
q14	306	299	265	265
q15	550	524	519	519
q16	880	918	869	869
q17	1150	1319	1388	1319
q18	8129	7621	7717	7621
q19	822	782	757	757
q20	1991	2040	1901	1901
q21	4705	4188	4152	4152
q22	1094	1010	988	988
Total cold run time: 52993 ms
Total hot run time: 50534 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 181591 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 2019c7c87f06a8cb801b7ced0d007f2f7784b3be, data reload: false

query1	1051	409	393	393
query2	6567	1197	1136	1136
query3	6747	228	220	220
query4	25458	23142	22959	22959
query5	4862	691	504	504
query6	347	250	239	239
query7	4656	511	314	314
query8	313	274	243	243
query9	8740	2628	2629	2628
query10	545	358	326	326
query11	15133	14813	14865	14813
query12	180	116	118	116
query13	1726	572	441	441
query14	9307	6024	5958	5958
query15	206	200	194	194
query16	7715	698	518	518
query17	1208	769	646	646
query18	2065	440	348	348
query19	213	210	181	181
query20	131	125	121	121
query21	226	133	116	116
query22	3943	3883	3933	3883
query23	33014	32036	31863	31863
query24	8343	2411	2431	2411
query25	630	564	499	499
query26	1253	283	167	167
query27	2725	501	365	365
query28	4200	2150	2168	2150
query29	821	659	516	516
query30	311	242	205	205
query31	827	714	627	627
query32	86	75	75	75
query33	615	393	380	380
query34	809	864	537	537
query35	818	830	733	733
query36	900	915	849	849
query37	123	111	84	84
query38	3866	3798	3731	3731
query39	1612	1600	1388	1388
query40	223	128	121	121
query41	65	61	62	61
query42	130	112	111	111
query43	445	447	415	415
query44	1257	745	748	745
query45	207	196	184	184
query46	882	987	643	643
query47	1670	1723	1653	1653
query48	392	419	326	326
query49	808	500	415	415
query50	649	692	399	399
query51	3817	3892	3804	3804
query52	110	109	104	104
query53	235	261	192	192
query54	308	301	311	301
query55	94	94	91	91
query56	335	322	329	322
query57	1152	1156	1124	1124
query58	295	275	271	271
query59	2324	2424	2348	2348
query60	347	359	336	336
query61	154	162	158	158
query62	815	706	655	655
query63	233	194	192	192
query64	4289	1200	889	889
query65	4066	3975	3962	3962
query66	1097	433	334	334
query67	15295	14889	14800	14800
query68	8478	949	623	623
query69	517	337	316	316
query70	1085	1053	1036	1036
query71	485	337	310	310
query72	5778	4888	4971	4888
query73	749	601	363	363
query74	8575	8724	8572	8572
query75	3717	3021	2510	2510
query76	3817	1139	733	733
query77	807	395	312	312
query78	9430	9591	8863	8863
query79	2012	844	583	583
query80	644	577	487	487
query81	505	268	243	243
query82	432	139	111	111
query83	266	256	253	253
query84	260	112	98	98
query85	928	493	435	435
query86	384	320	304	304
query87	4047	4000	3949	3949
query88	3952	2295	2312	2295
query89	397	339	289	289
query90	1996	221	215	215
query91	167	177	140	140
query92	89	66	71	66
query93	1937	1007	666	666
query94	729	432	337	337
query95	509	415	400	400
query96	515	545	284	284
query97	2593	2665	2575	2575
query98	259	216	210	210
query99	1363	1375	1292	1292
Total cold run time: 271408 ms
Total hot run time: 181591 ms

@doris-robot
Copy link

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

query1	0.05	0.04	0.04
query2	0.13	0.07	0.07
query3	0.30	0.08	0.07
query4	1.60	0.10	0.10
query5	0.26	0.26	0.25
query6	1.18	0.66	0.63
query7	0.03	0.03	0.02
query8	0.07	0.06	0.06
query9	0.59	0.52	0.51
query10	0.57	0.55	0.55
query11	0.26	0.14	0.13
query12	0.25	0.14	0.14
query13	0.65	0.63	0.61
query14	0.99	0.99	1.01
query15	0.88	0.81	0.83
query16	0.39	0.39	0.38
query17	0.96	1.02	1.01
query18	0.23	0.22	0.22
query19	1.95	1.80	1.79
query20	0.02	0.02	0.02
query21	15.41	0.27	0.24
query22	4.94	0.10	0.09
query23	15.38	0.38	0.22
query24	2.37	0.44	0.30
query25	0.09	0.10	0.10
query26	0.19	0.18	0.18
query27	0.11	0.09	0.09
query28	3.66	1.34	1.16
query29	12.65	4.05	3.33
query30	0.32	0.13	0.11
query31	2.80	0.63	0.44
query32	3.23	0.59	0.48
query33	3.09	3.14	3.06
query34	16.59	5.20	4.67
query35	4.67	4.66	4.63
query36	0.62	0.49	0.53
query37	0.25	0.09	0.08
query38	0.20	0.05	0.06
query39	0.07	0.06	0.05
query40	0.20	0.17	0.17
query41	0.12	0.06	0.06
query42	0.07	0.06	0.05
query43	0.06	0.06	0.05
Total cold run time: 98.45 s
Total hot run time: 28.5 s

@hello-stephen
Copy link
Contributor

BE Regression && UT Coverage Report

Increment line coverage 100% (0/0) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 71.67% (24593/34313)
Line Coverage 58.21% (256590/440793)
Region Coverage 53.28% (213633/400964)
Branch Coverage 54.83% (91400/166708)

@morningman morningman merged commit 70b07cb into apache:master Dec 1, 2025
25 of 28 checks passed
github-actions bot pushed a commit that referenced this pull request Dec 1, 2025
Related issue: #57884

```
MySQL [demo]> show frontends;
+-----------------------------------------+--------------+-------------+----------+-----------+---------+--------------------+----------+----------+-----------+------+-------+-------------------+---------------------+---------------------+----------+--------+------------------------+------------------+---------------------+
| Name                                    | Host         | EditLogPort | HttpPort | QueryPort | RpcPort | ArrowFlightSqlPort | Role     | IsMaster | ClusterId | Join | Alive | ReplayedJournalId | LastStartTime       | LastHeartbeat       | IsHelper | ErrMsg | Version                | CurrentConnected | LiveSince           |
+-----------------------------------------+--------------+-------------+----------+-----------+---------+--------------------+----------+----------+-----------+------+-------+-------------------+---------------------+---------------------+----------+--------+------------------------+------------------+---------------------+
| fe_a7c0b6d8_82c2_48f0_8220_fb65dd18be69 | 10.37.75.124 | 9010        | 8030     | 9030      | 9020    | 8070               | FOLLOWER | true     | 742250121 | true | true  | 2409              | 2025-11-11 14:42:16 | 2025-11-11 14:44:06 | true     |        | doris-0.0.0-009c3b552a | Yes              | 2025-11-11 14:42:16 |
+-----------------------------------------+--------------+-------------+----------+-----------+---------+--------------------+----------+----------+-----------+------+-------+-------------------+---------------------+---------------------+----------+--------+------------------------+------------------+---------------------+
1 row in set (0.016 sec)

MySQL [demo]> show catalog edoris;
+-----------------+-------------------------------+
| Key             | Value                         |
+-----------------+-------------------------------+
| create_time     | 2025-11-11 11:25:33.488106853 |
| fe_arrow_hosts  | 10.37.103.28:8070             |
| fe_http_hosts   | 10.37.103.28:8030             |
| fe_thrift_hosts | 10.37.103.28:9020             |
| password        | *XXX                          |
| type            | doris                         |
| use_meta_cache  | true                          |
| user            | test                          |
+-----------------+-------------------------------+
8 rows in set (0.002 sec)

MySQL [demo]> select * from inner_table;
+----------+--------+
| log_type | reason |
+----------+--------+
|        2 | inner2 |
|        3 | inner3 |
|        4 | inner4 |
+----------+--------+
3 rows in set (0.032 sec)

MySQL [demo]> select * from edoris.external.example_tbl_duplicate;
+---------------------+----------+------------+-----------+-------+---------------------+
| log_time            | log_type | error_code | error_msg | op_id | op_time             |
+---------------------+----------+------------+-----------+-------+---------------------+
| 2024-11-01 00:00:00 |        2 |          2 | timeout   |    12 | 2024-11-01 01:00:00 |
+---------------------+----------+------------+-----------+-------+---------------------+
1 row in set (0.059 sec)

MySQL [demo]> select * from inner_table a join edoris.external.example_tbl_duplicate b on (a.log_type = b.log_type);
+----------+--------+---------------------+----------+------------+-----------+-------+---------------------+
| log_type | reason | log_time            | log_type | error_code | error_msg | op_id | op_time             |
+----------+--------+---------------------+----------+------------+-----------+-------+---------------------+
|        2 | inner2 | 2024-11-01 00:00:00 |        2 |          2 | timeout   |    12 | 2024-11-01 01:00:00 |
+----------+--------+---------------------+----------+------------+-----------+-------+---------------------+
1 row in set (0.050 sec)

MySQL [demo]> explain select * from inner_table a join edoris.external.example_tbl_duplicate b on (a.log_type = b.log_type) where error_code=2;
+-------------------------------------------------------------------------------------------------------------------------------------------+
| Explain String(Nereids Planner)                                                                                                           |
+-------------------------------------------------------------------------------------------------------------------------------------------+
| PLAN FRAGMENT 0                                                                                                                           |
|   OUTPUT EXPRS:                                                                                                                           |
|     log_type[#16]                                                                                                                         |
|     reason[#17]                                                                                                                           |
|     log_time[#18]                                                                                                                         |
|     log_type[#19]                                                                                                                         |
|     error_code[#20]                                                                                                                       |
|     error_msg[#21]                                                                                                                        |
|     op_id[#22]                                                                                                                            |
|     op_time[#23]                                                                                                                          |
|   PARTITION: HASH_PARTITIONED: log_type[#6]                                                                                               |
|                                                                                                                                           |
|   HAS_COLO_PLAN_NODE: false                                                                                                               |
|                                                                                                                                           |
|   VRESULT SINK                                                                                                                            |
|      MYSQL_PROTOCOL                                                                                                                       |
|                                                                                                                                           |
|   3:VHASH JOIN(200)                                                                                                                       |
|   |  join op: INNER JOIN(BROADCAST)[]                                                                                                     |
|   |  equal join conjunct: (log_type[#6] = log_type[#1])                                                                                   |
|   |  cardinality=3                                                                                                                        |
|   |  vec output tuple id: 3                                                                                                               |
|   |  output tuple id: 3                                                                                                                   |
|   |  vIntermediate tuple ids: 2                                                                                                           |
|   |  hash output slot ids: 0 1 2 3 4 5 6 7                                                                                                |
|   |  runtime filters: RF000[min_max] <- log_type[#1](1/1/1048576), RF001[in_or_bloom] <- log_type[#1](1/1/1048576)                        |
|   |  final projections: log_type[#8], reason[#9], log_time[#10], log_type[#11], error_code[#12], error_msg[#13], op_id[#14], op_time[#15] |
|   |  final project output tuple id: 3                                                                                                     |
|   |  distribute expr lists: log_type[#6]                                                                                                  |
|   |  distribute expr lists:                                                                                                               |
|   |                                                                                                                                       |
|   |----1:VEXCHANGE                                                                                                                        |
|   |       offset: 0                                                                                                                       |
|   |       distribute expr lists: log_type[#1]                                                                                             |
|   |                                                                                                                                       |
|   2:VOlapScanNode(187)                                                                                                                    |
|      TABLE: demo.inner_table(inner_table), PREAGGREGATION: ON                                                                             |
|      partitions=1/1 (inner_table)                                                                                                         |
|      tablets=1/1, tabletList=1762832514491                                                                                                |
|      cardinality=3, avgRowSize=901.6666, numNodes=1                                                                                       |
|      pushAggOp=NONE                                                                                                                       |
|      runtime filters: RF000[min_max] -> log_type[#6], RF001[in_or_bloom] -> log_type[#6]                                                  |
|                                                                                                                                           |
| PLAN FRAGMENT 1                                                                                                                           |
|                                                                                                                                           |
|   PARTITION: HASH_PARTITIONED: log_type[#1]                                                                                               |
|                                                                                                                                           |
|   HAS_COLO_PLAN_NODE: false                                                                                                               |
|                                                                                                                                           |
|   STREAM DATA SINK                                                                                                                        |
|     EXCHANGE ID: 01                                                                                                                       |
|     UNPARTITIONED                                                                                                                         |
|                                                                                                                                           |
|   0:VOlapScanNode(188)                                                                                                                    |
|      TABLE: external.example_tbl_duplicate(example_tbl_duplicate), PREAGGREGATION: ON                                                     |
|      PREDICATES: (error_code[#2] = 2)                                                                                                     |
|      partitions=1/1 (example_tbl_duplicate)                                                                                               |
|      tablets=1/1, tabletList=1762481736238                                                                                                |
|      cardinality=1, avgRowSize=7425.0, numNodes=1                                                                                         |
|      pushAggOp=NONE                                                                                                                       |
|                                                                                                                                           |
|                                                                                                                                           |
|                                                                                                                                           |
| ========== STATISTICS ==========                                                                                                          |
| planed with unknown column statistics                                                                                                     |
+-------------------------------------------------------------------------------------------------------------------------------------------+
65 rows in set (0.040 sec)

```
morningman pushed a commit that referenced this pull request Dec 2, 2025
Related issue: #57884

```
MySQL [demo]> show frontends;
+-----------------------------------------+--------------+-------------+----------+-----------+---------+--------------------+----------+----------+-----------+------+-------+-------------------+---------------------+---------------------+----------+--------+------------------------+------------------+---------------------+
| Name                                    | Host         | EditLogPort | HttpPort | QueryPort | RpcPort | ArrowFlightSqlPort | Role     | IsMaster | ClusterId | Join | Alive | ReplayedJournalId | LastStartTime       | LastHeartbeat       | IsHelper | ErrMsg | Version                | CurrentConnected | LiveSince           |
+-----------------------------------------+--------------+-------------+----------+-----------+---------+--------------------+----------+----------+-----------+------+-------+-------------------+---------------------+---------------------+----------+--------+------------------------+------------------+---------------------+
| fe_a7c0b6d8_82c2_48f0_8220_fb65dd18be69 | 10.37.75.124 | 9010        | 8030     | 9030      | 9020    | 8070               | FOLLOWER | true     | 742250121 | true | true  | 2409              | 2025-11-11 14:42:16 | 2025-11-11 14:44:06 | true     |        | doris-0.0.0-009c3b552a | Yes              | 2025-11-11 14:42:16 |
+-----------------------------------------+--------------+-------------+----------+-----------+---------+--------------------+----------+----------+-----------+------+-------+-------------------+---------------------+---------------------+----------+--------+------------------------+------------------+---------------------+
1 row in set (0.016 sec)

MySQL [demo]> show catalog edoris;
+-----------------+-------------------------------+
| Key             | Value                         |
+-----------------+-------------------------------+
| create_time     | 2025-11-11 11:25:33.488106853 |
| fe_arrow_hosts  | 10.37.103.28:8070             |
| fe_http_hosts   | 10.37.103.28:8030             |
| fe_thrift_hosts | 10.37.103.28:9020             |
| password        | *XXX                          |
| type            | doris                         |
| use_meta_cache  | true                          |
| user            | test                          |
+-----------------+-------------------------------+
8 rows in set (0.002 sec)

MySQL [demo]> select * from inner_table;
+----------+--------+
| log_type | reason |
+----------+--------+
|        2 | inner2 |
|        3 | inner3 |
|        4 | inner4 |
+----------+--------+
3 rows in set (0.032 sec)

MySQL [demo]> select * from edoris.external.example_tbl_duplicate;
+---------------------+----------+------------+-----------+-------+---------------------+
| log_time            | log_type | error_code | error_msg | op_id | op_time             |
+---------------------+----------+------------+-----------+-------+---------------------+
| 2024-11-01 00:00:00 |        2 |          2 | timeout   |    12 | 2024-11-01 01:00:00 |
+---------------------+----------+------------+-----------+-------+---------------------+
1 row in set (0.059 sec)

MySQL [demo]> select * from inner_table a join edoris.external.example_tbl_duplicate b on (a.log_type = b.log_type);
+----------+--------+---------------------+----------+------------+-----------+-------+---------------------+
| log_type | reason | log_time            | log_type | error_code | error_msg | op_id | op_time             |
+----------+--------+---------------------+----------+------------+-----------+-------+---------------------+
|        2 | inner2 | 2024-11-01 00:00:00 |        2 |          2 | timeout   |    12 | 2024-11-01 01:00:00 |
+----------+--------+---------------------+----------+------------+-----------+-------+---------------------+
1 row in set (0.050 sec)

MySQL [demo]> explain select * from inner_table a join edoris.external.example_tbl_duplicate b on (a.log_type = b.log_type) where error_code=2;
+-------------------------------------------------------------------------------------------------------------------------------------------+
| Explain String(Nereids Planner)                                                                                                           |
+-------------------------------------------------------------------------------------------------------------------------------------------+
| PLAN FRAGMENT 0                                                                                                                           |
|   OUTPUT EXPRS:                                                                                                                           |
|     log_type[#16]                                                                                                                         |
|     reason[#17]                                                                                                                           |
|     log_time[#18]                                                                                                                         |
|     log_type[#19]                                                                                                                         |
|     error_code[#20]                                                                                                                       |
|     error_msg[#21]                                                                                                                        |
|     op_id[#22]                                                                                                                            |
|     op_time[#23]                                                                                                                          |
|   PARTITION: HASH_PARTITIONED: log_type[#6]                                                                                               |
|                                                                                                                                           |
|   HAS_COLO_PLAN_NODE: false                                                                                                               |
|                                                                                                                                           |
|   VRESULT SINK                                                                                                                            |
|      MYSQL_PROTOCOL                                                                                                                       |
|                                                                                                                                           |
|   3:VHASH JOIN(200)                                                                                                                       |
|   |  join op: INNER JOIN(BROADCAST)[]                                                                                                     |
|   |  equal join conjunct: (log_type[#6] = log_type[#1])                                                                                   |
|   |  cardinality=3                                                                                                                        |
|   |  vec output tuple id: 3                                                                                                               |
|   |  output tuple id: 3                                                                                                                   |
|   |  vIntermediate tuple ids: 2                                                                                                           |
|   |  hash output slot ids: 0 1 2 3 4 5 6 7                                                                                                |
|   |  runtime filters: RF000[min_max] <- log_type[#1](1/1/1048576), RF001[in_or_bloom] <- log_type[#1](1/1/1048576)                        |
|   |  final projections: log_type[#8], reason[#9], log_time[#10], log_type[#11], error_code[#12], error_msg[#13], op_id[#14], op_time[#15] |
|   |  final project output tuple id: 3                                                                                                     |
|   |  distribute expr lists: log_type[#6]                                                                                                  |
|   |  distribute expr lists:                                                                                                               |
|   |                                                                                                                                       |
|   |----1:VEXCHANGE                                                                                                                        |
|   |       offset: 0                                                                                                                       |
|   |       distribute expr lists: log_type[#1]                                                                                             |
|   |                                                                                                                                       |
|   2:VOlapScanNode(187)                                                                                                                    |
|      TABLE: demo.inner_table(inner_table), PREAGGREGATION: ON                                                                             |
|      partitions=1/1 (inner_table)                                                                                                         |
|      tablets=1/1, tabletList=1762832514491                                                                                                |
|      cardinality=3, avgRowSize=901.6666, numNodes=1                                                                                       |
|      pushAggOp=NONE                                                                                                                       |
|      runtime filters: RF000[min_max] -> log_type[#6], RF001[in_or_bloom] -> log_type[#6]                                                  |
|                                                                                                                                           |
| PLAN FRAGMENT 1                                                                                                                           |
|                                                                                                                                           |
|   PARTITION: HASH_PARTITIONED: log_type[#1]                                                                                               |
|                                                                                                                                           |
|   HAS_COLO_PLAN_NODE: false                                                                                                               |
|                                                                                                                                           |
|   STREAM DATA SINK                                                                                                                        |
|     EXCHANGE ID: 01                                                                                                                       |
|     UNPARTITIONED                                                                                                                         |
|                                                                                                                                           |
|   0:VOlapScanNode(188)                                                                                                                    |
|      TABLE: external.example_tbl_duplicate(example_tbl_duplicate), PREAGGREGATION: ON                                                     |
|      PREDICATES: (error_code[#2] = 2)                                                                                                     |
|      partitions=1/1 (example_tbl_duplicate)                                                                                               |
|      tablets=1/1, tabletList=1762481736238                                                                                                |
|      cardinality=1, avgRowSize=7425.0, numNodes=1                                                                                         |
|      pushAggOp=NONE                                                                                                                       |
|                                                                                                                                           |
|                                                                                                                                           |
|                                                                                                                                           |
| ========== STATISTICS ==========                                                                                                          |
| planed with unknown column statistics                                                                                                     |
+-------------------------------------------------------------------------------------------------------------------------------------------+
65 rows in set (0.040 sec)

```
morningman added a commit to apache/doris-website that referenced this pull request Dec 5, 2025
…y method (#3138)

apache/doris#57898

## Versions 

- [ x ] dev
- [ x ] 4.x
- [ ] 3.x
- [ ] 2.1

## Languages

- [ x ] Chinese
- [ ] English

## Docs Checklist

- [ ] Checked by AI
- [ ] Test Cases Built

---------

Co-authored-by: zhangshixin.1024 <zhangshixin.1024@bytedance.com>
Co-authored-by: Mingyu Chen (Rayner) <yunyou@selectdb.com>
yiguolei pushed a commit that referenced this pull request Dec 9, 2025
Cherry-picked from #57898

---------

Co-authored-by: HonestManXin <HonestManXin@gmail.com>
Co-authored-by: morningman <yunyou@selectdb.com>
nagisa-kunhah pushed a commit to nagisa-kunhah/doris that referenced this pull request Dec 14, 2025
Related issue: apache#57884

```
MySQL [demo]> show frontends;
+-----------------------------------------+--------------+-------------+----------+-----------+---------+--------------------+----------+----------+-----------+------+-------+-------------------+---------------------+---------------------+----------+--------+------------------------+------------------+---------------------+
| Name                                    | Host         | EditLogPort | HttpPort | QueryPort | RpcPort | ArrowFlightSqlPort | Role     | IsMaster | ClusterId | Join | Alive | ReplayedJournalId | LastStartTime       | LastHeartbeat       | IsHelper | ErrMsg | Version                | CurrentConnected | LiveSince           |
+-----------------------------------------+--------------+-------------+----------+-----------+---------+--------------------+----------+----------+-----------+------+-------+-------------------+---------------------+---------------------+----------+--------+------------------------+------------------+---------------------+
| fe_a7c0b6d8_82c2_48f0_8220_fb65dd18be69 | 10.37.75.124 | 9010        | 8030     | 9030      | 9020    | 8070               | FOLLOWER | true     | 742250121 | true | true  | 2409              | 2025-11-11 14:42:16 | 2025-11-11 14:44:06 | true     |        | doris-0.0.0-009c3b552a | Yes              | 2025-11-11 14:42:16 |
+-----------------------------------------+--------------+-------------+----------+-----------+---------+--------------------+----------+----------+-----------+------+-------+-------------------+---------------------+---------------------+----------+--------+------------------------+------------------+---------------------+
1 row in set (0.016 sec)

MySQL [demo]> show catalog edoris;
+-----------------+-------------------------------+
| Key             | Value                         |
+-----------------+-------------------------------+
| create_time     | 2025-11-11 11:25:33.488106853 |
| fe_arrow_hosts  | 10.37.103.28:8070             |
| fe_http_hosts   | 10.37.103.28:8030             |
| fe_thrift_hosts | 10.37.103.28:9020             |
| password        | *XXX                          |
| type            | doris                         |
| use_meta_cache  | true                          |
| user            | test                          |
+-----------------+-------------------------------+
8 rows in set (0.002 sec)

MySQL [demo]> select * from inner_table;
+----------+--------+
| log_type | reason |
+----------+--------+
|        2 | inner2 |
|        3 | inner3 |
|        4 | inner4 |
+----------+--------+
3 rows in set (0.032 sec)

MySQL [demo]> select * from edoris.external.example_tbl_duplicate;
+---------------------+----------+------------+-----------+-------+---------------------+
| log_time            | log_type | error_code | error_msg | op_id | op_time             |
+---------------------+----------+------------+-----------+-------+---------------------+
| 2024-11-01 00:00:00 |        2 |          2 | timeout   |    12 | 2024-11-01 01:00:00 |
+---------------------+----------+------------+-----------+-------+---------------------+
1 row in set (0.059 sec)

MySQL [demo]> select * from inner_table a join edoris.external.example_tbl_duplicate b on (a.log_type = b.log_type);
+----------+--------+---------------------+----------+------------+-----------+-------+---------------------+
| log_type | reason | log_time            | log_type | error_code | error_msg | op_id | op_time             |
+----------+--------+---------------------+----------+------------+-----------+-------+---------------------+
|        2 | inner2 | 2024-11-01 00:00:00 |        2 |          2 | timeout   |    12 | 2024-11-01 01:00:00 |
+----------+--------+---------------------+----------+------------+-----------+-------+---------------------+
1 row in set (0.050 sec)

MySQL [demo]> explain select * from inner_table a join edoris.external.example_tbl_duplicate b on (a.log_type = b.log_type) where error_code=2;
+-------------------------------------------------------------------------------------------------------------------------------------------+
| Explain String(Nereids Planner)                                                                                                           |
+-------------------------------------------------------------------------------------------------------------------------------------------+
| PLAN FRAGMENT 0                                                                                                                           |
|   OUTPUT EXPRS:                                                                                                                           |
|     log_type[apache#16]                                                                                                                         |
|     reason[apache#17]                                                                                                                           |
|     log_time[apache#18]                                                                                                                         |
|     log_type[apache#19]                                                                                                                         |
|     error_code[apache#20]                                                                                                                       |
|     error_msg[apache#21]                                                                                                                        |
|     op_id[apache#22]                                                                                                                            |
|     op_time[apache#23]                                                                                                                          |
|   PARTITION: HASH_PARTITIONED: log_type[apache#6]                                                                                               |
|                                                                                                                                           |
|   HAS_COLO_PLAN_NODE: false                                                                                                               |
|                                                                                                                                           |
|   VRESULT SINK                                                                                                                            |
|      MYSQL_PROTOCOL                                                                                                                       |
|                                                                                                                                           |
|   3:VHASH JOIN(200)                                                                                                                       |
|   |  join op: INNER JOIN(BROADCAST)[]                                                                                                     |
|   |  equal join conjunct: (log_type[apache#6] = log_type[apache#1])                                                                                   |
|   |  cardinality=3                                                                                                                        |
|   |  vec output tuple id: 3                                                                                                               |
|   |  output tuple id: 3                                                                                                                   |
|   |  vIntermediate tuple ids: 2                                                                                                           |
|   |  hash output slot ids: 0 1 2 3 4 5 6 7                                                                                                |
|   |  runtime filters: RF000[min_max] <- log_type[apache#1](1/1/1048576), RF001[in_or_bloom] <- log_type[apache#1](1/1/1048576)                        |
|   |  final projections: log_type[apache#8], reason[apache#9], log_time[apache#10], log_type[apache#11], error_code[apache#12], error_msg[apache#13], op_id[apache#14], op_time[apache#15] |
|   |  final project output tuple id: 3                                                                                                     |
|   |  distribute expr lists: log_type[apache#6]                                                                                                  |
|   |  distribute expr lists:                                                                                                               |
|   |                                                                                                                                       |
|   |----1:VEXCHANGE                                                                                                                        |
|   |       offset: 0                                                                                                                       |
|   |       distribute expr lists: log_type[apache#1]                                                                                             |
|   |                                                                                                                                       |
|   2:VOlapScanNode(187)                                                                                                                    |
|      TABLE: demo.inner_table(inner_table), PREAGGREGATION: ON                                                                             |
|      partitions=1/1 (inner_table)                                                                                                         |
|      tablets=1/1, tabletList=1762832514491                                                                                                |
|      cardinality=3, avgRowSize=901.6666, numNodes=1                                                                                       |
|      pushAggOp=NONE                                                                                                                       |
|      runtime filters: RF000[min_max] -> log_type[apache#6], RF001[in_or_bloom] -> log_type[apache#6]                                                  |
|                                                                                                                                           |
| PLAN FRAGMENT 1                                                                                                                           |
|                                                                                                                                           |
|   PARTITION: HASH_PARTITIONED: log_type[apache#1]                                                                                               |
|                                                                                                                                           |
|   HAS_COLO_PLAN_NODE: false                                                                                                               |
|                                                                                                                                           |
|   STREAM DATA SINK                                                                                                                        |
|     EXCHANGE ID: 01                                                                                                                       |
|     UNPARTITIONED                                                                                                                         |
|                                                                                                                                           |
|   0:VOlapScanNode(188)                                                                                                                    |
|      TABLE: external.example_tbl_duplicate(example_tbl_duplicate), PREAGGREGATION: ON                                                     |
|      PREDICATES: (error_code[apache#2] = 2)                                                                                                     |
|      partitions=1/1 (example_tbl_duplicate)                                                                                               |
|      tablets=1/1, tabletList=1762481736238                                                                                                |
|      cardinality=1, avgRowSize=7425.0, numNodes=1                                                                                         |
|      pushAggOp=NONE                                                                                                                       |
|                                                                                                                                           |
|                                                                                                                                           |
|                                                                                                                                           |
| ========== STATISTICS ==========                                                                                                          |
| planed with unknown column statistics                                                                                                     |
+-------------------------------------------------------------------------------------------------------------------------------------------+
65 rows in set (0.040 sec)

```
morningman added a commit that referenced this pull request Dec 22, 2025
### What problem does this PR solve?

Related PR: #57898

Problem Summary:
The `getBackendMeta` does not need to call to Master FE.
If use specified non-master FE address in Doris Catalog, it will result
in dead loop
github-actions bot pushed a commit that referenced this pull request Dec 22, 2025
### What problem does this PR solve?

Related PR: #57898

Problem Summary:
The `getBackendMeta` does not need to call to Master FE.
If use specified non-master FE address in Doris Catalog, it will result
in dead loop
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/4.0.2-merged reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants