Skip to content

Conversation

@gary-cloud
Copy link
Contributor

@gary-cloud gary-cloud commented Jan 29, 2026

What problem does this PR solve?
Issue Number: close #xxx

Related PR: #xxx

Problem Summary:
This PR implements Variant Schema Template Auto Cast end-to-end. It applies schema-template-based casts during analysis so behavior is consistent across all clauses (SELECT/WHERE/ORDER/GROUP/HAVING/JOIN/window), supports chained paths (a.b/ a['b']) with correct path resolution, and makes alias-based ORDER BY/GROUP BY/JOIN ON work by restoring original expressions via alias mapping. A single global switch enable_variant_schema_auto_cast controls the feature. Regression tests are expanded to cover leaf vs non-leaf paths, alias/subquery scenarios, and ordering/aggregation/join behavior.

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

@Thearas
Copy link
Contributor

Thearas commented Jan 29, 2026

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?

@gary-cloud
Copy link
Contributor Author

run buildall

@hello-stephen
Copy link
Contributor

FE UT Coverage Report

Increment line coverage 80.56% (87/108) 🎉
Increment coverage report
Complete coverage report

@gary-cloud
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17651	5209	5063	5063
q2	2012	322	191	191
q3	10210	1300	744	744
q4	10218	893	319	319
q5	7548	2157	1906	1906
q6	193	178	150	150
q7	878	737	616	616
q8	9258	1372	1042	1042
q9	5248	4783	4834	4783
q10	6820	1955	1559	1559
q11	545	286	292	286
q12	334	379	228	228
q13	17799	4034	3242	3242
q14	230	246	216	216
q15	905	860	815	815
q16	660	672	630	630
q17	626	765	505	505
q18	6608	6469	6394	6394
q19	1402	1003	630	630
q20	392	346	225	225
q21	2556	2032	1927	1927
q22	347	310	281	281
Total cold run time: 102440 ms
Total hot run time: 31752 ms

----- Round 2, with runtime_filter_mode=off -----
q1	5323	5322	5326	5322
q2	262	342	234	234
q3	2129	2679	2238	2238
q4	1374	1747	1275	1275
q5	4261	4158	4233	4158
q6	215	188	139	139
q7	1919	2298	1911	1911
q8	2616	2365	2417	2365
q9	7540	7369	7465	7369
q10	2858	3034	2685	2685
q11	542	481	440	440
q12	651	710	626	626
q13	3892	4518	3740	3740
q14	352	313	277	277
q15	875	841	833	833
q16	676	720	687	687
q17	1179	1351	1443	1351
q18	8524	7984	7941	7941
q19	880	828	832	828
q20	2098	2221	2031	2031
q21	4942	4214	4087	4087
q22	598	591	529	529
Total cold run time: 53706 ms
Total hot run time: 51066 ms

@doris-robot
Copy link

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

query1	0.05	0.05	0.05
query2	0.10	0.05	0.05
query3	0.26	0.09	0.08
query4	1.61	0.11	0.12
query5	0.27	0.25	0.25
query6	1.16	0.69	0.67
query7	0.03	0.03	0.02
query8	0.05	0.04	0.04
query9	0.56	0.49	0.49
query10	0.56	0.54	0.55
query11	0.14	0.09	0.10
query12	0.14	0.10	0.11
query13	0.62	0.61	0.63
query14	1.09	1.05	1.05
query15	0.88	0.86	0.88
query16	0.39	0.39	0.39
query17	1.08	1.12	1.12
query18	0.23	0.21	0.21
query19	2.12	2.02	2.01
query20	0.02	0.01	0.02
query21	15.39	0.28	0.16
query22	5.09	0.06	0.05
query23	15.73	0.28	0.10
query24	1.45	0.61	0.72
query25	0.12	0.06	0.08
query26	0.14	0.14	0.13
query27	0.08	0.05	0.05
query28	4.87	1.13	0.96
query29	12.57	3.92	3.16
query30	0.29	0.13	0.12
query31	2.82	0.64	0.40
query32	3.24	0.60	0.51
query33	3.23	3.22	3.30
query34	15.94	5.36	4.72
query35	4.78	4.73	4.81
query36	0.64	0.49	0.48
query37	0.11	0.07	0.07
query38	0.07	0.04	0.03
query39	0.04	0.03	0.02
query40	0.19	0.16	0.16
query41	0.09	0.03	0.04
query42	0.04	0.02	0.02
query43	0.05	0.03	0.03
Total cold run time: 98.33 s
Total hot run time: 28.57 s

@hello-stephen
Copy link
Contributor

FE UT Coverage Report

Increment line coverage 73.15% (79/108) 🎉
Increment coverage report
Complete coverage report

@hello-stephen
Copy link
Contributor

FE Regression Coverage Report

Increment line coverage 78.70% (85/108) 🎉
Increment coverage report
Complete coverage report

@gary-cloud
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17610	5315	5096	5096
q2	2072	303	197	197
q3	10225	1301	744	744
q4	10217	881	320	320
q5	7548	2168	1921	1921
q6	206	187	151	151
q7	886	740	624	624
q8	9268	1382	1050	1050
q9	5159	4825	4759	4759
q10	6835	1956	1569	1569
q11	502	303	297	297
q12	340	384	232	232
q13	17768	4053	3215	3215
q14	242	238	219	219
q15	875	829	808	808
q16	687	673	632	632
q17	663	819	482	482
q18	6648	6488	6453	6453
q19	1248	1008	629	629
q20	396	344	236	236
q21	2666	2026	1949	1949
q22	350	316	269	269
Total cold run time: 102411 ms
Total hot run time: 31852 ms

----- Round 2, with runtime_filter_mode=off -----
q1	5322	5333	5351	5333
q2	258	342	260	260
q3	2191	2699	2246	2246
q4	1339	1763	1339	1339
q5	4333	4207	4364	4207
q6	218	185	141	141
q7	2122	2079	1988	1988
q8	2752	2558	2483	2483
q9	7646	7671	7536	7536
q10	2847	3096	2596	2596
q11	552	508	484	484
q12	714	757	720	720
q13	3895	4557	3754	3754
q14	323	320	311	311
q15	912	847	831	831
q16	703	771	692	692
q17	1150	1468	1434	1434
q18	8187	8348	7867	7867
q19	857	801	798	798
q20	1991	2038	1903	1903
q21	4564	4203	4062	4062
q22	599	529	509	509
Total cold run time: 53475 ms
Total hot run time: 51494 ms

@doris-robot
Copy link

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

query1	0.05	0.04	0.04
query2	0.09	0.04	0.04
query3	0.26	0.09	0.08
query4	1.60	0.11	0.12
query5	0.28	0.25	0.26
query6	1.18	0.67	0.67
query7	0.03	0.02	0.02
query8	0.05	0.04	0.04
query9	0.55	0.50	0.48
query10	0.56	0.55	0.53
query11	0.14	0.11	0.09
query12	0.14	0.11	0.10
query13	0.63	0.62	0.61
query14	1.06	1.07	1.08
query15	0.88	0.87	0.89
query16	0.39	0.39	0.40
query17	1.10	1.13	1.11
query18	0.22	0.21	0.21
query19	2.14	2.03	2.10
query20	0.02	0.01	0.02
query21	15.41	0.27	0.15
query22	5.40	0.05	0.05
query23	16.13	0.28	0.11
query24	1.22	0.38	1.18
query25	0.09	0.07	0.12
query26	0.15	0.13	0.14
query27	0.07	0.05	0.06
query28	4.77	1.14	0.97
query29	12.56	3.92	3.13
query30	0.28	0.14	0.12
query31	2.81	0.63	0.42
query32	3.24	0.60	0.50
query33	3.28	3.33	3.29
query34	16.30	5.38	4.72
query35	4.85	4.83	4.80
query36	0.64	0.50	0.48
query37	0.11	0.08	0.07
query38	0.08	0.04	0.04
query39	0.04	0.03	0.03
query40	0.19	0.16	0.15
query41	0.09	0.04	0.04
query42	0.04	0.03	0.02
query43	0.05	0.04	0.04
Total cold run time: 99.17 s
Total hot run time: 28.51 s

@hello-stephen
Copy link
Contributor

FE Regression Coverage Report

Increment line coverage 77.52% (100/129) 🎉
Increment coverage report
Complete coverage report

@gary-cloud
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17632	5329	5069	5069
q2	2006	319	201	201
q3	10209	1276	733	733
q4	10202	827	316	316
q5	7542	2131	1887	1887
q6	194	181	148	148
q7	901	742	604	604
q8	9263	1401	1048	1048
q9	5156	4870	4823	4823
q10	6806	1926	1565	1565
q11	518	285	281	281
q12	336	370	225	225
q13	17796	4039	3239	3239
q14	231	237	213	213
q15	893	823	809	809
q16	674	688	612	612
q17	654	716	576	576
q18	6623	6522	6333	6333
q19	1239	975	606	606
q20	379	338	234	234
q21	2605	2015	1961	1961
q22	358	308	276	276
Total cold run time: 102217 ms
Total hot run time: 31759 ms

----- Round 2, with runtime_filter_mode=off -----
q1	5315	5287	5301	5287
q2	262	345	250	250
q3	2197	2743	2233	2233
q4	1324	1727	1295	1295
q5	4242	4135	4166	4135
q6	219	179	137	137
q7	1898	2281	1820	1820
q8	2647	2446	2499	2446
q9	7401	7466	7380	7380
q10	2900	3057	2554	2554
q11	559	475	452	452
q12	653	732	633	633
q13	3891	4510	3691	3691
q14	298	322	299	299
q15	858	810	809	809
q16	683	926	659	659
q17	1146	1353	1337	1337
q18	8135	7656	7737	7656
q19	899	842	815	815
q20	2057	2148	2011	2011
q21	4669	4235	4020	4020
q22	566	536	524	524
Total cold run time: 52819 ms
Total hot run time: 50443 ms

@doris-robot
Copy link

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

query1	0.05	0.05	0.05
query2	0.10	0.05	0.04
query3	0.25	0.08	0.08
query4	1.60	0.11	0.11
query5	0.28	0.26	0.25
query6	1.16	0.70	0.67
query7	0.04	0.02	0.03
query8	0.05	0.04	0.04
query9	0.58	0.50	0.50
query10	0.54	0.54	0.55
query11	0.14	0.09	0.10
query12	0.14	0.10	0.10
query13	0.64	0.62	0.62
query14	1.07	1.06	1.09
query15	0.90	0.87	0.88
query16	0.41	0.41	0.40
query17	1.11	1.14	1.18
query18	0.24	0.22	0.22
query19	2.13	1.98	2.06
query20	0.02	0.02	0.02
query21	15.38	0.26	0.14
query22	5.08	0.05	0.05
query23	15.91	0.28	0.10
query24	0.93	0.25	0.35
query25	0.09	0.11	0.06
query26	0.16	0.13	0.14
query27	0.11	0.08	0.04
query28	3.66	1.20	0.97
query29	12.54	3.93	3.16
query30	0.28	0.13	0.11
query31	2.81	0.68	0.40
query32	3.24	0.61	0.51
query33	3.31	3.30	3.23
query34	15.87	5.58	4.81
query35	4.83	4.76	4.80
query36	0.67	0.50	0.50
query37	0.11	0.07	0.06
query38	0.07	0.04	0.04
query39	0.05	0.03	0.04
query40	0.19	0.16	0.15
query41	0.08	0.03	0.02
query42	0.04	0.03	0.03
query43	0.05	0.03	0.03
Total cold run time: 96.91 s
Total hot run time: 28.38 s

@hello-stephen
Copy link
Contributor

FE Regression Coverage Report

Increment line coverage 81.58% (62/76) 🎉
Increment coverage report
Complete coverage report

@gary-cloud
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17661	5340	5067	5067
q2	2043	309	192	192
q3	10227	1325	754	754
q4	10211	825	315	315
q5	7528	2130	1921	1921
q6	193	181	149	149
q7	881	731	603	603
q8	9271	1379	1094	1094
q9	5113	4829	4891	4829
q10	6845	1944	1550	1550
q11	503	282	279	279
q12	355	382	233	233
q13	17770	4071	3194	3194
q14	234	232	223	223
q15	893	825	803	803
q16	678	674	638	638
q17	623	765	518	518
q18	6735	6564	7280	6564
q19	1351	1072	651	651
q20	413	387	264	264
q21	2811	2267	2168	2168
q22	368	331	278	278
Total cold run time: 102707 ms
Total hot run time: 32287 ms

----- Round 2, with runtime_filter_mode=off -----
q1	5522	5436	5484	5436
q2	278	347	246	246
q3	2449	2861	2568	2568
q4	1535	1908	1454	1454
q5	5114	4572	4547	4547
q6	226	182	139	139
q7	2054	1936	1783	1783
q8	2531	2375	2420	2375
q9	7545	7774	7685	7685
q10	2780	3102	2819	2819
q11	562	476	452	452
q12	715	712	582	582
q13	3668	4082	3380	3380
q14	276	304	290	290
q15	852	814	813	813
q16	646	699	649	649
q17	1100	1359	1387	1359
q18	7611	7538	7495	7495
q19	889	804	839	804
q20	1993	2043	1881	1881
q21	4527	4230	4119	4119
q22	598	554	510	510
Total cold run time: 53471 ms
Total hot run time: 51386 ms

@doris-robot
Copy link

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

query1	0.06	0.05	0.05
query2	0.09	0.05	0.05
query3	0.26	0.08	0.08
query4	1.61	0.11	0.12
query5	0.27	0.24	0.24
query6	1.16	0.68	0.67
query7	0.03	0.02	0.02
query8	0.06	0.04	0.04
query9	0.57	0.50	0.49
query10	0.56	0.55	0.55
query11	0.14	0.10	0.11
query12	0.14	0.10	0.10
query13	0.62	0.62	0.63
query14	1.06	1.07	1.04
query15	0.88	0.86	0.86
query16	0.39	0.42	0.37
query17	1.10	1.06	1.14
query18	0.23	0.24	0.21
query19	2.03	1.96	1.93
query20	0.02	0.02	0.01
query21	15.42	0.26	0.15
query22	5.25	0.06	0.05
query23	16.00	0.28	0.10
query24	1.22	0.38	0.20
query25	0.08	0.11	0.11
query26	0.15	0.13	0.13
query27	0.09	0.05	0.06
query28	3.98	1.17	0.96
query29	12.54	3.89	3.18
query30	0.28	0.13	0.12
query31	2.81	0.64	0.41
query32	3.25	0.59	0.50
query33	3.16	3.25	3.21
query34	16.35	5.40	4.76
query35	4.84	4.84	4.84
query36	0.63	0.50	0.49
query37	0.11	0.07	0.06
query38	0.08	0.04	0.04
query39	0.05	0.03	0.04
query40	0.18	0.16	0.15
query41	0.10	0.04	0.03
query42	0.05	0.03	0.04
query43	0.04	0.04	0.03
Total cold run time: 97.94 s
Total hot run time: 28.23 s

@hello-stephen
Copy link
Contributor

FE Regression Coverage Report

Increment line coverage 81.58% (62/76) 🎉
Increment coverage report
Complete coverage report

@gary-cloud gary-cloud reopened this Jan 31, 2026
@gary-cloud
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17738	5314	5057	5057
q2	2196	308	204	204
q3	10392	1318	786	786
q4	10295	785	323	323
q5	7641	2080	1960	1960
q6	204	183	155	155
q7	901	755	620	620
q8	9343	1396	1122	1122
q9	5077	4801	4815	4801
q10	7117	1965	1557	1557
q11	549	286	276	276
q12	559	385	236	236
q13	18108	4065	3290	3290
q14	249	254	223	223
q15	911	839	809	809
q16	729	685	622	622
q17	649	792	521	521
q18	6689	7026	6963	6963
q19	1253	1034	686	686
q20	420	372	253	253
q21	2948	2408	2068	2068
q22	387	319	274	274
Total cold run time: 104355 ms
Total hot run time: 32806 ms

----- Round 2, with runtime_filter_mode=off -----
q1	5452	5485	5655	5485
q2	309	357	268	268
q3	2474	2870	2503	2503
q4	1502	1923	1426	1426
q5	4472	4519	4486	4486
q6	234	188	148	148
q7	2203	1909	1830	1830
q8	2571	2420	2316	2316
q9	7456	7481	7432	7432
q10	2865	3007	2591	2591
q11	517	464	439	439
q12	678	749	725	725
q13	3995	4247	3220	3220
q14	269	286	266	266
q15	827	810	796	796
q16	638	675	641	641
q17	1061	1226	1252	1226
q18	7544	7194	7446	7194
q19	906	823	824	823
q20	2018	2078	1909	1909
q21	4532	4204	4111	4111
q22	599	561	504	504
Total cold run time: 53122 ms
Total hot run time: 50339 ms

@doris-robot
Copy link

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

query1	0.05	0.04	0.04
query2	0.15	0.05	0.04
query3	0.27	0.09	0.08
query4	1.61	0.11	0.11
query5	0.27	0.25	0.24
query6	1.16	0.66	0.67
query7	0.03	0.03	0.02
query8	0.06	0.04	0.04
query9	0.57	0.50	0.50
query10	0.54	0.57	0.53
query11	0.16	0.10	0.10
query12	0.15	0.11	0.11
query13	0.64	0.62	0.62
query14	1.06	1.07	1.04
query15	0.88	0.85	0.88
query16	0.39	0.38	0.42
query17	1.11	1.13	1.17
query18	0.23	0.21	0.22
query19	2.13	2.05	2.18
query20	0.02	0.01	0.02
query21	15.39	0.26	0.14
query22	5.14	0.06	0.05
query23	15.91	0.27	0.10
query24	2.72	0.35	0.50
query25	0.08	0.06	0.07
query26	0.15	0.13	0.13
query27	0.07	0.05	0.05
query28	3.93	1.14	0.97
query29	12.57	3.94	3.15
query30	0.30	0.14	0.12
query31	2.81	0.64	0.40
query32	3.25	0.60	0.49
query33	3.27	3.31	3.27
query34	16.24	5.38	4.71
query35	4.80	4.79	4.81
query36	0.66	0.50	0.50
query37	0.14	0.07	0.06
query38	0.07	0.05	0.04
query39	0.07	0.04	0.03
query40	0.19	0.17	0.16
query41	0.10	0.03	0.03
query42	0.06	0.02	0.02
query43	0.05	0.04	0.03
Total cold run time: 99.45 s
Total hot run time: 28.41 s

@hello-stephen
Copy link
Contributor

FE UT Coverage Report

Increment line coverage 53.88% (139/258) 🎉
Increment coverage report
Complete coverage report

@hello-stephen
Copy link
Contributor

FE Regression Coverage Report

Increment line coverage 62.02% (160/258) 🎉
Increment coverage report
Complete coverage report

@gary-cloud
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17767	5185	5036	5036
q2	2174	309	189	189
q3	10250	1294	749	749
q4	10246	824	307	307
q5	7500	2142	1891	1891
q6	192	187	149	149
q7	861	736	625	625
q8	9277	1426	1093	1093
q9	5098	4835	4805	4805
q10	6961	1912	1567	1567
q11	541	300	274	274
q12	371	380	224	224
q13	17814	4067	3222	3222
q14	236	244	218	218
q15	888	832	814	814
q16	679	672	617	617
q17	630	785	486	486
q18	6698	6432	6454	6432
q19	1287	975	619	619
q20	390	340	226	226
q21	2615	2051	2147	2051
q22	355	309	282	282
Total cold run time: 102830 ms
Total hot run time: 31876 ms

----- Round 2, with runtime_filter_mode=off -----
q1	5265	5223	5326	5223
q2	256	339	255	255
q3	2142	2715	2286	2286
q4	1376	1734	1333	1333
q5	4306	4139	4175	4139
q6	215	182	137	137
q7	2611	2021	1874	1874
q8	2618	2464	2343	2343
q9	7493	7596	7455	7455
q10	2756	2987	2622	2622
q11	535	463	471	463
q12	740	813	601	601
q13	3849	4513	3528	3528
q14	294	334	279	279
q15	866	860	831	831
q16	699	742	727	727
q17	1158	1383	1372	1372
q18	8043	7976	7806	7806
q19	853	808	815	808
q20	2072	2345	1978	1978
q21	4764	4200	4156	4156
q22	586	534	499	499
Total cold run time: 53497 ms
Total hot run time: 50715 ms

@doris-robot
Copy link

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

query1	0.06	0.05	0.06
query2	0.09	0.05	0.05
query3	0.25	0.08	0.09
query4	1.60	0.11	0.11
query5	0.26	0.24	0.25
query6	1.16	0.70	0.67
query7	0.04	0.03	0.02
query8	0.05	0.04	0.04
query9	0.58	0.50	0.50
query10	0.56	0.56	0.54
query11	0.14	0.10	0.09
query12	0.14	0.10	0.11
query13	0.63	0.62	0.63
query14	1.09	1.06	1.05
query15	0.88	0.86	0.87
query16	0.39	0.41	0.40
query17	1.09	1.10	1.12
query18	0.23	0.22	0.22
query19	2.11	1.98	2.03
query20	0.02	0.02	0.02
query21	15.40	0.27	0.15
query22	4.92	0.05	0.05
query23	15.77	0.28	0.10
query24	2.01	0.25	0.38
query25	0.06	0.08	0.07
query26	0.14	0.14	0.14
query27	0.05	0.09	0.06
query28	4.00	1.15	0.96
query29	12.58	3.92	3.16
query30	0.29	0.13	0.12
query31	2.81	0.63	0.40
query32	3.23	0.60	0.50
query33	3.21	3.21	3.21
query34	16.31	5.35	4.72
query35	4.82	4.77	4.83
query36	0.64	0.49	0.49
query37	0.11	0.07	0.07
query38	0.07	0.05	0.04
query39	0.05	0.03	0.03
query40	0.18	0.16	0.16
query41	0.08	0.04	0.03
query42	0.05	0.03	0.03
query43	0.05	0.04	0.04
Total cold run time: 98.2 s
Total hot run time: 28.29 s

@gary-cloud
Copy link
Contributor Author

run cloud_p0

@hello-stephen
Copy link
Contributor

FE Regression Coverage Report

Increment line coverage 61.83% (162/262) 🎉
Increment coverage report
Complete coverage report

1 similar comment
@hello-stephen
Copy link
Contributor

FE Regression Coverage Report

Increment line coverage 61.83% (162/262) 🎉
Increment coverage report
Complete coverage report

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17612	5202	5073	5073
q2	1992	333	200	200
q3	10209	1314	732	732
q4	10214	859	316	316
q5	7532	2153	1902	1902
q6	197	181	147	147
q7	877	714	622	622
q8	9264	1365	1173	1173
q9	5286	4816	4728	4728
q10	6823	1947	1539	1539
q11	489	287	275	275
q12	339	379	222	222
q13	17816	4067	3212	3212
q14	237	244	223	223
q15	891	820	812	812
q16	684	668	626	626
q17	656	784	481	481
q18	6729	6416	6468	6416
q19	1235	984	613	613
q20	387	337	233	233
q21	2668	2070	1909	1909
q22	349	318	274	274
Total cold run time: 102486 ms
Total hot run time: 31728 ms

----- Round 2, with runtime_filter_mode=off -----
q1	5305	5306	5298	5298
q2	260	324	249	249
q3	2182	2664	2256	2256
q4	1369	1748	1270	1270
q5	4360	4184	4393	4184
q6	217	181	141	141
q7	2146	2075	1940	1940
q8	2626	2383	2316	2316
q9	7701	7627	7434	7434
q10	2826	3009	2655	2655
q11	539	487	449	449
q12	662	833	627	627
q13	3945	4481	3735	3735
q14	296	311	291	291
q15	902	828	828	828
q16	700	723	694	694
q17	1143	1360	1357	1357
q18	8107	7880	7758	7758
q19	854	834	851	834
q20	2123	2221	2034	2034
q21	4499	4246	4040	4040
q22	584	565	503	503
Total cold run time: 53346 ms
Total hot run time: 50893 ms

@doris-robot
Copy link

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

query1	0.05	0.05	0.04
query2	0.10	0.05	0.05
query3	0.25	0.08	0.08
query4	1.61	0.12	0.11
query5	0.27	0.23	0.25
query6	1.15	0.67	0.66
query7	0.03	0.02	0.03
query8	0.05	0.04	0.04
query9	0.57	0.49	0.49
query10	0.55	0.55	0.54
query11	0.14	0.09	0.09
query12	0.14	0.10	0.10
query13	0.63	0.62	0.62
query14	1.04	1.06	1.05
query15	0.88	0.85	0.87
query16	0.43	0.38	0.40
query17	1.09	1.10	1.08
query18	0.23	0.21	0.20
query19	2.00	1.96	2.02
query20	0.02	0.01	0.02
query21	15.42	0.27	0.15
query22	5.19	0.05	0.05
query23	16.07	0.27	0.11
query24	1.40	0.62	0.31
query25	0.06	0.09	0.06
query26	0.15	0.14	0.14
query27	0.07	0.06	0.06
query28	3.22	1.15	0.97
query29	12.55	3.89	3.14
query30	0.28	0.14	0.11
query31	2.82	0.64	0.40
query32	3.24	0.59	0.49
query33	3.20	3.21	3.26
query34	16.35	5.34	4.72
query35	4.75	4.79	4.71
query36	0.65	0.50	0.49
query37	0.10	0.07	0.07
query38	0.06	0.04	0.03
query39	0.04	0.03	0.03
query40	0.20	0.18	0.15
query41	0.09	0.03	0.03
query42	0.04	0.04	0.03
query43	0.05	0.04	0.03
Total cold run time: 97.23 s
Total hot run time: 28.09 s

@hello-stephen
Copy link
Contributor

FE Regression Coverage Report

Increment line coverage 51.18% (87/170) 🎉
Increment coverage report
Complete coverage report

@gary-cloud
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17646	5285	5081	5081
q2	2033	324	221	221
q3	10167	1305	762	762
q4	10195	790	312	312
q5	7491	2143	1874	1874
q6	201	181	147	147
q7	879	724	602	602
q8	9260	1338	1080	1080
q9	5209	4779	4804	4779
q10	6785	1939	1600	1600
q11	517	318	293	293
q12	334	380	220	220
q13	17761	4061	3215	3215
q14	244	237	214	214
q15	898	818	815	815
q16	686	660	632	632
q17	645	785	470	470
q18	6974	6566	6345	6345
q19	1232	972	609	609
q20	390	338	228	228
q21	2573	1999	1913	1913
q22	355	309	271	271
Total cold run time: 102475 ms
Total hot run time: 31683 ms

----- Round 2, with runtime_filter_mode=off -----
q1	5281	5292	5285	5285
q2	254	336	256	256
q3	2156	2681	2230	2230
q4	1320	1725	1314	1314
q5	4266	4222	4332	4222
q6	214	180	137	137
q7	1983	2199	1884	1884
q8	2635	2435	2362	2362
q9	7485	7539	7593	7539
q10	2866	2938	2645	2645
q11	600	472	460	460
q12	695	772	636	636
q13	3928	4331	3700	3700
q14	299	310	280	280
q15	867	833	855	833
q16	661	726	672	672
q17	1166	1346	1361	1346
q18	8292	8176	7861	7861
q19	881	816	829	816
q20	2136	2255	1991	1991
q21	4947	4558	4325	4325
q22	585	549	500	500
Total cold run time: 53517 ms
Total hot run time: 51294 ms

@gary-cloud
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17606	5317	5066	5066
q2	2037	318	198	198
q3	10224	1330	784	784
q4	10246	816	324	324
q5	8865	2109	2046	2046
q6	234	185	151	151
q7	910	751	629	629
q8	9278	1291	1108	1108
q9	5388	4876	4896	4876
q10	6837	1987	1579	1579
q11	519	306	292	292
q12	340	382	233	233
q13	17817	4096	3233	3233
q14	241	247	220	220
q15	893	844	813	813
q16	692	689	629	629
q17	660	826	476	476
q18	6794	6538	6518	6518
q19	1238	1014	637	637
q20	394	355	234	234
q21	2826	2149	1834	1834
q22	358	322	274	274
Total cold run time: 104397 ms
Total hot run time: 32154 ms

----- Round 2, with runtime_filter_mode=off -----
q1	5341	5320	5327	5320
q2	258	339	260	260
q3	2192	2720	2266	2266
q4	1352	1730	1273	1273
q5	4372	4190	4328	4190
q6	226	186	140	140
q7	1968	1872	1688	1688
q8	2473	2455	2326	2326
q9	6976	7055	7024	7024
q10	2667	2819	2453	2453
q11	557	465	457	457
q12	632	699	557	557
q13	3666	4078	3214	3214
q14	302	302	266	266
q15	842	814	837	814
q16	685	683	644	644
q17	1096	1298	1318	1298
q18	7659	7427	7295	7295
q19	847	833	819	819
q20	2009	2058	1916	1916
q21	4531	4348	4127	4127
q22	578	564	509	509
Total cold run time: 51229 ms
Total hot run time: 48856 ms

@doris-robot
Copy link

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

query1	0.06	0.05	0.05
query2	0.09	0.04	0.04
query3	0.26	0.08	0.08
query4	1.60	0.11	0.12
query5	0.27	0.25	0.24
query6	1.18	0.66	0.66
query7	0.03	0.03	0.03
query8	0.06	0.04	0.04
query9	0.57	0.51	0.48
query10	0.54	0.55	0.54
query11	0.14	0.10	0.10
query12	0.14	0.10	0.11
query13	0.64	0.62	0.61
query14	1.07	1.08	1.06
query15	0.87	0.87	0.86
query16	0.40	0.39	0.39
query17	1.13	1.16	1.10
query18	0.24	0.21	0.22
query19	2.14	2.02	1.98
query20	0.02	0.01	0.02
query21	15.43	0.27	0.15
query22	5.15	0.06	0.04
query23	15.80	0.30	0.11
query24	0.91	0.52	0.43
query25	0.12	0.07	0.05
query26	0.15	0.14	0.14
query27	0.08	0.08	0.04
query28	4.30	1.15	0.97
query29	12.55	3.90	3.14
query30	0.28	0.13	0.11
query31	2.83	0.65	0.39
query32	3.24	0.60	0.50
query33	3.22	3.18	3.30
query34	15.98	5.39	4.71
query35	4.81	4.78	4.83
query36	0.65	0.49	0.50
query37	0.11	0.08	0.07
query38	0.07	0.04	0.04
query39	0.05	0.03	0.03
query40	0.19	0.17	0.16
query41	0.09	0.03	0.03
query42	0.04	0.02	0.03
query43	0.04	0.03	0.04
Total cold run time: 97.54 s
Total hot run time: 28.3 s

@hello-stephen
Copy link
Contributor

FE UT Coverage Report

Increment line coverage 71.88% (115/160) 🎉
Increment coverage report
Complete coverage report

@hello-stephen
Copy link
Contributor

FE Regression Coverage Report

Increment line coverage 54.37% (87/160) 🎉
Increment coverage report
Complete coverage report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants