-
Notifications
You must be signed in to change notification settings - Fork 5k
feat: add query phase tracking for SHOW QUERIES #34706
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
yihaoDeng
wants to merge
43
commits into
3.0
Choose a base branch
from
feat/addShowQuery
base: 3.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+819
−161
Open
Changes from 4 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
54645cb
feat: add query phase tracking for SHOW QUERIES
yihaoDeng a9bd508
fix invalid rm
yihaoDeng 63ec536
fix: complete query phase tracking with proper EQueryExecPhase enum
yihaoDeng f98d340
feat: add startTs/endTs timing fields to sub-task in SHOW QUERIES
yihaoDeng f39d9d5
update test case
yihaoDeng 0a92a5e
update python
yihaoDeng e03c928
feat: improve sub_status display in SHOW QUERIES
yihaoDeng 8490ab6
fix problem
yihaoDeng c98b454
fix: add NULL check for taosArrayGet and remove unused import
yihaoDeng a6aa608
refactor: rename current_phase to phase_name for consistency with pha…
yihaoDeng af68031
refactor: rename phase_name to phase_state for better semantics
yihaoDeng 51c1a6f
style: format code for consistency and readability
yihaoDeng da959b3
style: format code for consistency and readability
yihaoDeng 4dff055
Merge branch 'feat/addShowQuery' of https://github.com/taosdata/TDeng…
yihaoDeng 0b78fe6
style: format code for consistency and readability
yihaoDeng 652f5f3
refactor code
yihaoDeng 8f0704c
refactor code
yihaoDeng 5f5dc9e
Merge remote-tracking branch 'origin/3.0' into feat/addShowQuery
yihaoDeng 3882cd8
Merge remote-tracking branch 'origin/3.0' into feat/addShowQuery
yihaoDeng 8d9d7b5
update doc
yihaoDeng 464ba76
Update docs/zh/14-reference/03-taos-sql/51-perf.md
yihaoDeng a8e8ceb
Add query execution phase tracking and update related tests
yihaoDeng bf8b384
fix: resolve multiple issues in query phase tracking
yihaoDeng ea20d0f
feat: add execute:waiting phase for scan-to-merge transition
yihaoDeng 5927817
revert doc
yihaoDeng b49f350
update query track
yihaoDeng e0a208b
fix: only update phaseStartTime when phase actually changes
yihaoDeng cf0d57f
Merge remote-tracking branch 'origin/3.0' into feat/addShowQuery
yihaoDeng 373445c
feat: refine sub_status and add branch design notes
yihaoDeng 845c243
revert: remove branch design notes document
yihaoDeng e507581
refactor: unify phase sub-state format to slash style
yihaoDeng 4081511
Merge remote-tracking branch 'origin/3.0' into feat/addShowQuery
yihaoDeng cfbf4a8
Potential fix for pull request finding
yihaoDeng d0de702
Merge remote-tracking branch 'origin/3.0' into feat/addShowQuery
yihaoDeng 5dab60b
refactor: simplify fetch phase sub-states
yihaoDeng 60076fc
Merge remote-tracking branch 'origin/3.0' into feat/addShowQuery
yihaoDeng cab2af0
update schedule
yihaoDeng 36a7234
Potential fix for pull request finding
yihaoDeng 1b14ef3
Potential fix for pull request finding
yihaoDeng b148257
Potential fix for pull request finding
yihaoDeng 76fc843
Potential fix for pull request finding
yihaoDeng aab85f3
Potential fix for pull request finding
yihaoDeng 1aca835
Update job execution phase handling in schNotifyUserFetchRes and remo…
yihaoDeng File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
加这个字段的本意不是想显示这些阶段,但是显示也无所谓,我们要核心解决的一个问题是SCHEDULE、FETCH阶段再细分才能区分当前具体在做什么,所以这两个阶段还要再细分一下,比如FETCH阶段目前是在哪一步,是在服务端处理还是响应处理等。