This repository was archived by the owner on Mar 12, 2026. It is now read-only.
feat: dist sql analyze#1260
Merged
Merged
Conversation
fe189f3 to
9fafaca
Compare
Contributor
Above is the result I get in local test, do you notice the empty metric sub plans still exist? You can't just finish the feature in some hack ways, which will make codes not maintainable, and should think about how to impl it following the datafusion metrics framework. |
Rachelint
reviewed
Nov 2, 2023
ShiKaiWi
reviewed
Nov 7, 2023
Rachelint
reviewed
Nov 7, 2023
7f5847e to
cd5b6b5
Compare
Member
|
@baojinri Could you provide an example of the analysis result? |
Contributor
Author
|
Example result: |
Rachelint
reviewed
Nov 15, 2023
cd5b6b5 to
8051eec
Compare
Rachelint
reviewed
Nov 16, 2023
726686d to
99954b9
Compare
Rachelint
reviewed
Dec 8, 2023
Contributor
|
Add an integration test case for it. |
Rachelint
reviewed
Dec 18, 2023
Rachelint
reviewed
Dec 18, 2023
c838b10 to
fd6580c
Compare
jiacai2050
added a commit
that referenced
this pull request
Jan 3, 2024
## Rationale In #1260, we implemented distributed analyze, but for query that are not analyze, metrics will be returned, which will lead to a decrease in query performance. Therefore, we will fix it in this PR, and metrics will not be returned for normal queries. ## Detailed Changes - Add is_analyze field to determine whether it is analyze ## Test Plan Existing tests --------- Co-authored-by: jiacai2050 <dev@liujiacai.net>
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Rationale
Currently, the analyze sql can not obtain detail metrics of partitioned table,
Detailed Changes
Test Plan