Skip to content

Conversation

@Hastyshell
Copy link
Collaborator

@Hastyshell Hastyshell commented Jul 30, 2025

What problem does this PR solve?

cherry-pick: #54024 #54072

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

@Hastyshell Hastyshell requested a review from dataroaring as a code owner July 30, 2025 12:06
@Thearas
Copy link
Contributor

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

@Hastyshell
Copy link
Collaborator Author

run buildall

@Hastyshell Hastyshell changed the title [fix](schema-change) Rebuild distribution info according to original order [fix](schema-change) Rebuild distribution info according to original order (#54024) (#54072) Jul 30, 2025
@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17589	6889	6701	6701
q2	2722	173	176	173
q3	11383	1143	1162	1143
q4	10211	752	767	752
q5	7744	2877	2844	2844
q6	214	136	133	133
q7	972	626	599	599
q8	9363	1992	2071	1992
q9	6671	6405	6433	6405
q10	6930	2267	2330	2267
q11	453	249	262	249
q12	395	214	212	212
q13	17766	2995	2984	2984
q14	235	213	203	203
q15	494	464	480	464
q16	468	381	386	381
q17	983	562	549	549
q18	7243	6612	6634	6612
q19	1406	1105	1033	1033
q20	489	197	199	197
q21	3944	3171	3166	3166
q22	1129	1010	981	981
Total cold run time: 108804 ms
Total hot run time: 40040 ms

----- Round 2, with runtime_filter_mode=off -----
q1	6593	6614	6592	6592
q2	333	234	239	234
q3	2975	2991	3009	2991
q4	2077	1795	1746	1746
q5	5792	5718	5721	5718
q6	209	124	129	124
q7	2151	1766	1805	1766
q8	3361	3541	3533	3533
q9	8889	8912	8887	8887
q10	3607	3534	3588	3534
q11	599	493	484	484
q12	789	588	579	579
q13	14844	3093	3126	3093
q14	293	284	273	273
q15	508	465	465	465
q16	504	432	443	432
q17	1834	1663	1647	1647
q18	8190	7748	7813	7748
q19	1664	1443	1596	1443
q20	2094	1880	1848	1848
q21	5064	4899	4865	4865
q22	1087	1047	984	984
Total cold run time: 73457 ms
Total hot run time: 58986 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 189874 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 567701cfafee5b50f6e4a2e3f7c3d57a5ae8915f, data reload: false

query1	959	391	363	363
query2	6510	1914	1822	1822
query3	6705	212	214	212
query4	34148	23527	23889	23527
query5	4389	454	484	454
query6	284	190	194	190
query7	4632	315	319	315
query8	293	230	235	230
query9	9696	2584	2558	2558
query10	482	265	257	257
query11	18265	15308	15182	15182
query12	160	104	114	104
query13	1624	410	400	400
query14	8895	6646	7083	6646
query15	230	168	180	168
query16	7942	457	442	442
query17	1598	564	563	563
query18	2073	304	308	304
query19	210	159	153	153
query20	118	110	104	104
query21	205	102	108	102
query22	4473	4179	4158	4158
query23	34203	33321	33769	33321
query24	11448	2850	2934	2850
query25	725	415	409	409
query26	1654	168	170	168
query27	3074	351	348	348
query28	7894	2103	2102	2102
query29	1035	447	448	447
query30	325	157	160	157
query31	1042	790	806	790
query32	94	61	60	60
query33	788	319	297	297
query34	955	498	523	498
query35	929	723	718	718
query36	1121	940	933	933
query37	134	78	75	75
query38	4031	3845	3896	3845
query39	1522	1411	1440	1411
query40	294	105	104	104
query41	57	53	54	53
query42	119	102	103	102
query43	509	468	472	468
query44	1279	782	780	780
query45	185	170	172	170
query46	1151	712	714	712
query47	1893	1883	1846	1846
query48	471	381	381	381
query49	1297	418	405	405
query50	820	409	411	409
query51	7162	7026	7087	7026
query52	102	93	94	93
query53	258	188	192	188
query54	1255	472	473	472
query55	87	79	78	78
query56	285	266	268	266
query57	1290	1184	1168	1168
query58	251	211	240	211
query59	3123	2875	2848	2848
query60	291	266	263	263
query61	152	134	133	133
query62	888	678	677	677
query63	229	191	198	191
query64	5482	635	625	625
query65	3275	3168	3158	3158
query66	1458	303	303	303
query67	15916	15529	15497	15497
query68	4538	570	569	569
query69	436	256	262	256
query70	1183	1069	1104	1069
query71	391	252	246	246
query72	6726	4032	4056	4032
query73	769	346	346	346
query74	10257	9175	9347	9175
query75	3398	2636	2631	2631
query76	2806	1029	1063	1029
query77	452	279	277	277
query78	10476	9641	9639	9639
query79	1775	597	602	597
query80	1106	431	421	421
query81	538	217	217	217
query82	949	89	91	89
query83	214	146	142	142
query84	240	77	83	77
query85	1311	298	294	294
query86	425	291	293	291
query87	4380	4224	4195	4195
query88	3509	2358	2335	2335
query89	404	293	297	293
query90	2011	188	186	186
query91	186	150	166	150
query92	66	51	54	51
query93	1749	566	561	561
query94	938	255	306	255
query95	363	255	260	255
query96	606	289	284	284
query97	3297	3121	3142	3121
query98	221	198	192	192
query99	1508	1324	1289	1289
Total cold run time: 301672 ms
Total hot run time: 189874 ms

@doris-robot
Copy link

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

query1	0.04	0.03	0.03
query2	0.06	0.02	0.03
query3	0.23	0.07	0.06
query4	1.62	0.10	0.10
query5	0.53	0.50	0.50
query6	1.13	0.73	0.74
query7	0.02	0.02	0.01
query8	0.04	0.03	0.03
query9	0.56	0.49	0.49
query10	0.55	0.56	0.61
query11	0.14	0.10	0.10
query12	0.13	0.11	0.11
query13	0.59	0.60	0.60
query14	0.78	0.77	0.83
query15	0.83	0.82	0.81
query16	0.40	0.37	0.38
query17	1.02	1.00	1.01
query18	0.25	0.21	0.21
query19	1.82	1.76	1.81
query20	0.01	0.00	0.01
query21	15.42	0.60	0.59
query22	2.42	2.16	1.49
query23	17.15	0.86	0.84
query24	3.00	1.56	1.74
query25	0.22	0.17	0.16
query26	0.42	0.14	0.13
query27	0.03	0.05	0.04
query28	9.37	0.51	0.51
query29	12.59	3.23	3.19
query30	0.25	0.07	0.06
query31	2.86	0.39	0.39
query32	3.23	0.45	0.45
query33	2.95	2.99	3.03
query34	16.78	4.49	4.56
query35	4.57	4.51	4.53
query36	0.64	0.47	0.48
query37	0.09	0.07	0.06
query38	0.04	0.04	0.03
query39	0.04	0.03	0.02
query40	0.15	0.12	0.12
query41	0.08	0.02	0.03
query42	0.03	0.02	0.02
query43	0.03	0.02	0.03
Total cold run time: 103.11 s
Total hot run time: 30.42 s

@hello-stephen
Copy link
Contributor

FE UT Coverage Report

Increment line coverage 100.00% (3/3) 🎉
Increment coverage report
Complete coverage report

Copy link
Contributor

@dataroaring dataroaring left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dataroaring dataroaring merged commit 6bb8596 into apache:branch-3.0 Jul 30, 2025
28 of 30 checks passed
@gavinchou gavinchou mentioned this pull request Sep 1, 2025
deardeng pushed a commit to deardeng/incubator-doris that referenced this pull request Dec 19, 2025
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.

5 participants