Skip to content

[bugfix](qe) Fix query error in ssl mode#53134

Merged
dataroaring merged 1 commit intoapache:masterfrom
felixwluo:dev-0711
Sep 3, 2025
Merged

[bugfix](qe) Fix query error in ssl mode#53134
dataroaring merged 1 commit intoapache:masterfrom
felixwluo:dev-0711

Conversation

@felixwluo
Copy link
Contributor

What problem does this PR solve?

Issue Number: close #52723

Problem Summary:

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

@hello-stephen
Copy link
Contributor

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?

@felixwluo
Copy link
Contributor Author

run buildall

@felixwluo felixwluo requested a review from Yukang-Lian July 11, 2025 13:46
@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17568	5254	5018	5018
q2	1930	287	189	189
q3	11015	1282	752	752
q4	10286	1049	542	542
q5	7682	2423	2322	2322
q6	183	157	130	130
q7	909	762	609	609
q8	9326	1293	1134	1134
q9	7036	5188	5170	5170
q10	6948	2380	1963	1963
q11	478	287	278	278
q12	333	348	208	208
q13	17770	3693	3130	3130
q14	234	229	225	225
q15	566	472	474	472
q16	444	449	378	378
q17	598	851	387	387
q18	7586	7114	7089	7089
q19	1419	930	553	553
q20	337	332	215	215
q21	3797	3075	2331	2331
q22	361	317	296	296
Total cold run time: 106806 ms
Total hot run time: 33391 ms

----- Round 2, with runtime_filter_mode=off -----
q1	5132	5060	5049	5049
q2	235	318	213	213
q3	2189	2660	2338	2338
q4	1371	1763	1338	1338
q5	4222	4390	4587	4390
q6	206	177	125	125
q7	2030	1977	1799	1799
q8	2631	2623	2591	2591
q9	7276	7279	7253	7253
q10	3089	3372	2855	2855
q11	600	500	482	482
q12	728	811	629	629
q13	3625	4124	3331	3331
q14	261	294	253	253
q15	533	483	477	477
q16	483	498	476	476
q17	1178	1532	1401	1401
q18	7800	7600	7786	7600
q19	816	976	1105	976
q20	2045	1949	1847	1847
q21	4728	4378	4324	4324
q22	621	621	547	547
Total cold run time: 51799 ms
Total hot run time: 50294 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 187513 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 95f80fe6ce5af03aaf26ba5fa05c3b1e5fef714b, data reload: false

query1	1003	398	391	391
query2	6505	1744	1765	1744
query3	6743	213	220	213
query4	26429	23778	23462	23462
query5	4514	583	449	449
query6	309	218	204	204
query7	4627	486	285	285
query8	278	230	215	215
query9	8626	2673	2656	2656
query10	446	323	279	279
query11	15228	14982	14794	14794
query12	158	105	109	105
query13	1643	509	387	387
query14	9468	6137	6034	6034
query15	207	187	171	171
query16	7640	416	255	255
query17	1658	725	555	555
query18	2029	387	296	296
query19	193	184	155	155
query20	118	116	114	114
query21	213	121	130	121
query22	4214	4292	4049	4049
query23	34101	33357	33009	33009
query24	8378	2352	2390	2352
query25	522	477	392	392
query26	1230	257	144	144
query27	2789	495	343	343
query28	4283	2134	2113	2113
query29	709	562	436	436
query30	279	220	189	189
query31	933	840	767	767
query32	71	62	60	60
query33	534	343	299	299
query34	804	832	526	526
query35	604	633	587	587
query36	956	976	894	894
query37	119	101	73	73
query38	4125	4137	4054	4054
query39	1499	1413	1411	1411
query40	210	112	104	104
query41	55	52	51	51
query42	126	110	114	110
query43	487	506	478	478
query44	1330	823	819	819
query45	173	169	162	162
query46	838	1025	633	633
query47	1726	1766	1721	1721
query48	378	408	306	306
query49	735	461	377	377
query50	669	708	423	423
query51	5442	5429	5453	5429
query52	109	103	96	96
query53	218	242	188	188
query54	572	564	487	487
query55	81	80	81	80
query56	293	299	288	288
query57	1174	1175	1123	1123
query58	267	246	247	246
query59	2615	2757	2805	2757
query60	321	325	354	325
query61	125	128	121	121
query62	772	717	638	638
query63	223	185	197	185
query64	4309	1157	812	812
query65	4284	4187	4181	4181
query66	1092	435	332	332
query67	15775	15353	15600	15353
query68	7038	902	527	527
query69	519	320	282	282
query70	1207	1094	1122	1094
query71	435	319	314	314
query72	5735	4638	4820	4638
query73	682	646	352	352
query74	9068	8825	8812	8812
query75	3185	3191	2667	2667
query76	3229	1127	742	742
query77	492	392	306	306
query78	11016	11219	10308	10308
query79	2035	819	583	583
query80	665	515	457	457
query81	500	257	218	218
query82	408	124	97	97
query83	266	256	235	235
query84	244	107	92	92
query85	800	349	324	324
query86	383	304	309	304
query87	4399	4482	4278	4278
query88	2904	2343	2278	2278
query89	373	317	289	289
query90	1871	217	211	211
query91	143	146	113	113
query92	65	62	54	54
query93	1414	962	599	599
query94	666	319	204	204
query95	372	294	284	284
query96	498	563	283	283
query97	2683	2742	2667	2667
query98	233	209	201	201
query99	1349	1403	1292	1292
Total cold run time: 273461 ms
Total hot run time: 187513 ms

@doris-robot
Copy link

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

query1	0.04	0.03	0.04
query2	0.07	0.04	0.04
query3	0.26	0.08	0.08
query4	1.60	0.11	0.11
query5	0.44	0.41	0.43
query6	1.17	0.67	0.66
query7	0.04	0.02	0.02
query8	0.05	0.04	0.04
query9	0.61	0.51	0.52
query10	0.57	0.57	0.58
query11	0.16	0.11	0.10
query12	0.14	0.11	0.11
query13	0.62	0.60	0.61
query14	0.78	0.81	0.82
query15	0.89	0.86	0.87
query16	0.39	0.39	0.41
query17	1.01	1.09	1.07
query18	0.22	0.21	0.21
query19	2.03	1.84	1.78
query20	0.02	0.01	0.01
query21	15.39	0.91	0.55
query22	0.74	1.25	0.67
query23	14.95	1.35	0.63
query24	6.81	1.45	1.31
query25	0.52	0.25	0.10
query26	0.48	0.15	0.15
query27	0.06	0.06	0.05
query28	10.56	0.84	0.45
query29	12.53	3.88	3.29
query30	0.25	0.10	0.07
query31	2.83	0.61	0.39
query32	3.23	0.55	0.48
query33	3.16	3.06	3.11
query34	16.10	5.40	4.82
query35	4.92	4.85	4.86
query36	0.68	0.51	0.49
query37	0.08	0.07	0.06
query38	0.06	0.04	0.04
query39	0.03	0.03	0.02
query40	0.17	0.15	0.13
query41	0.08	0.03	0.02
query42	0.03	0.02	0.03
query43	0.04	0.03	0.03
Total cold run time: 104.81 s
Total hot run time: 30.09 s

@hello-stephen
Copy link
Contributor

FE UT Coverage Report

Increment line coverage 0.00% (0/10) 🎉
Increment coverage report
Complete coverage report

@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

Copy link
Contributor

@dataroaring dataroaring left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions
Copy link
Contributor

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

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

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17637	5236	5062	5062
q2	2011	341	224	224
q3	10230	1299	725	725
q4	10227	1034	529	529
q5	7548	2493	2355	2355
q6	186	171	139	139
q7	938	760	640	640
q8	9368	1333	1143	1143
q9	7140	5209	5240	5209
q10	7013	2410	1975	1975
q11	493	318	283	283
q12	384	362	223	223
q13	17777	3676	3106	3106
q14	246	239	236	236
q15	592	511	497	497
q16	436	443	380	380
q17	610	875	363	363
q18	7956	7205	7157	7157
q19	1123	954	564	564
q20	359	345	250	250
q21	4090	3220	2401	2401
q22	1073	1050	979	979
Total cold run time: 107437 ms
Total hot run time: 34440 ms

----- Round 2, with runtime_filter_mode=off -----
q1	5258	5163	5139	5139
q2	255	341	238	238
q3	2157	2704	2322	2322
q4	1363	1781	1320	1320
q5	4247	4605	4572	4572
q6	221	174	136	136
q7	1992	2019	1933	1933
q8	2630	2653	2640	2640
q9	7369	7330	7445	7330
q10	3101	3303	2925	2925
q11	634	513	512	512
q12	747	799	668	668
q13	3551	3974	3294	3294
q14	281	302	287	287
q15	520	494	488	488
q16	443	499	454	454
q17	1246	1583	1433	1433
q18	8007	7945	7457	7457
q19	893	839	1009	839
q20	2009	2086	1812	1812
q21	4851	4284	4358	4284
q22	1083	1040	996	996
Total cold run time: 52858 ms
Total hot run time: 51079 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 187610 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 3ad7a6eb05d2c75fd5e50b72b705299c0fa7d92e, data reload: false

query1	1062	476	408	408
query2	6555	1789	1828	1789
query3	6749	226	228	226
query4	26160	23760	23158	23158
query5	4404	656	519	519
query6	360	248	226	226
query7	4649	537	309	309
query8	323	257	258	257
query9	8665	2916	2932	2916
query10	503	351	293	293
query11	15790	15300	14728	14728
query12	177	126	120	120
query13	1675	553	447	447
query14	9132	5952	5889	5889
query15	217	205	191	191
query16	7257	695	474	474
query17	1267	775	699	699
query18	2000	444	338	338
query19	211	203	175	175
query20	130	126	127	126
query21	216	136	120	120
query22	3954	4175	4042	4042
query23	33840	33095	33097	33095
query24	8252	2394	2412	2394
query25	589	534	447	447
query26	1261	282	173	173
query27	2728	515	357	357
query28	4362	2297	2279	2279
query29	826	609	508	508
query30	297	233	198	198
query31	909	846	736	736
query32	95	86	85	85
query33	587	432	364	364
query34	804	857	535	535
query35	822	856	768	768
query36	980	1053	899	899
query37	130	114	90	90
query38	4118	4025	4049	4025
query39	1488	1472	1458	1458
query40	228	135	134	134
query41	65	67	63	63
query42	138	126	124	124
query43	547	539	470	470
query44	1348	879	868	868
query45	186	181	173	173
query46	865	1017	653	653
query47	1775	1797	1730	1730
query48	402	453	336	336
query49	756	512	419	419
query50	661	700	410	410
query51	4133	4189	4189	4189
query52	124	127	110	110
query53	259	270	202	202
query54	627	616	545	545
query55	102	94	94	94
query56	364	344	327	327
query57	1208	1210	1120	1120
query58	300	302	303	302
query59	2691	2727	2709	2709
query60	382	373	381	373
query61	198	187	244	187
query62	805	738	676	676
query63	232	200	200	200
query64	4567	1156	841	841
query65	4292	4255	4250	4250
query66	1175	449	370	370
query67	15364	15143	15125	15125
query68	8071	952	598	598
query69	501	341	310	310
query70	1203	1154	1160	1154
query71	593	360	334	334
query72	6003	5019	5140	5019
query73	743	637	377	377
query74	9298	9236	8745	8745
query75	3729	3323	2676	2676
query76	3670	1200	753	753
query77	811	426	344	344
query78	9470	9699	8933	8933
query79	2354	897	601	601
query80	655	595	528	528
query81	500	265	232	232
query82	439	144	112	112
query83	300	274	257	257
query84	302	109	96	96
query85	912	465	420	420
query86	356	323	324	323
query87	4242	4273	4178	4178
query88	3331	2246	2279	2246
query89	410	347	306	306
query90	1916	242	240	240
query91	169	177	139	139
query92	90	78	76	76
query93	1653	998	657	657
query94	698	427	341	341
query95	426	341	337	337
query96	497	587	289	289
query97	2694	2691	2597	2597
query98	257	230	224	224
query99	1424	1429	1307	1307
Total cold run time: 275055 ms
Total hot run time: 187610 ms

@doris-robot
Copy link

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

query1	0.06	0.05	0.05
query2	0.09	0.06	0.05
query3	0.25	0.09	0.09
query4	1.61	0.11	0.12
query5	0.46	0.42	0.42
query6	1.16	0.64	0.67
query7	0.03	0.03	0.02
query8	0.06	0.04	0.05
query9	0.60	0.54	0.53
query10	0.58	0.58	0.60
query11	0.17	0.12	0.11
query12	0.15	0.12	0.12
query13	0.62	0.62	0.61
query14	0.84	0.84	0.83
query15	0.89	0.86	0.85
query16	0.39	0.40	0.39
query17	1.05	1.04	1.03
query18	0.24	0.20	0.20
query19	1.96	1.87	1.84
query20	0.02	0.01	0.01
query21	15.42	0.95	0.62
query22	0.79	1.23	0.68
query23	14.87	1.40	0.67
query24	6.74	1.33	0.87
query25	0.54	0.22	0.09
query26	0.69	0.16	0.13
query27	0.07	0.06	0.06
query28	10.07	0.94	0.42
query29	12.64	3.96	3.29
query30	3.12	3.00	3.00
query31	2.83	0.58	0.38
query32	3.24	0.57	0.48
query33	3.13	2.99	3.26
query34	16.11	5.44	4.78
query35	4.92	4.95	4.94
query36	0.70	0.51	0.50
query37	0.10	0.07	0.07
query38	0.07	0.05	0.05
query39	0.03	0.03	0.03
query40	0.18	0.16	0.15
query41	0.08	0.03	0.03
query42	0.04	0.03	0.02
query43	0.04	0.04	0.04
Total cold run time: 107.65 s
Total hot run time: 32.81 s

@felixwluo
Copy link
Contributor Author

run external

Copy link
Contributor

@dataroaring dataroaring left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dataroaring dataroaring merged commit 05f47d4 into apache:master Sep 3, 2025
25 of 26 checks passed
github-actions bot pushed a commit that referenced this pull request Sep 3, 2025
### What problem does this PR solve?

Issue Number: close #52723
github-actions bot pushed a commit that referenced this pull request Sep 3, 2025
### What problem does this PR solve?

Issue Number: close #52723
morrySnow pushed a commit that referenced this pull request Sep 4, 2025
Cherry-picked from #53134

Co-authored-by: lw112 <131352377+felixwluo@users.noreply.github.com>
dataroaring pushed a commit that referenced this pull request Sep 4, 2025
Cherry-picked from #53134

Co-authored-by: lw112 <131352377+felixwluo@users.noreply.github.com>
wenzhenghu pushed a commit to wenzhenghu/doris that referenced this pull request Sep 8, 2025
### What problem does this PR solve?

Issue Number: close apache#52723
@morrySnow morrySnow mentioned this pull request Sep 22, 2025
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/3.0.9-merged dev/3.1.1-merged reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] doris2.1.8 Communication protocol issues

7 participants

Comments