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 2024/03/14 09:46:26 UTC

[PR] [fix](Operator) RepeatNode does not handle empty expressions. (#32112) [doris]

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

   In the past, RepeatNode did not handle empty expressions. It used DCHECK to check if the expression was non-empty. In non-debug mode, this caused _child_block to remain unprocessed, resulting in a deadlock. Now, if the expression is empty, the output block directly outputs _child_block
   
   ## Proposed changes
   
   Issue Number: close #xxx
   
   <!--Describe your changes.-->
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at [dev@doris.apache.org](mailto:dev@doris.apache.org) by explaining why you chose the solution you did and what alternatives you considered, etc...
   
   


-- 
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](Operator) RepeatNode does not handle empty expressions. (#32112) [doris]

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

   
   Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   ```
   Load test result on commit 83d65f9715e852eb3e29c77bfd286735ae92db55 with default session variables
   Stream load json:         20 seconds loaded 2358488459 Bytes, about 112 MB/s
   Stream load orc:          58 seconds loaded 1101869774 Bytes, about 18 MB/s
   Stream load parquet:      31 seconds loaded 861443392 Bytes, about 26 MB/s
   Insert into select:       20.2 seconds inserted 10000000 Rows, about 495K ops/s
   ```
   


-- 
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](Operator) RepeatNode does not handle empty expressions. (#32112) [doris]

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

   
   <details>
   <summary>ClickBench: <b>Total hot run time: 30.31 s</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
   ClickBench test result on commit 83d65f9715e852eb3e29c77bfd286735ae92db55, data reload: false
   
   query1	0.02	0.02	0.02
   query2	0.06	0.02	0.02
   query3	0.25	0.05	0.04
   query4	1.83	0.06	0.07
   query5	0.52	0.52	0.52
   query6	1.26	0.66	0.67
   query7	0.02	0.01	0.02
   query8	0.04	0.02	0.02
   query9	0.53	0.48	0.47
   query10	0.54	0.53	0.54
   query11	0.12	0.09	0.09
   query12	0.11	0.09	0.10
   query13	0.61	0.62	0.62
   query14	0.77	0.78	0.79
   query15	0.77	0.76	0.76
   query16	0.37	0.38	0.36
   query17	1.00	1.00	0.98
   query18	0.22	0.25	0.25
   query19	1.87	1.83	1.86
   query20	0.02	0.02	0.01
   query21	15.50	0.56	0.54
   query22	1.91	2.22	1.33
   query23	17.62	1.03	0.83
   query24	5.38	0.91	1.11
   query25	0.39	0.11	0.06
   query26	0.62	0.16	0.15
   query27	0.04	0.03	0.04
   query28	8.16	0.72	0.72
   query29	12.67	2.35	2.29
   query30	0.62	0.53	0.52
   query31	2.81	0.38	0.39
   query32	3.40	0.50	0.50
   query33	3.04	3.10	3.06
   query34	15.25	4.80	4.78
   query35	4.87	4.86	4.83
   query36	1.06	1.02	1.02
   query37	0.05	0.05	0.04
   query38	0.03	0.02	0.02
   query39	0.02	0.01	0.01
   query40	0.15	0.14	0.14
   query41	0.07	0.01	0.01
   query42	0.02	0.02	0.01
   query43	0.02	0.01	0.02
   Total cold run time: 104.63 s
   Total hot run time: 30.31 s
   ```
   </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](Operator) RepeatNode does not handle empty expressions. (#32112) [doris]

Posted by "Mryange (via GitHub)" <gi...@apache.org>.
Mryange closed pull request #32251: [fix](Operator) RepeatNode does not handle empty expressions. (#32112)
URL: https://github.com/apache/doris/pull/32251


-- 
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](Operator) RepeatNode does not handle empty expressions. (#32112) [doris]

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

   clang-tidy review says "All clean, LGTM! :+1:"


-- 
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](Operator) RepeatNode does not handle empty expressions. (#32112) [doris]

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

   clang-tidy review says "All clean, LGTM! :+1:"


-- 
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](Operator) RepeatNode does not handle empty expressions. (#32112) [doris]

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

   TeamCity be ut coverage result:
    Function Coverage: 37.82% (8041/21263) 
    Line Coverage: 29.49% (65623/222534)
    Region Coverage: 28.96% (33771/116605)
    Branch Coverage: 24.81% (17335/69878)
    Coverage Report: http://coverage.selectdb-in.cc/coverage/83d65f9715e852eb3e29c77bfd286735ae92db55_83d65f9715e852eb3e29c77bfd286735ae92db55/report/index.html


-- 
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](Operator) RepeatNode does not handle empty expressions. (#32112) [doris]

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

   
   <details>
   <summary>TPC-DS: <b>Total hot run time: 201211 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 83d65f9715e852eb3e29c77bfd286735ae92db55, data reload: false
   
   query1	918	397	389	389
   query2	6517	2181	2215	2181
   query3	6931	196	197	196
   query4	20260	17960	17983	17960
   query5	19724	6527	6512	6512
   query6	301	213	242	213
   query7	4155	292	298	292
   query8	256	250	225	225
   query9	3190	2693	2611	2611
   query10	408	288	299	288
   query11	11376	10667	10762	10667
   query12	113	73	70	70
   query13	5586	637	627	627
   query14	17711	13288	13323	13288
   query15	380	240	227	227
   query16	6463	274	268	268
   query17	1752	1460	847	847
   query18	2343	401	395	395
   query19	205	142	152	142
   query20	73	76	74	74
   query21	190	95	90	90
   query22	5319	5128	5128	5128
   query23	32490	31875	31930	31875
   query24	6963	6454	6546	6454
   query25	526	419	390	390
   query26	523	161	157	157
   query27	1891	284	286	284
   query28	6110	2216	2170	2170
   query29	2925	2736	2672	2672
   query30	241	162	162	162
   query31	894	720	756	720
   query32	70	61	59	59
   query33	393	239	256	239
   query34	833	452	467	452
   query35	1112	879	870	870
   query36	1787	1431	1642	1431
   query37	85	60	59	59
   query38	3089	2930	2931	2930
   query39	1367	1310	1324	1310
   query40	198	90	92	90
   query41	35	33	32	32
   query42	80	85	79	79
   query43	762	630	718	630
   query44	1144	714	702	702
   query45	249	233	226	226
   query46	1219	979	974	974
   query47	1786	1653	1799	1653
   query48	964	667	671	667
   query49	601	361	365	361
   query50	879	600	596	596
   query51	4715	4661	4631	4631
   query52	86	81	68	68
   query53	446	311	313	311
   query54	2647	2461	2395	2395
   query55	87	73	88	73
   query56	212	204	210	204
   query57	1177	1111	1113	1111
   query58	202	195	209	195
   query59	3619	3111	3315	3111
   query60	205	200	180	180
   query61	83	81	86	81
   query62	814	510	442	442
   query63	472	328	334	328
   query64	4232	1577	1350	1350
   query65	3621	3570	3534	3534
   query66	665	380	352	352
   query67	15730	16588	15435	15435
   query68	9707	674	639	639
   query69	555	333	319	319
   query70	2271	1640	1765	1640
   query71	405	300	301	300
   query72	6407	3455	3427	3427
   query73	729	314	311	311
   query74	6307	5822	5780	5780
   query75	5197	3667	3636	3636
   query76	6304	1168	1188	1168
   query77	1055	245	242	242
   query78	12587	11434	11592	11434
   query79	8709	656	627	627
   query80	1313	381	391	381
   query81	493	229	226	226
   query82	1624	100	99	99
   query83	161	130	131	130
   query84	257	67	68	67
   query85	845	283	270	270
   query86	394	373	398	373
   query87	3229	3025	3002	3002
   query88	4743	2279	2317	2279
   query89	465	268	273	268
   query90	1992	214	205	205
   query91	144	115	112	112
   query92	59	48	50	48
   query93	6599	557	588	557
   query94	703	200	203	200
   query95	1091	1078	1047	1047
   query96	642	326	319	319
   query97	6525	6281	6391	6281
   query98	187	173	172	172
   query99	3038	917	964	917
   Total cold run time: 317137 ms
   Total hot run time: 201211 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](Operator) RepeatNode does not handle empty expressions. (#32112) [doris]

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

   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)


-- 
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](Operator) RepeatNode does not handle empty expressions. (#32112) [doris]

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

   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](Operator) RepeatNode does not handle empty expressions. (#32112) [doris]

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

   
   <details>
   <summary>TPC-H: <b>Total hot run time: 49980 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 83d65f9715e852eb3e29c77bfd286735ae92db55, data reload: false
   
   ------ Round 1 ----------------------------------
   q1	18237	4392	4343	4343
   q2	2030	154	152	152
   q3	10279	1907	1935	1907
   q4	10104	1225	1350	1225
   q5	8396	4010	4040	4010
   q6	234	123	121	121
   q7	2042	1611	1621	1611
   q8	9513	2756	2765	2756
   q9	14159	10660	10392	10392
   q10	8656	3520	3510	3510
   q11	417	245	245	245
   q12	466	298	303	298
   q13	18328	3943	4077	3943
   q14	350	319	331	319
   q15	511	455	461	455
   q16	690	605	581	581
   q17	1147	917	934	917
   q18	7211	6889	6889	6889
   q19	1700	1570	1528	1528
   q20	513	305	308	305
   q21	4452	4134	4075	4075
   q22	517	398	409	398
   Total cold run time: 119952 ms
   Total hot run time: 49980 ms
   
   ----- Round 2, with runtime_filter_mode=off -----
   q1	4333	4300	4296	4296
   q2	318	222	221	221
   q3	4236	4154	4163	4154
   q4	2776	2745	2742	2742
   q5	7350	7234	7205	7205
   q6	239	119	119	119
   q7	3276	2841	2778	2778
   q8	4377	4486	4494	4486
   q9	17114	17028	17089	17028
   q10	4255	4253	4303	4253
   q11	757	706	687	687
   q12	1025	859	846	846
   q13	6713	3768	3739	3739
   q14	441	420	420	420
   q15	499	450	450	450
   q16	753	706	723	706
   q17	3850	3858	3880	3858
   q18	8799	8853	8801	8801
   q19	1746	1651	1680	1651
   q20	2401	2164	2121	2121
   q21	8529	8482	8448	8448
   q22	1018	968	979	968
   Total cold run time: 84805 ms
   Total hot run time: 79977 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](Operator) RepeatNode does not handle empty expressions. (#32112) [doris]

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

   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