Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BE](ut) add be ut for column complex test case #48166

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

zhangstar333
Copy link
Contributor

What problem does this PR solve?

Issue Number: close #xxx

Related PR: #xxx

Problem Summary:

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

@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?

@zhangstar333
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17606	5450	5154	5154
q2	2056	307	174	174
q3	10485	1294	783	783
q4	10225	1065	531	531
q5	7639	2524	2337	2337
q6	198	172	135	135
q7	920	781	622	622
q8	9321	1388	1216	1216
q9	4937	4722	4665	4665
q10	6850	2351	1888	1888
q11	492	299	263	263
q12	352	362	214	214
q13	17763	3821	3072	3072
q14	230	238	230	230
q15	528	481	475	475
q16	643	611	578	578
q17	604	875	340	340
q18	6832	6257	6319	6257
q19	1673	981	543	543
q20	314	321	194	194
q21	2866	2175	1906	1906
q22	366	341	314	314
Total cold run time: 102900 ms
Total hot run time: 31891 ms

----- Round 2, with runtime_filter_mode=off -----
q1	5221	5193	5188	5188
q2	233	332	234	234
q3	2211	2724	2316	2316
q4	1424	1865	1341	1341
q5	4234	4109	4170	4109
q6	229	171	124	124
q7	1909	1890	1750	1750
q8	2618	2676	2639	2639
q9	7302	7207	7198	7198
q10	3065	3204	2800	2800
q11	615	514	499	499
q12	667	763	619	619
q13	3447	3912	3372	3372
q14	289	296	281	281
q15	512	478	463	463
q16	638	688	642	642
q17	1176	1647	1312	1312
q18	7689	7421	7333	7333
q19	807	816	986	816
q20	2047	2087	1948	1948
q21	5526	4948	4818	4818
q22	587	578	528	528
Total cold run time: 52446 ms
Total hot run time: 50330 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 190608 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 8b56a8ed3218bfda80322e83780bb59db315cddf, data reload: false

query1	1319	977	931	931
query2	6234	1862	1847	1847
query3	11087	4599	4679	4599
query4	57117	25597	23534	23534
query5	5226	514	498	498
query6	390	198	193	193
query7	5209	511	301	301
query8	334	253	241	241
query9	6397	2518	2501	2501
query10	437	303	271	271
query11	15141	15051	14852	14852
query12	162	111	110	110
query13	1191	520	384	384
query14	10483	6759	6727	6727
query15	197	197	182	182
query16	7098	665	475	475
query17	1061	709	543	543
query18	1564	414	327	327
query19	198	190	162	162
query20	126	119	116	116
query21	212	128	101	101
query22	4330	4534	4291	4291
query23	33885	33250	33528	33250
query24	5618	2436	2473	2436
query25	464	470	431	431
query26	686	300	166	166
query27	1784	517	342	342
query28	2761	2443	2389	2389
query29	571	545	430	430
query30	207	188	159	159
query31	882	852	813	813
query32	73	65	60	60
query33	454	365	300	300
query34	774	867	518	518
query35	791	868	753	753
query36	961	993	900	900
query37	118	105	74	74
query38	4253	4242	4280	4242
query39	1503	1456	1432	1432
query40	212	116	109	109
query41	51	56	48	48
query42	129	108	106	106
query43	492	528	480	480
query44	1306	808	801	801
query45	182	172	172	172
query46	895	1107	671	671
query47	1840	1876	1794	1794
query48	397	434	306	306
query49	679	530	397	397
query50	723	733	419	419
query51	4274	4338	4276	4276
query52	104	116	100	100
query53	236	262	187	187
query54	481	508	421	421
query55	89	79	84	79
query56	261	275	263	263
query57	1199	1187	1087	1087
query58	248	247	247	247
query59	2701	2757	2604	2604
query60	314	284	274	274
query61	123	128	151	128
query62	718	738	674	674
query63	227	191	198	191
query64	1625	1048	690	690
query65	3284	3128	3114	3114
query66	701	397	297	297
query67	15681	15552	15459	15459
query68	2896	806	566	566
query69	495	292	274	274
query70	1180	1127	1105	1105
query71	361	298	290	290
query72	6311	3665	3724	3665
query73	624	731	346	346
query74	9124	9116	8904	8904
query75	3157	3174	2647	2647
query76	2111	1170	748	748
query77	549	357	284	284
query78	10060	10222	9361	9361
query79	1037	901	603	603
query80	692	545	442	442
query81	511	267	233	233
query82	214	125	105	105
query83	188	177	162	162
query84	280	107	82	82
query85	814	427	385	385
query86	340	319	291	291
query87	4464	4500	4437	4437
query88	2882	2243	2162	2162
query89	390	317	284	284
query90	1723	187	191	187
query91	130	140	105	105
query92	62	59	58	58
query93	1189	1007	578	578
query94	600	411	285	285
query95	343	269	265	265
query96	494	532	268	268
query97	2757	2874	2748	2748
query98	237	199	201	199
query99	1407	1432	1264	1264
Total cold run time: 288092 ms
Total hot run time: 190608 ms

@doris-robot
Copy link

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

query1	0.04	0.04	0.03
query2	0.07	0.03	0.03
query3	0.23	0.06	0.06
query4	1.62	0.10	0.10
query5	0.41	0.41	0.39
query6	1.17	0.65	0.66
query7	0.02	0.02	0.02
query8	0.04	0.03	0.03
query9	0.58	0.52	0.55
query10	0.58	0.58	0.56
query11	0.15	0.10	0.11
query12	0.14	0.11	0.11
query13	0.63	0.59	0.61
query14	2.68	2.71	2.68
query15	0.92	0.85	0.85
query16	0.38	0.37	0.38
query17	1.00	1.01	1.01
query18	0.21	0.20	0.19
query19	1.87	1.81	1.99
query20	0.01	0.01	0.01
query21	15.36	0.91	0.57
query22	0.76	1.19	0.64
query23	14.94	1.40	0.65
query24	6.95	1.55	0.79
query25	0.53	0.23	0.10
query26	0.60	0.16	0.14
query27	0.05	0.06	0.05
query28	9.18	0.85	0.41
query29	12.54	3.92	3.29
query30	0.25	0.08	0.05
query31	2.82	0.61	0.40
query32	3.22	0.54	0.46
query33	3.07	3.01	3.04
query34	15.87	5.19	4.60
query35	4.55	4.58	4.61
query36	0.67	0.49	0.48
query37	0.08	0.06	0.06
query38	0.06	0.04	0.04
query39	0.04	0.03	0.03
query40	0.17	0.14	0.12
query41	0.09	0.03	0.03
query42	0.04	0.02	0.02
query43	0.03	0.03	0.03
Total cold run time: 104.62 s
Total hot run time: 30.66 s

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 44.64% (11787/26407)
Line Coverage: 34.08% (98486/288966)
Region Coverage: 33.16% (50441/152118)
Branch Coverage: 28.79% (25351/88058)
Coverage Report: http://coverage.selectdb-in.cc/coverage/8b56a8ed3218bfda80322e83780bb59db315cddf_8b56a8ed3218bfda80322e83780bb59db315cddf/report/index.html

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.

3 participants