You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "Mryange (via GitHub)" <gi...@apache.org> on 2026/03/11 06:38:56 UTC

[PR] [fix](hashmap)Fix the agg hashmap iterator so it works correctly. [doris]

Mryange opened a new pull request, #61215:
URL: https://github.com/apache/doris/pull/61215

   ### What problem does this PR solve?
   Previously, for agg hashmap<key, value>, when using the iterator, we could only iterate over the values but not the keys. 
   
   In addition, there is a hidden bug in the string hashmap (it just never got triggered before because we couldn’t iterate over the keys; I triggered it with BEUT in another PR https://github.com/apache/doris/pull/61058 ). 
   
   This PR is a prerequisite; we will need a complete iterator for some upcoming features.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test <!-- At least one of them must be included. -->
       - [ ] 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 <!-- Add your reason?  -->
   
   - Behavior changed:
       - [ ] No.
       - [ ] Yes. <!-- Explain the behavior change -->
   
   - Does this need documentation?
       - [ ] No.
       - [ ] Yes. <!-- Add document PR link here. eg: https://github.com/apache/doris-website/pull/1214 -->
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label <!-- Add branch pick label that this PR should merge into -->
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](hashmap)Fix the agg hashmap iterator so it works correctly. [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #61215:
URL: https://github.com/apache/doris/pull/61215#issuecomment-4043359295

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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](hashmap)Fix the agg hashmap iterator so it works correctly. [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #61215:
URL: https://github.com/apache/doris/pull/61215#issuecomment-4037110025

   
   <details>
   <summary>TPC-DS: <b>Total hot run time: 152940 ms</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
   TPC-DS sf100 test result on commit 05052a773606f3b82bc19f7c4bcb6385822ac0ee, data reload: false
   
   query5	4322	636	527	527
   query6	331	223	221	221
   query7	4209	471	257	257
   query8	346	248	234	234
   query9	8716	2700	2725	2700
   query10	523	372	349	349
   query11	7450	5823	5623	5623
   query12	185	126	126	126
   query13	1269	450	350	350
   query14	5814	3809	3586	3586
   query14_1	2834	2818	2846	2818
   query15	208	196	179	179
   query16	982	498	461	461
   query17	883	718	614	614
   query18	2445	449	345	345
   query19	220	204	183	183
   query20	133	135	133	133
   query21	227	149	134	134
   query22	4915	5001	4718	4718
   query23	15959	15655	15385	15385
   query23_1	15481	16381	15946	15946
   query24	7616	1737	1293	1293
   query24_1	1375	1275	1285	1275
   query25	573	486	417	417
   query26	1298	286	155	155
   query27	2760	521	307	307
   query28	4871	1958	1903	1903
   query29	869	593	500	500
   query30	330	269	219	219
   query31	1360	1272	1216	1216
   query32	79	72	66	66
   query33	509	315	271	271
   query34	929	925	565	565
   query35	628	678	597	597
   query36	1108	1116	941	941
   query37	131	96	82	82
   query38	2930	2911	2887	2887
   query39	855	861	851	851
   query39_1	820	833	826	826
   query40	233	151	133	133
   query41	65	59	58	58
   query42	298	298	301	298
   query43	238	240	220	220
   query44	
   query45	195	188	184	184
   query46	886	984	606	606
   query47	2138	2189	2072	2072
   query48	308	306	229	229
   query49	632	472	373	373
   query50	665	269	211	211
   query51	4073	4065	4050	4050
   query52	291	287	287	287
   query53	285	334	276	276
   query54	309	273	254	254
   query55	90	86	83	83
   query56	305	323	317	317
   query57	1381	1345	1278	1278
   query58	292	279	273	273
   query59	1358	1471	1334	1334
   query60	339	317	312	312
   query61	155	146	163	146
   query62	626	589	525	525
   query63	317	275	272	272
   query64	5017	1275	975	975
   query65	
   query66	1485	453	349	349
   query67	16238	16390	16345	16345
   query68	
   query69	383	315	281	281
   query70	977	966	954	954
   query71	339	307	297	297
   query72	2801	2656	2636	2636
   query73	542	549	323	323
   query74	10015	9907	9858	9858
   query75	2877	2772	2483	2483
   query76	2291	1043	687	687
   query77	382	381	315	315
   query78	11178	11370	10645	10645
   query79	1180	802	595	595
   query80	1367	672	527	527
   query81	560	271	246	246
   query82	1022	147	117	117
   query83	335	263	246	246
   query84	292	122	102	102
   query85	905	481	425	425
   query86	402	305	306	305
   query87	3181	3083	2992	2992
   query88	3498	2600	2595	2595
   query89	426	365	341	341
   query90	2050	171	172	171
   query91	161	159	132	132
   query92	76	73	71	71
   query93	943	831	494	494
   query94	639	326	281	281
   query95	598	325	367	325
   query96	647	502	228	228
   query97	2475	2518	2470	2470
   query98	236	218	226	218
   query99	997	1007	865	865
   Total cold run time: 233017 ms
   Total hot run time: 152940 ms
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](hashmap)Fix the agg hashmap iterator so it works correctly. [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #61215:
URL: https://github.com/apache/doris/pull/61215#issuecomment-4037058049

   
   <details>
   <summary>TPC-H: <b>Total hot run time: 27650 ms</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
   Tpch sf100 test result on commit 05052a773606f3b82bc19f7c4bcb6385822ac0ee, data reload: false
   
   ------ Round 1 ----------------------------------
   ============================================
   q1	17607	4391	4272	4272
   q2	q3	10649	854	510	510
   q4	4683	375	253	253
   q5	7554	1203	1002	1002
   q6	173	173	147	147
   q7	772	842	674	674
   q8	9302	1480	1365	1365
   q9	4903	4734	4753	4734
   q10	6310	1935	1660	1660
   q11	474	262	246	246
   q12	707	576	462	462
   q13	18063	2961	2168	2168
   q14	225	243	217	217
   q15	958	795	796	795
   q16	759	729	678	678
   q17	724	856	412	412
   q18	5959	5439	5329	5329
   q19	1275	1010	597	597
   q20	510	504	377	377
   q21	4633	2142	1468	1468
   q22	387	346	284	284
   Total cold run time: 96627 ms
   Total hot run time: 27650 ms
   
   ----- Round 2, with runtime_filter_mode=off -----
   ============================================
   q1	4867	4576	4538	4538
   q2	q3	3866	4335	3819	3819
   q4	878	1221	772	772
   q5	4073	4354	4326	4326
   q6	192	180	145	145
   q7	1782	1684	1526	1526
   q8	2493	2781	2684	2684
   q9	7483	7409	7359	7359
   q10	3804	4001	3764	3764
   q11	504	437	407	407
   q12	467	598	450	450
   q13	2771	3218	2276	2276
   q14	276	292	267	267
   q15	872	816	852	816
   q16	706	762	740	740
   q17	1165	1457	1382	1382
   q18	7156	6841	6609	6609
   q19	879	879	886	879
   q20	2145	2208	1988	1988
   q21	4001	3485	3345	3345
   q22	474	405	376	376
   Total cold run time: 50854 ms
   Total hot run time: 48468 ms
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](hashmap)Fix the agg hashmap iterator so it works correctly. [doris]

Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #61215:
URL: https://github.com/apache/doris/pull/61215#issuecomment-4037368879

   # BE UT Coverage Report
   Increment line coverage `78.57% (22/28)` :tada:
   
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/05052a773606f3b82bc19f7c4bcb6385822ac0ee_05052a773606f3b82bc19f7c4bcb6385822ac0ee/increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/05052a773606f3b82bc19f7c4bcb6385822ac0ee_05052a773606f3b82bc19f7c4bcb6385822ac0ee/report/index.html)
   | Category          | Coverage           |
   |-------------------|--------------------|
   | Function Coverage | 52.62% (19677/37398) |
   | Line Coverage     | 36.19% (183419/506817) |
   | Region Coverage   | 32.33% (141666/438211) |
   | Branch Coverage   | 33.50% (61838/184604) |


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](hashmap)Fix the agg hashmap iterator so it works correctly. [doris]

Posted by "Mryange (via GitHub)" <gi...@apache.org>.
Mryange commented on PR #61215:
URL: https://github.com/apache/doris/pull/61215#issuecomment-4036873057

   run buildall


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](hashmap)Fix the agg hashmap iterator so it works correctly. [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #61215:
URL: https://github.com/apache/doris/pull/61215#issuecomment-4043359381

   PR approved by anyone and no changes requested.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](hashmap)Fix the agg hashmap iterator so it works correctly. [doris]

Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #61215:
URL: https://github.com/apache/doris/pull/61215#issuecomment-4036872505

   
   Thank you for your contribution to Apache Doris.
   Don't know what should be done next? See [How to process your PR](https://cwiki.apache.org/confluence/display/DORIS/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?
       


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](hashmap)Fix the agg hashmap iterator so it works correctly. [doris]

Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #61215:
URL: https://github.com/apache/doris/pull/61215#issuecomment-4037888619

   # BE Regression && UT Coverage Report
   Increment line coverage `100% (0/0)` :tada:
   
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/61215_05052a773606f3b82bc19f7c4bcb6385822ac0ee_merge/increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/61215_05052a773606f3b82bc19f7c4bcb6385822ac0ee_merge/report/index.html)
   | Category          | Coverage           |
   |-------------------|--------------------|
   | Function Coverage | 71.49% (26168/36603) |
   | Line Coverage     | 54.22% (273872/505097) |
   | Region Coverage   | 51.31% (226905/442259) |
   | Branch Coverage   | 52.86% (97829/185086) |


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](hashmap)Fix the agg hashmap iterator so it works correctly. [doris]

Posted by "HappenLee (via GitHub)" <gi...@apache.org>.
HappenLee merged PR #61215:
URL: https://github.com/apache/doris/pull/61215


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org