Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Jan 7, 2025

Cherry-picked from #46474

…#46474)

### What problem does this PR solve?

Related PR: #28144 #45045

Problem Summary:
if getTable return Table is not MTMV, ClassCastException raised and lead
to plan failed.
@Thearas
Copy link
Contributor

Thearas commented Jan 7, 2025

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?

@dataroaring dataroaring closed this Jan 7, 2025
@dataroaring dataroaring reopened this Jan 7, 2025
@Thearas
Copy link
Contributor

Thearas commented Jan 7, 2025

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17570	7471	7407	7407
q2	2056	180	170	170
q3	10737	1106	1151	1106
q4	10551	702	806	702
q5	7740	2907	2795	2795
q6	244	146	145	145
q7	975	615	601	601
q8	9349	2028	2048	2028
q9	6647	6410	6410	6410
q10	7000	2292	2334	2292
q11	468	266	272	266
q12	402	213	221	213
q13	17780	2991	3010	2991
q14	238	214	225	214
q15	563	515	530	515
q16	702	627	626	626
q17	991	573	551	551
q18	7449	6573	6782	6573
q19	1418	1098	1091	1091
q20	473	225	197	197
q21	4002	3412	3319	3319
q22	1103	1011	1019	1011
Total cold run time: 108458 ms
Total hot run time: 41223 ms

----- Round 2, with runtime_filter_mode=off -----
q1	7362	7203	7236	7203
q2	329	237	231	231
q3	2980	2948	2926	2926
q4	2103	1873	1776	1776
q5	5738	5775	5777	5775
q6	236	146	147	146
q7	2221	1827	1843	1827
q8	3371	3647	3522	3522
q9	8807	8930	8930	8930
q10	3583	3547	3571	3547
q11	606	507	503	503
q12	862	627	637	627
q13	8707	3162	3191	3162
q14	321	271	273	271
q15	582	532	531	531
q16	728	682	684	682
q17	1881	1615	1602	1602
q18	8292	7818	7542	7542
q19	1688	1603	1531	1531
q20	2106	1913	1857	1857
q21	5620	5371	5334	5334
q22	1126	1029	1028	1028
Total cold run time: 69249 ms
Total hot run time: 60553 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 197429 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 056a8aac4f440be6367a3272bdbfd254d1711f21, data reload: false

query1	1284	927	907	907
query2	6249	2130	2023	2023
query3	10825	4242	4262	4242
query4	66465	28573	23489	23489
query5	4929	474	465	465
query6	411	175	174	174
query7	5480	311	313	311
query8	303	220	220	220
query9	8639	2663	2647	2647
query10	447	279	247	247
query11	17113	15122	15798	15122
query12	151	103	107	103
query13	1457	443	434	434
query14	10791	7500	6829	6829
query15	205	180	178	178
query16	7133	512	504	504
query17	1069	574	565	565
query18	1869	306	316	306
query19	226	155	155	155
query20	125	109	111	109
query21	215	103	107	103
query22	4711	4487	4472	4472
query23	34823	34112	34266	34112
query24	6199	2920	2989	2920
query25	536	436	441	436
query26	724	178	172	172
query27	1861	348	363	348
query28	4063	2471	2475	2471
query29	717	479	471	471
query30	250	176	170	170
query31	1014	831	859	831
query32	69	59	58	58
query33	444	298	293	293
query34	937	531	526	526
query35	860	752	759	752
query36	1109	969	982	969
query37	124	77	85	77
query38	4102	3983	4018	3983
query39	1539	1503	1484	1484
query40	204	101	100	100
query41	53	48	46	46
query42	117	102	97	97
query43	541	491	506	491
query44	1219	855	842	842
query45	188	168	167	167
query46	1164	739	764	739
query47	2011	1877	1886	1877
query48	476	386	407	386
query49	736	412	387	387
query50	842	432	453	432
query51	7381	7211	7184	7184
query52	104	92	88	88
query53	257	183	184	183
query54	571	457	448	448
query55	75	75	77	75
query56	270	252	262	252
query57	1270	1077	1106	1077
query58	214	227	207	207
query59	3256	3064	3057	3057
query60	282	268	252	252
query61	109	113	137	113
query62	803	682	673	673
query63	216	196	202	196
query64	1400	699	670	670
query65	3272	3250	3170	3170
query66	719	306	306	306
query67	15826	15724	15391	15391
query68	3759	587	573	573
query69	424	265	267	265
query70	1141	1146	1144	1144
query71	364	257	259	257
query72	6452	4050	4039	4039
query73	757	342	342	342
query74	9892	8945	8991	8945
query75	3347	2680	2692	2680
query76	1908	1136	1097	1097
query77	516	267	282	267
query78	10557	9740	9552	9552
query79	1420	618	611	611
query80	906	435	451	435
query81	515	244	247	244
query82	1254	118	123	118
query83	258	157	146	146
query84	288	91	81	81
query85	932	367	353	353
query86	346	305	290	290
query87	4502	4361	4291	4291
query88	3778	2415	2360	2360
query89	417	285	291	285
query90	2011	192	192	192
query91	180	153	153	153
query92	63	51	51	51
query93	1909	556	560	556
query94	830	295	300	295
query95	363	264	258	258
query96	625	292	280	280
query97	3324	3217	3186	3186
query98	216	204	196	196
query99	1654	1313	1303	1303
Total cold run time: 317952 ms
Total hot run time: 197429 ms

@doris-robot
Copy link

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

query1	0.03	0.03	0.03
query2	0.06	0.03	0.03
query3	0.23	0.07	0.07
query4	1.63	0.10	0.10
query5	0.53	0.51	0.50
query6	1.12	0.73	0.73
query7	0.02	0.01	0.01
query8	0.04	0.03	0.05
query9	0.56	0.50	0.48
query10	0.55	0.55	0.55
query11	0.14	0.10	0.10
query12	0.14	0.12	0.11
query13	0.61	0.60	0.59
query14	3.06	3.05	2.95
query15	0.92	0.84	0.83
query16	0.38	0.39	0.38
query17	1.01	1.01	1.00
query18	0.23	0.22	0.22
query19	1.88	1.83	2.06
query20	0.02	0.01	0.02
query21	15.36	0.61	0.61
query22	2.96	2.58	1.37
query23	16.93	1.08	0.94
query24	3.15	1.20	0.67
query25	0.15	0.17	0.11
query26	0.47	0.13	0.14
query27	0.05	0.04	0.05
query28	10.86	1.11	1.07
query29	12.59	3.22	3.21
query30	0.24	0.05	0.05
query31	2.86	0.40	0.40
query32	3.24	0.45	0.47
query33	3.01	3.08	3.01
query34	17.11	4.44	4.51
query35	4.54	4.50	4.53
query36	0.67	0.49	0.52
query37	0.09	0.06	0.07
query38	0.05	0.04	0.04
query39	0.03	0.02	0.03
query40	0.17	0.13	0.13
query41	0.08	0.03	0.02
query42	0.03	0.02	0.02
query43	0.04	0.03	0.03
Total cold run time: 107.84 s
Total hot run time: 32.36 s

@morrySnow morrySnow merged commit f151a06 into branch-3.0 Jan 7, 2025
20 of 22 checks passed
@github-actions github-actions bot deleted the auto-pick-46474-branch-3.0 branch January 7, 2025 11:09
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.

5 participants