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

[fix](Nereids) null type in result set will be cast to tinyint #37019

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

morrySnow
Copy link
Contributor

No description provided.

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

@morrySnow
Copy link
Contributor Author

run buildall

@morrySnow
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17982	4608	4422	4422
q2	2329	196	197	196
q3	10479	1248	1133	1133
q4	10194	838	729	729
q5	7490	2667	2515	2515
q6	220	134	132	132
q7	941	594	604	594
q8	9233	2062	2086	2062
q9	8835	6518	6531	6518
q10	9014	3752	3711	3711
q11	441	237	240	237
q12	472	232	231	231
q13	17755	2951	2983	2951
q14	273	219	213	213
q15	526	488	499	488
q16	509	370	372	370
q17	964	679	686	679
q18	8336	7453	7358	7358
q19	6167	1532	1433	1433
q20	662	322	328	322
q21	4882	3243	3865	3243
q22	406	332	347	332
Total cold run time: 118110 ms
Total hot run time: 39869 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4385	4256	4239	4239
q2	379	267	276	267
q3	3008	2781	2753	2753
q4	1869	1626	1580	1580
q5	5231	5226	5297	5226
q6	216	135	131	131
q7	2177	1759	1731	1731
q8	3211	3385	3316	3316
q9	8270	8328	8345	8328
q10	3898	3656	3647	3647
q11	575	487	481	481
q12	779	633	593	593
q13	16246	3007	3005	3005
q14	297	272	261	261
q15	515	470	470	470
q16	510	411	404	404
q17	1773	1455	1474	1455
q18	7604	7518	7487	7487
q19	1739	1626	1698	1626
q20	1984	1780	1762	1762
q21	4864	4718	4651	4651
q22	610	536	562	536
Total cold run time: 70140 ms
Total hot run time: 53949 ms

@doris-robot
Copy link

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

query1	927	387	384	384
query2	6456	2596	2306	2306
query3	6644	213	217	213
query4	18918	17579	17373	17373
query5	4180	497	469	469
query6	260	176	176	176
query7	4608	295	298	295
query8	314	304	293	293
query9	8762	2468	2453	2453
query10	594	292	282	282
query11	10588	10252	10339	10252
query12	138	86	86	86
query13	1646	374	373	373
query14	10256	6910	7691	6910
query15	238	192	189	189
query16	7889	272	275	272
query17	1880	549	544	544
query18	1983	283	284	283
query19	199	164	161	161
query20	92	86	83	83
query21	215	131	127	127
query22	4419	4345	4204	4204
query23	33730	33179	33067	33067
query24	11865	2829	2891	2829
query25	682	384	385	384
query26	1817	156	155	155
query27	3015	317	316	316
query28	7695	2114	2108	2108
query29	1133	638	617	617
query30	274	154	160	154
query31	950	756	749	749
query32	96	54	58	54
query33	783	302	295	295
query34	972	468	481	468
query35	745	658	616	616
query36	1074	932	935	932
query37	295	72	74	72
query38	2929	2745	2801	2745
query39	862	791	802	791
query40	277	130	130	130
query41	57	59	53	53
query42	126	99	104	99
query43	578	532	544	532
query44	1244	747	738	738
query45	199	170	167	167
query46	1082	706	716	706
query47	1863	1763	1786	1763
query48	391	306	301	301
query49	1213	415	425	415
query50	775	388	381	381
query51	6855	6844	6887	6844
query52	101	99	98	98
query53	363	298	306	298
query54	969	456	446	446
query55	76	77	75	75
query56	332	286	295	286
query57	1138	1081	1075	1075
query58	365	235	232	232
query59	3375	3210	3294	3210
query60	322	278	274	274
query61	92	88	96	88
query62	679	445	466	445
query63	325	290	287	287
query64	9829	2243	1737	1737
query65	3210	3088	3088	3088
query66	1405	329	334	329
query67	15548	14935	15086	14935
query68	8534	559	589	559
query69	691	481	420	420
query70	1117	1149	1098	1098
query71	537	278	277	277
query72	8457	5426	5205	5205
query73	1025	323	322	322
query74	5938	5536	5563	5536
query75	4985	2668	2638	2638
query76	5047	979	927	927
query77	785	304	311	304
query78	10531	9836	9654	9654
query79	8330	515	522	515
query80	1007	462	471	462
query81	576	219	218	218
query82	789	111	103	103
query83	355	174	167	167
query84	279	90	88	88
query85	1426	273	277	273
query86	404	347	303	303
query87	3310	3086	3085	3085
query88	4894	2373	2383	2373
query89	538	395	382	382
query90	1959	193	189	189
query91	127	101	97	97
query92	62	48	52	48
query93	7097	517	516	516
query94	1196	190	187	187
query95	418	311	312	311
query96	611	274	267	267
query97	3216	2987	3029	2987
query98	215	207	195	195
query99	1238	832	856	832
Total cold run time: 298606 ms
Total hot run time: 173650 ms

@doris-robot
Copy link

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

query1	0.05	0.03	0.03
query2	0.08	0.04	0.04
query3	0.23	0.04	0.05
query4	1.66	0.07	0.07
query5	0.52	0.47	0.47
query6	1.13	0.73	0.73
query7	0.02	0.02	0.02
query8	0.05	0.05	0.05
query9	0.54	0.50	0.49
query10	0.54	0.54	0.55
query11	0.15	0.11	0.11
query12	0.15	0.12	0.12
query13	0.59	0.59	0.60
query14	0.77	0.78	0.78
query15	0.84	0.82	0.82
query16	0.37	0.36	0.36
query17	1.00	0.99	1.02
query18	0.21	0.25	0.26
query19	1.76	1.71	1.75
query20	0.02	0.01	0.01
query21	15.45	0.75	0.66
query22	4.56	7.16	1.56
query23	18.18	1.25	1.19
query24	2.08	0.24	0.21
query25	0.15	0.09	0.08
query26	0.27	0.17	0.18
query27	0.09	0.08	0.09
query28	13.28	1.01	1.00
query29	12.62	3.31	3.26
query30	0.24	0.06	0.05
query31	2.86	0.38	0.39
query32	3.29	0.46	0.46
query33	2.84	2.91	2.89
query34	17.27	4.45	4.38
query35	4.49	4.57	4.57
query36	0.65	0.46	0.47
query37	0.20	0.15	0.15
query38	0.17	0.15	0.15
query39	0.04	0.03	0.04
query40	0.18	0.13	0.14
query41	0.09	0.05	0.05
query42	0.06	0.04	0.05
query43	0.05	0.05	0.04
Total cold run time: 109.79 s
Total hot run time: 30.21 s

@morrySnow
Copy link
Contributor Author

run p0

@morrySnow
Copy link
Contributor Author

run external

@morrySnow
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	18026	4422	4349	4349
q2	2372	192	189	189
q3	10482	1174	1202	1174
q4	10188	761	707	707
q5	7478	2640	2633	2633
q6	218	138	139	138
q7	978	595	602	595
q8	9241	2064	2088	2064
q9	8771	6474	6407	6407
q10	8885	3700	3705	3700
q11	455	246	239	239
q12	398	233	232	232
q13	17775	2967	3020	2967
q14	270	225	221	221
q15	528	472	482	472
q16	513	378	375	375
q17	957	699	746	699
q18	8165	7541	7596	7541
q19	5032	1365	1434	1365
q20	697	326	334	326
q21	4990	3345	3991	3345
q22	400	340	343	340
Total cold run time: 116819 ms
Total hot run time: 40078 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4305	4203	4213	4203
q2	373	270	267	267
q3	3013	2723	2758	2723
q4	1894	1615	1657	1615
q5	5227	5289	5278	5278
q6	222	133	135	133
q7	2098	1708	1757	1708
q8	3188	3344	3311	3311
q9	8392	8377	8412	8377
q10	3858	3643	3627	3627
q11	576	505	490	490
q12	792	630	601	601
q13	16333	3005	2998	2998
q14	287	259	270	259
q15	525	484	493	484
q16	460	420	422	420
q17	1763	1495	1465	1465
q18	7723	7564	7357	7357
q19	2154	1563	1673	1563
q20	1981	1810	1796	1796
q21	4820	4723	4658	4658
q22	640	544	579	544
Total cold run time: 70624 ms
Total hot run time: 53877 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 172588 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 4b04e77423844ffb9cd5a229528018b44eab5633, data reload: false

query1	922	384	369	369
query2	6457	2454	2337	2337
query3	6652	208	216	208
query4	19245	17441	17343	17343
query5	4152	494	480	480
query6	259	185	193	185
query7	4594	301	306	301
query8	319	297	292	292
query9	8617	2363	2347	2347
query10	606	291	316	291
query11	10513	10114	10002	10002
query12	132	86	84	84
query13	1634	369	364	364
query14	9918	6873	7682	6873
query15	239	190	200	190
query16	7691	265	264	264
query17	1898	534	530	530
query18	1923	268	265	265
query19	203	152	152	152
query20	90	80	82	80
query21	215	129	124	124
query22	4500	4083	4350	4083
query23	34046	33047	33240	33047
query24	11118	2808	2781	2781
query25	633	359	357	357
query26	1398	147	152	147
query27	2954	305	322	305
query28	7243	2049	2036	2036
query29	933	630	628	628
query30	287	149	153	149
query31	964	731	727	727
query32	94	51	55	51
query33	763	287	279	279
query34	989	468	480	468
query35	749	614	622	614
query36	1091	906	947	906
query37	152	75	71	71
query38	2906	2756	2748	2748
query39	875	814	792	792
query40	212	123	126	123
query41	55	53	51	51
query42	120	96	103	96
query43	621	565	568	565
query44	1179	716	709	709
query45	185	162	169	162
query46	1071	742	685	685
query47	1859	1767	1793	1767
query48	378	309	289	289
query49	1140	402	401	401
query50	763	381	386	381
query51	6867	6775	6789	6775
query52	106	96	93	93
query53	362	289	309	289
query54	933	433	441	433
query55	75	69	74	69
query56	293	263	263	263
query57	1159	1030	1037	1030
query58	246	260	246	246
query59	3435	3329	3128	3128
query60	317	295	281	281
query61	92	91	91	91
query62	657	439	453	439
query63	314	290	315	290
query64	8964	2230	1728	1728
query65	3138	3091	3096	3091
query66	950	351	329	329
query67	15480	15062	14991	14991
query68	4579	540	540	540
query69	547	436	327	327
query70	1197	1125	1111	1111
query71	422	272	285	272
query72	7403	5480	5224	5224
query73	761	325	321	321
query74	5918	5603	5533	5533
query75	3388	2629	2612	2612
query76	2844	916	962	916
query77	664	297	298	297
query78	10353	9774	9717	9717
query79	2051	521	512	512
query80	1248	475	471	471
query81	573	224	219	219
query82	753	104	104	104
query83	194	170	166	166
query84	275	85	88	85
query85	1433	280	267	267
query86	469	329	344	329
query87	3286	3079	3081	3079
query88	3547	2348	2350	2348
query89	462	375	375	375
query90	1866	195	189	189
query91	138	111	181	111
query92	63	47	48	47
query93	2264	498	494	494
query94	1186	188	184	184
query95	404	311	315	311
query96	590	266	264	264
query97	3224	3088	3068	3068
query98	214	203	198	198
query99	1279	832	855	832
Total cold run time: 272540 ms
Total hot run time: 172588 ms

@doris-robot
Copy link

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

query1	0.05	0.03	0.03
query2	0.08	0.05	0.04
query3	0.22	0.05	0.05
query4	1.67	0.09	0.09
query5	0.51	0.50	0.49
query6	1.13	0.73	0.73
query7	0.02	0.01	0.01
query8	0.06	0.05	0.05
query9	0.56	0.48	0.50
query10	0.54	0.52	0.55
query11	0.15	0.11	0.12
query12	0.14	0.12	0.12
query13	0.59	0.58	0.58
query14	0.80	0.78	0.76
query15	0.85	0.81	0.81
query16	0.38	0.34	0.37
query17	0.96	0.93	0.99
query18	0.21	0.25	0.25
query19	1.81	1.81	1.70
query20	0.01	0.00	0.01
query21	15.45	0.76	0.66
query22	4.25	6.62	1.88
query23	18.29	1.30	1.30
query24	2.15	0.23	0.21
query25	0.16	0.09	0.08
query26	0.29	0.18	0.18
query27	0.08	0.08	0.07
query28	13.24	1.02	1.01
query29	12.62	3.24	3.29
query30	0.25	0.06	0.05
query31	2.87	0.40	0.38
query32	3.28	0.48	0.47
query33	2.92	2.89	2.88
query34	17.20	4.41	4.43
query35	4.45	4.45	4.51
query36	0.66	0.49	0.50
query37	0.19	0.15	0.17
query38	0.15	0.15	0.15
query39	0.05	0.03	0.04
query40	0.18	0.17	0.14
query41	0.10	0.04	0.05
query42	0.06	0.04	0.05
query43	0.05	0.04	0.03
Total cold run time: 109.68 s
Total hot run time: 30.43 s

@morrySnow
Copy link
Contributor Author

run p0

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Jul 2, 2024
Copy link
Contributor

github-actions bot commented Jul 2, 2024

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

Copy link
Contributor

github-actions bot commented Jul 2, 2024

PR approved by anyone and no changes requested.

@morrySnow morrySnow merged commit b262f98 into apache:master Jul 2, 2024
26 of 29 checks passed
@morrySnow morrySnow deleted the fix_ctas_null branch July 2, 2024 06:01
morrySnow added a commit to morrySnow/incubator-doris that referenced this pull request Jul 4, 2024
morrySnow added a commit that referenced this pull request Jul 4, 2024
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.5-merged dev/3.0.1-merged reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants