Skip to content

[improvement](executor) expose query progress when select processlist or active_queries#60567

Open
wenzhenghu wants to merge 6 commits intoapache:masterfrom
HYDCP:query_progress
Open

[improvement](executor) expose query progress when select processlist or active_queries#60567
wenzhenghu wants to merge 6 commits intoapache:masterfrom
HYDCP:query_progress

Conversation

@wenzhenghu
Copy link
Contributor

@wenzhenghu wenzhenghu commented Feb 6, 2026

What problem does this PR solve?

Issue Number: close #xxx

Related PR: #xxx

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

@Thearas
Copy link
Contributor

Thearas commented Feb 6, 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?

@wenzhenghu
Copy link
Contributor Author

run buildall

@wenzhenghu
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	16462	4462	4254	4254
q2	2014	349	262	262
q3	9648	1266	742	742
q4	9854	768	305	305
q5	7498	2205	1909	1909
q6	191	180	146	146
q7	852	772	599	599
q8	9183	1345	1140	1140
q9	4558	4647	4570	4570
q10	6776	1943	1518	1518
q11	501	316	303	303
q12	337	379	220	220
q13	17584	4049	3244	3244
q14	241	230	221	221
q15	884	816	803	803
q16	693	665	620	620
q17	692	761	574	574
q18	6633	5792	5672	5672
q19	1093	988	609	609
q20	515	492	382	382
q21	2543	1824	1753	1753
q22	361	318	273	273
Total cold run time: 99113 ms
Total hot run time: 30119 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4358	4307	4344	4307
q2	260	339	248	248
q3	2084	2672	2220	2220
q4	1345	1746	1282	1282
q5	4316	4236	4294	4236
q6	208	179	135	135
q7	1845	1817	1670	1670
q8	2471	2353	2550	2353
q9	7620	7537	7422	7422
q10	2904	3041	2649	2649
q11	538	478	465	465
q12	732	745	626	626
q13	3964	4236	3620	3620
q14	308	310	301	301
q15	846	805	800	800
q16	883	744	668	668
q17	1179	1390	1419	1390
q18	8368	7990	8014	7990
q19	866	829	853	829
q20	2079	2221	2073	2073
q21	4764	4532	4397	4397
q22	582	542	513	513
Total cold run time: 52520 ms
Total hot run time: 50194 ms

@doris-robot
Copy link

Cloud UT Coverage Report

Increment line coverage 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 79.29% (1792/2260)
Line Coverage 64.79% (31850/49158)
Region Coverage 65.43% (15886/24280)
Branch Coverage 55.99% (8442/15078)

@doris-robot
Copy link

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

query1	0.06	0.05	0.04
query2	0.12	0.08	0.07
query3	0.31	0.08	0.08
query4	1.61	0.10	0.10
query5	0.27	0.25	0.25
query6	1.14	0.64	0.63
query7	0.03	0.03	0.03
query8	0.08	0.06	0.06
query9	0.59	0.51	0.51
query10	0.54	0.54	0.54
query11	0.26	0.13	0.13
query12	0.27	0.14	0.14
query13	0.62	0.63	0.60
query14	0.99	0.98	0.98
query15	0.92	0.82	0.84
query16	0.42	0.40	0.42
query17	1.02	1.05	1.04
query18	0.25	0.24	0.23
query19	1.97	1.90	1.85
query20	0.02	0.02	0.01
query21	15.41	0.34	0.29
query22	4.90	0.11	0.13
query23	15.36	0.45	0.27
query24	2.39	0.57	0.38
query25	0.11	0.10	0.11
query26	0.19	0.18	0.18
query27	0.11	0.10	0.11
query28	3.52	1.16	0.98
query29	12.53	4.10	3.29
query30	0.31	0.12	0.11
query31	2.82	0.66	0.43
query32	3.23	0.62	0.50
query33	2.95	3.02	3.12
query34	15.99	5.07	4.50
query35	4.50	4.40	4.56
query36	0.63	0.50	0.49
query37	0.30	0.09	0.08
query38	0.27	0.05	0.05
query39	0.07	0.06	0.05
query40	0.21	0.18	0.16
query41	0.13	0.07	0.06
query42	0.09	0.05	0.05
query43	0.06	0.06	0.06
Total cold run time: 97.57 s
Total hot run time: 28.17 s

@hello-stephen
Copy link
Contributor

FE UT Coverage Report

Increment line coverage 34.17% (41/120) 🎉
Increment coverage report
Complete coverage report

@hello-stephen
Copy link
Contributor

BE UT Coverage Report

Increment line coverage 0.00% (0/69) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 52.60% (19409/36901)
Line Coverage 36.12% (180597/500039)
Region Coverage 32.44% (139917/431350)
Branch Coverage 33.47% (60628/181119)

@hello-stephen
Copy link
Contributor

BE Regression && UT Coverage Report

Increment line coverage 89.86% (62/69) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 57.27% (20711/36162)
Line Coverage 40.24% (200734/498815)
Region Coverage 36.86% (160613/435734)
Branch Coverage 37.61% (68379/181827)

@hello-stephen
Copy link
Contributor

FE Regression Coverage Report

Increment line coverage 80.83% (97/120) 🎉
Increment coverage report
Complete coverage report

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.

4 participants