Skip to content

Conversation

@Jibing-Li
Copy link
Contributor

backport: #43009

…w count is not available or row count is 0. (apache#43009)

External table getRowCount return -1 when row count is not available or
row count is 0. So the behavior of external table could match with
internal olap table.
@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.

@Jibing-Li Jibing-Li marked this pull request as ready for review November 1, 2024 10:02
@Jibing-Li
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17583	7348	7280	7280
q2	2041	154	157	154
q3	10708	1136	1175	1136
q4	10550	736	683	683
q5	7755	2773	2737	2737
q6	230	148	142	142
q7	972	621	591	591
q8	9433	1925	1936	1925
q9	6557	6332	6399	6332
q10	6955	2323	2293	2293
q11	449	265	258	258
q12	399	211	212	211
q13	18080	3005	2985	2985
q14	230	205	211	205
q15	565	512	514	512
q16	666	608	611	608
q17	948	563	537	537
q18	7187	6421	6397	6397
q19	1369	999	1001	999
q20	458	198	197	197
q21	3997	3036	3064	3036
q22	1048	1001	973	973
Total cold run time: 108180 ms
Total hot run time: 40191 ms

----- Round 2, with runtime_filter_mode=off -----
q1	7239	7196	7206	7196
q2	322	235	230	230
q3	2849	2764	2818	2764
q4	1955	1673	1799	1673
q5	5736	5663	5694	5663
q6	228	145	144	144
q7	2124	1749	1733	1733
q8	3333	3531	3409	3409
q9	8717	8790	8858	8790
q10	3589	3514	3506	3506
q11	607	504	528	504
q12	811	647	609	609
q13	16592	3188	3100	3100
q14	296	260	265	260
q15	571	517	514	514
q16	690	658	658	658
q17	1832	1599	1614	1599
q18	8146	7768	7765	7765
q19	8076	1590	1546	1546
q20	2046	1833	1832	1832
q21	5480	5281	5285	5281
q22	1089	1040	1017	1017
Total cold run time: 82328 ms
Total hot run time: 59793 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 193657 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 522d63e6aa31532a3d04e90899bc1a83624af7f1, data reload: false

query1	1241	901	903	901
query2	6249	2106	2082	2082
query3	10778	3678	3714	3678
query4	66775	27553	23311	23311
query5	5698	450	437	437
query6	455	175	173	173
query7	6184	302	305	302
query8	344	221	227	221
query9	9507	2655	2655	2655
query10	498	263	254	254
query11	18236	15128	15704	15128
query12	156	103	108	103
query13	1604	425	428	425
query14	11089	7207	7260	7207
query15	219	183	177	177
query16	7280	507	479	479
query17	1084	563	562	562
query18	1898	307	291	291
query19	187	151	148	148
query20	113	105	109	105
query21	211	100	101	100
query22	4514	4242	4076	4076
query23	34279	33468	34114	33468
query24	5750	2841	2850	2841
query25	513	415	400	400
query26	677	160	165	160
query27	1715	290	305	290
query28	4314	2507	2487	2487
query29	659	437	431	431
query30	235	153	151	151
query31	1009	799	819	799
query32	66	54	58	54
query33	448	266	282	266
query34	905	510	501	501
query35	831	709	736	709
query36	1078	936	966	936
query37	128	77	74	74
query38	3932	3852	3799	3799
query39	1479	1418	1424	1418
query40	202	99	99	99
query41	47	46	46	46
query42	101	99	95	95
query43	530	480	488	480
query44	1133	789	786	786
query45	184	167	168	167
query46	1114	703	701	701
query47	1887	1784	1795	1784
query48	460	359	366	359
query49	754	408	409	408
query50	807	417	428	417
query51	7220	7107	7098	7098
query52	107	88	101	88
query53	254	181	185	181
query54	578	463	456	456
query55	77	78	75	75
query56	257	244	255	244
query57	1198	1098	1091	1091
query58	215	214	214	214
query59	3031	3017	3012	3012
query60	272	253	254	253
query61	101	95	98	95
query62	794	659	661	659
query63	217	187	189	187
query64	1696	614	584	584
query65	3254	3167	3175	3167
query66	723	303	297	297
query67	15758	15327	15030	15030
query68	4465	556	542	542
query69	428	250	247	247
query70	1159	1148	1123	1123
query71	428	285	251	251
query72	6178	3923	3888	3888
query73	753	342	346	342
query74	10141	9020	8946	8946
query75	3367	2645	2596	2596
query76	2663	989	969	969
query77	477	259	262	259
query78	10728	9587	9527	9527
query79	10635	592	601	592
query80	1989	400	411	400
query81	553	242	251	242
query82	1378	113	111	111
query83	305	137	133	133
query84	288	83	73	73
query85	1837	293	277	277
query86	461	293	259	259
query87	4386	4203	4392	4203
query88	5627	2379	2373	2373
query89	541	291	282	282
query90	2071	181	185	181
query91	175	138	136	136
query92	61	47	46	46
query93	6827	541	526	526
query94	869	292	287	287
query95	341	246	250	246
query96	630	292	286	286
query97	3402	3198	3177	3177
query98	220	201	192	192
query99	1769	1273	1289	1273
Total cold run time: 340461 ms
Total hot run time: 193657 ms

@Jibing-Li
Copy link
Contributor Author

run external

@Jibing-Li Jibing-Li merged commit 594865c into apache:branch-3.0 Nov 1, 2024
@Jibing-Li Jibing-Li deleted the externalrowcount3.0 branch November 3, 2024 03:05
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.

2 participants