Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Jun 9, 2025

Cherry-picked from #51467

…s for inverted index show (#51467)

Problem Summary:
This PR enhances the inverted index implementation to always output its
properties in a consistent, alphabetical order and adds tests to verify
this behavior.
@github-actions github-actions bot requested a review from dataroaring as a code owner June 9, 2025 11:44
@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?

@dataroaring dataroaring closed this Jun 9, 2025
@dataroaring dataroaring reopened this Jun 9, 2025
@hello-stephen
Copy link
Contributor

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17589	6799	6621	6621
q2	2069	165	158	158
q3	10624	1084	1213	1084
q4	10539	776	791	776
q5	7732	2866	2769	2769
q6	218	140	137	137
q7	992	639	624	624
q8	9346	1921	2034	1921
q9	6621	6438	6430	6430
q10	7023	2286	2284	2284
q11	474	252	254	252
q12	408	210	205	205
q13	17785	2992	3028	2992
q14	233	212	211	211
q15	502	467	476	467
q16	492	392	387	387
q17	970	578	520	520
q18	7270	6771	6571	6571
q19	1413	1048	1107	1048
q20	472	200	201	200
q21	4024	3168	3296	3168
q22	1109	1006	996	996
Total cold run time: 107905 ms
Total hot run time: 39821 ms

----- Round 2, with runtime_filter_mode=off -----
q1	6660	6603	6673	6603
q2	330	237	244	237
q3	2943	2852	3010	2852
q4	2093	1845	1749	1749
q5	5847	5782	5742	5742
q6	217	130	136	130
q7	2228	1793	1809	1793
q8	3355	3542	3539	3539
q9	8976	8808	8923	8808
q10	3565	3516	3535	3516
q11	585	493	491	491
q12	827	605	616	605
q13	10050	3158	3205	3158
q14	308	268	279	268
q15	528	472	463	463
q16	483	468	449	449
q17	1840	1610	1633	1610
q18	8209	7870	7606	7606
q19	1737	1548	1521	1521
q20	2104	1818	1815	1815
q21	5361	5323	5312	5312
q22	1116	1059	1060	1059
Total cold run time: 69362 ms
Total hot run time: 59326 ms

@doris-robot
Copy link

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

query1	1261	916	897	897
query2	6367	1910	1865	1865
query3	10963	4474	4451	4451
query4	60755	29811	23343	23343
query5	5246	453	455	453
query6	394	179	167	167
query7	5453	322	309	309
query8	311	239	219	219
query9	8443	2602	2604	2602
query10	454	268	247	247
query11	17365	15322	16049	15322
query12	161	103	104	103
query13	1414	450	436	436
query14	10168	7730	7743	7730
query15	201	180	174	174
query16	7105	485	532	485
query17	1206	615	620	615
query18	1872	336	325	325
query19	221	168	171	168
query20	123	114	112	112
query21	211	105	102	102
query22	4628	4487	4641	4487
query23	34646	34081	34167	34081
query24	6225	2936	2960	2936
query25	504	408	404	404
query26	651	164	165	164
query27	1925	346	358	346
query28	4290	2189	2152	2152
query29	682	440	445	440
query30	231	153	155	153
query31	960	825	832	825
query32	67	57	55	55
query33	449	285	279	279
query34	913	518	527	518
query35	855	755	720	720
query36	1077	984	999	984
query37	109	70	73	70
query38	4069	3960	3934	3934
query39	1544	1447	1614	1447
query40	209	103	101	101
query41	48	57	52	52
query42	114	103	103	103
query43	527	479	495	479
query44	1209	846	824	824
query45	187	167	168	167
query46	1148	737	736	736
query47	2004	1885	1927	1885
query48	482	403	384	384
query49	726	431	391	391
query50	879	441	430	430
query51	7390	7356	7249	7249
query52	101	88	95	88
query53	259	185	193	185
query54	569	473	483	473
query55	84	80	76	76
query56	268	266	243	243
query57	1253	1164	1160	1160
query58	233	206	208	206
query59	3321	3112	3030	3030
query60	284	261	263	261
query61	143	110	108	108
query62	751	678	673	673
query63	216	187	190	187
query64	1350	634	631	631
query65	3259	3186	3164	3164
query66	710	295	296	295
query67	15881	15557	15626	15557
query68	4125	587	581	581
query69	422	266	265	265
query70	1205	1086	1137	1086
query71	348	256	249	249
query72	6337	4035	4019	4019
query73	749	354	358	354
query74	10232	8921	9309	8921
query75	3274	2665	2683	2665
query76	1995	1040	1023	1023
query77	524	296	277	277
query78	10496	9562	9585	9562
query79	1398	599	605	599
query80	880	458	470	458
query81	488	226	230	226
query82	1284	97	93	93
query83	248	157	152	152
query84	288	87	83	83
query85	948	364	283	283
query86	325	312	297	297
query87	4460	4277	4206	4206
query88	3659	2394	2370	2370
query89	426	290	293	290
query90	2018	189	190	189
query91	176	147	144	144
query92	60	54	50	50
query93	1625	556	564	556
query94	747	302	283	283
query95	355	256	255	255
query96	612	287	280	280
query97	3277	3170	3135	3135
query98	212	204	199	199
query99	1558	1270	1265	1265
Total cold run time: 311875 ms
Total hot run time: 197673 ms

@doris-robot
Copy link

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

query1	0.03	0.03	0.03
query2	0.06	0.03	0.03
query3	0.23	0.07	0.07
query4	1.62	0.10	0.10
query5	0.52	0.53	0.52
query6	1.14	0.72	0.73
query7	0.02	0.04	0.02
query8	0.04	0.03	0.03
query9	0.55	0.51	0.49
query10	0.55	0.54	0.55
query11	0.14	0.10	0.10
query12	0.14	0.11	0.11
query13	0.60	0.60	0.58
query14	0.77	0.78	0.79
query15	0.84	0.82	0.82
query16	0.39	0.38	0.38
query17	1.04	1.06	1.06
query18	0.24	0.22	0.21
query19	1.84	1.85	1.86
query20	0.02	0.01	0.01
query21	15.39	0.57	0.58
query22	2.58	2.62	2.07
query23	17.06	0.82	0.82
query24	2.64	1.19	2.01
query25	0.26	0.06	0.11
query26	0.52	0.12	0.13
query27	0.05	0.04	0.04
query28	9.81	0.48	0.47
query29	12.60	3.27	3.22
query30	0.25	0.06	0.06
query31	2.85	0.38	0.38
query32	3.25	0.47	0.45
query33	2.91	3.06	3.01
query34	16.82	4.57	4.56
query35	4.56	4.55	4.58
query36	0.68	0.47	0.48
query37	0.09	0.06	0.06
query38	0.05	0.04	0.04
query39	0.03	0.02	0.02
query40	0.16	0.13	0.13
query41	0.08	0.03	0.02
query42	0.03	0.02	0.02
query43	0.04	0.03	0.03
Total cold run time: 103.49 s
Total hot run time: 30.81 s

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 da61e82 into branch-3.0 Jun 10, 2025
23 of 24 checks passed
@github-actions github-actions bot deleted the auto-pick-51467-branch-3.0 branch June 10, 2025 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants