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

[chore](error msg) More convenient error msg when function not found. #40296

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

zhiqiang-hhhh
Copy link
Contributor

previous

ERROR 1105 (HY000): errCode = 2, detailMessage = ([]())[INTERNAL_ERROR]Function dsqrt get failed, expr is VectorizedFnCall[dsqrt](arguments=Float64,return=Float64) and return type is Float64.

now

ERROR 1105 (HY000): errCode = 2, detailMessage = ([]())[INTERNAL_ERROR]Could not find function dsqrt, arg Float64 return Float64

@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@zhiqiang-hhhh
Copy link
Contributor Author

run buildall

Copy link
Contributor

github-actions bot commented Sep 3, 2024

clang-tidy review says "All clean, LGTM! 👍"

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17630	4453	4338	4338
q2	2031	184	170	170
q3	11771	980	1192	980
q4	10533	698	742	698
q5	7764	2915	2863	2863
q6	227	137	138	137
q7	969	619	631	619
q8	9309	2105	2115	2105
q9	7243	6570	6580	6570
q10	6991	2235	2226	2226
q11	452	243	243	243
q12	397	225	226	225
q13	17763	3091	3087	3087
q14	282	238	232	232
q15	519	505	499	499
q16	575	512	521	512
q17	997	674	725	674
q18	7515	6831	6930	6831
q19	1399	1020	1117	1020
q20	707	336	344	336
q21	4009	3158	3045	3045
q22	1145	992	1013	992
Total cold run time: 110228 ms
Total hot run time: 38402 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4364	4305	4248	4248
q2	385	292	277	277
q3	2891	2700	2674	2674
q4	1936	1670	1627	1627
q5	5696	5709	5742	5709
q6	233	139	141	139
q7	2261	1858	1840	1840
q8	3371	3438	3484	3438
q9	8940	8879	8782	8782
q10	3607	3423	3404	3404
q11	600	502	519	502
q12	845	693	652	652
q13	14419	3263	3290	3263
q14	321	298	293	293
q15	531	481	497	481
q16	644	596	574	574
q17	1858	1539	1550	1539
q18	8167	8013	7970	7970
q19	1732	1714	1643	1643
q20	2179	1899	1934	1899
q21	5815	5481	5356	5356
q22	1137	1044	1054	1044
Total cold run time: 71932 ms
Total hot run time: 57354 ms

@doris-robot
Copy link

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

query1	1268	883	866	866
query2	6340	2122	1994	1994
query3	10586	3872	3997	3872
query4	59745	25066	23525	23525
query5	5442	487	482	482
query6	415	157	161	157
query7	5933	298	291	291
query8	315	210	224	210
query9	8980	2466	2461	2461
query10	502	303	263	263
query11	18158	15070	15262	15070
query12	163	109	101	101
query13	1596	421	395	395
query14	11440	7466	7369	7369
query15	253	171	181	171
query16	7635	477	475	475
query17	1101	564	597	564
query18	1995	287	295	287
query19	286	164	142	142
query20	130	114	114	114
query21	204	103	105	103
query22	4738	4343	4643	4343
query23	34437	33335	33431	33335
query24	5940	2913	2832	2832
query25	522	370	373	370
query26	694	157	157	157
query27	1798	274	276	274
query28	3691	2025	2030	2025
query29	683	404	431	404
query30	239	148	152	148
query31	920	768	774	768
query32	83	55	54	54
query33	467	281	282	281
query34	837	472	467	467
query35	828	735	719	719
query36	1094	939	939	939
query37	147	85	92	85
query38	4061	3837	3891	3837
query39	1441	1407	1371	1371
query40	196	115	118	115
query41	48	49	46	46
query42	117	100	92	92
query43	521	494	482	482
query44	1101	732	731	731
query45	196	168	167	167
query46	1099	748	740	740
query47	1905	1814	1779	1779
query48	388	311	300	300
query49	771	443	427	427
query50	805	425	420	420
query51	7023	6938	6891	6891
query52	98	85	89	85
query53	250	179	185	179
query54	567	471	461	461
query55	78	75	75	75
query56	322	277	250	250
query57	1188	1074	1044	1044
query58	213	231	238	231
query59	3214	2882	2982	2882
query60	295	268	265	265
query61	105	103	102	102
query62	747	652	644	644
query63	223	183	185	183
query64	2826	715	672	672
query65	3220	3154	3159	3154
query66	680	337	360	337
query67	15447	15168	15304	15168
query68	3030	566	577	566
query69	426	282	279	279
query70	1145	1094	1138	1094
query71	337	271	271	271
query72	5354	4066	4004	4004
query73	756	336	331	331
query74	9198	8762	8899	8762
query75	3360	2672	2720	2672
query76	1426	1032	1047	1032
query77	545	320	317	317
query78	9663	9021	9181	9021
query79	1038	539	523	523
query80	693	513	506	506
query81	465	240	231	231
query82	241	148	144	144
query83	168	148	152	148
query84	257	78	74	74
query85	680	285	275	275
query86	318	292	290	290
query87	4330	4249	4331	4249
query88	2922	2341	2326	2326
query89	388	284	279	279
query90	2032	196	190	190
query91	121	99	101	99
query92	57	49	47	47
query93	1052	521	520	520
query94	692	287	346	287
query95	327	254	255	254
query96	585	263	269	263
query97	3196	3058	3094	3058
query98	218	195	195	195
query99	1549	1289	1227	1227
Total cold run time: 305319 ms
Total hot run time: 192777 ms

@doris-robot
Copy link

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

query1	0.04	0.04	0.03
query2	0.09	0.04	0.04
query3	0.22	0.05	0.05
query4	1.66	0.10	0.11
query5	0.50	0.50	0.50
query6	1.13	0.74	0.73
query7	0.02	0.02	0.01
query8	0.05	0.05	0.05
query9	0.54	0.49	0.49
query10	0.55	0.54	0.53
query11	0.16	0.12	0.11
query12	0.15	0.12	0.12
query13	0.61	0.58	0.59
query14	2.03	2.05	2.08
query15	0.89	0.84	0.82
query16	0.38	0.38	0.36
query17	0.99	1.05	1.00
query18	0.21	0.20	0.20
query19	1.85	1.78	1.85
query20	0.02	0.01	0.01
query21	15.42	0.67	0.65
query22	4.04	6.70	2.30
query23	18.24	1.44	1.31
query24	2.08	0.23	0.22
query25	0.15	0.08	0.08
query26	0.28	0.19	0.18
query27	0.07	0.08	0.07
query28	13.21	1.03	1.02
query29	12.58	3.31	3.28
query30	0.26	0.06	0.06
query31	2.87	0.41	0.40
query32	3.24	0.49	0.46
query33	2.95	3.05	3.04
query34	16.99	4.43	4.40
query35	4.42	4.42	4.45
query36	0.66	0.47	0.48
query37	0.18	0.15	0.16
query38	0.15	0.14	0.15
query39	0.04	0.03	0.03
query40	0.16	0.12	0.13
query41	0.10	0.05	0.05
query42	0.06	0.05	0.05
query43	0.05	0.04	0.05
Total cold run time: 110.29 s
Total hot run time: 32.5 s

Copy link
Contributor

github-actions bot commented Sep 3, 2024

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

@github-actions github-actions bot added approved Indicates a PR has been approved by one committer. reviewed labels Sep 3, 2024
Copy link
Contributor

github-actions bot commented Sep 3, 2024

PR approved by anyone and no changes requested.

@yiguolei
Copy link
Contributor

yiguolei commented Sep 5, 2024

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17625	4350	4288	4288
q2	2012	192	178	178
q3	11685	945	1091	945
q4	10516	736	701	701
q5	7777	2841	2819	2819
q6	235	142	135	135
q7	955	611	611	611
q8	9322	2050	2039	2039
q9	6778	6522	6547	6522
q10	6992	2289	2143	2143
q11	474	245	239	239
q12	392	224	221	221
q13	17766	3060	3089	3060
q14	278	236	247	236
q15	548	494	486	486
q16	583	504	511	504
q17	970	637	674	637
q18	7292	6811	7003	6811
q19	1393	1009	1128	1009
q20	678	322	325	322
q21	4024	3042	2785	2785
q22	1102	1009	1033	1009
Total cold run time: 109397 ms
Total hot run time: 37700 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4334	4243	4228	4228
q2	385	283	273	273
q3	2920	2812	2627	2627
q4	1941	1696	1673	1673
q5	5551	5695	5678	5678
q6	229	139	138	138
q7	2255	1802	1806	1802
q8	3280	3438	3402	3402
q9	8874	8772	8731	8731
q10	3564	3383	3409	3383
q11	609	527	530	527
q12	838	668	680	668
q13	14453	3317	3270	3270
q14	335	285	294	285
q15	560	495	482	482
q16	620	590	589	589
q17	1844	1576	1549	1549
q18	8158	7937	7889	7889
q19	1748	1393	1505	1393
q20	2169	1873	1898	1873
q21	5808	5385	5544	5385
q22	1109	1070	1033	1033
Total cold run time: 71584 ms
Total hot run time: 56878 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 192546 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 3148adc2ea783ac0bbedd6326336057fc25b0346, data reload: false

query1	1249	869	881	869
query2	6366	1901	1887	1887
query3	10633	4106	4079	4079
query4	58889	24873	23207	23207
query5	5610	495	503	495
query6	421	183	158	158
query7	5777	295	284	284
query8	307	218	215	215
query9	8773	2511	2488	2488
query10	497	274	262	262
query11	17818	14957	15270	14957
query12	171	107	105	105
query13	1557	384	379	379
query14	11136	7073	7305	7073
query15	230	175	193	175
query16	7084	448	472	448
query17	1206	607	568	568
query18	1839	293	293	293
query19	298	146	147	146
query20	122	111	125	111
query21	213	106	109	106
query22	4569	4358	4454	4358
query23	34013	34027	33650	33650
query24	5963	2939	2855	2855
query25	553	398	410	398
query26	688	159	153	153
query27	1797	281	281	281
query28	3807	2084	2077	2077
query29	665	435	426	426
query30	227	155	173	155
query31	953	759	780	759
query32	89	53	58	53
query33	488	288	293	288
query34	887	473	468	468
query35	846	733	737	733
query36	1090	881	929	881
query37	147	96	96	96
query38	3920	3881	3938	3881
query39	1441	1412	1378	1378
query40	201	118	115	115
query41	46	46	43	43
query42	112	97	97	97
query43	511	466	468	466
query44	1090	773	744	744
query45	200	172	167	167
query46	1092	736	730	730
query47	1907	1836	1817	1817
query48	380	305	361	305
query49	770	446	433	433
query50	815	408	412	408
query51	7035	6917	6751	6751
query52	94	85	86	85
query53	245	175	177	175
query54	568	447	446	446
query55	77	75	74	74
query56	277	249	251	249
query57	1209	1072	1086	1072
query58	221	229	220	220
query59	3061	2743	2672	2672
query60	294	257	263	257
query61	103	102	99	99
query62	737	641	651	641
query63	210	185	177	177
query64	2864	683	685	683
query65	3213	3123	3133	3123
query66	703	339	336	336
query67	15442	15304	15521	15304
query68	3048	582	590	582
query69	402	284	269	269
query70	1212	1145	1120	1120
query71	359	272	278	272
query72	6096	4038	3934	3934
query73	736	319	323	319
query74	9239	8998	8907	8907
query75	3368	2635	2722	2635
query76	1479	966	1002	966
query77	536	328	317	317
query78	9584	9388	9005	9005
query79	1023	539	529	529
query80	716	497	499	497
query81	466	236	231	231
query82	241	147	136	136
query83	169	154	144	144
query84	250	74	76	74
query85	674	285	299	285
query86	300	308	295	295
query87	4414	4333	4461	4333
query88	3000	2372	2392	2372
query89	389	286	277	277
query90	1928	186	185	185
query91	122	97	98	97
query92	57	46	50	46
query93	1055	529	529	529
query94	703	301	288	288
query95	341	297	246	246
query96	584	269	276	269
query97	3185	3073	3044	3044
query98	216	204	196	196
query99	1509	1263	1268	1263
Total cold run time: 303217 ms
Total hot run time: 192546 ms

@doris-robot
Copy link

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

query1	0.05	0.04	0.04
query2	0.09	0.04	0.03
query3	0.23	0.05	0.04
query4	1.69	0.08	0.07
query5	0.51	0.48	0.49
query6	1.13	0.73	0.72
query7	0.02	0.02	0.01
query8	0.05	0.05	0.05
query9	0.55	0.49	0.49
query10	0.53	0.57	0.55
query11	0.15	0.12	0.11
query12	0.15	0.13	0.12
query13	0.59	0.59	0.59
query14	2.10	2.05	2.11
query15	0.83	0.82	0.85
query16	0.35	0.36	0.37
query17	0.98	0.98	1.02
query18	0.21	0.20	0.22
query19	1.88	1.85	1.80
query20	0.01	0.02	0.01
query21	15.39	0.64	0.64
query22	4.28	6.27	1.86
query23	18.29	1.33	1.31
query24	2.15	0.23	0.23
query25	0.17	0.09	0.08
query26	0.26	0.18	0.17
query27	0.08	0.08	0.07
query28	13.20	1.02	1.00
query29	12.64	3.36	3.34
query30	0.24	0.05	0.06
query31	2.88	0.40	0.39
query32	3.25	0.48	0.48
query33	2.99	2.93	3.00
query34	17.00	4.42	4.44
query35	4.42	4.41	4.40
query36	0.65	0.47	0.46
query37	0.18	0.15	0.16
query38	0.16	0.14	0.14
query39	0.05	0.03	0.04
query40	0.15	0.12	0.13
query41	0.10	0.04	0.05
query42	0.06	0.05	0.05
query43	0.04	0.04	0.04
Total cold run time: 110.73 s
Total hot run time: 31.92 s

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 36.84% (9395/25503)
Line Coverage: 28.26% (77430/273950)
Region Coverage: 27.66% (39965/144464)
Branch Coverage: 24.31% (20339/83668)
Coverage Report: http://coverage.selectdb-in.cc/coverage/3148adc2ea783ac0bbedd6326336057fc25b0346_3148adc2ea783ac0bbedd6326336057fc25b0346/report/index.html

@yiguolei yiguolei merged commit 1666c83 into apache:master Sep 5, 2024
21 of 26 checks passed
@zhiqiang-hhhh zhiqiang-hhhh deleted the chore-msg branch September 5, 2024 12:15
zhiqiang-hhhh added a commit to zhiqiang-hhhh/doris that referenced this pull request Sep 9, 2024
…apache#40296)

previous
```
ERROR 1105 (HY000): errCode = 2, detailMessage = ([]())[INTERNAL_ERROR]Function dsqrt get failed, expr is VectorizedFnCall[dsqrt](arguments=Float64,return=Float64) and return type is Float64.
```
now
```
ERROR 1105 (HY000): errCode = 2, detailMessage = ([]())[INTERNAL_ERROR]Could not find function dsqrt, arg Float64 return Float64
```
dataroaring pushed a commit that referenced this pull request Oct 9, 2024
…#40296)

previous
```
ERROR 1105 (HY000): errCode = 2, detailMessage = ([]())[INTERNAL_ERROR]Function dsqrt get failed, expr is VectorizedFnCall[dsqrt](arguments=Float64,return=Float64) and return type is Float64.
```
now
```
ERROR 1105 (HY000): errCode = 2, detailMessage = ([]())[INTERNAL_ERROR]Could not find function dsqrt, arg Float64 return Float64
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by one committer. dev/2.1.7-merged dev/3.0.3-merged reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants