Skip to content
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

[Enhancement] Support analyze paimon table and optimize query execution #52858

Merged
merged 1 commit into from
Dec 23, 2024

Conversation

mxdzs0612
Copy link
Contributor

@mxdzs0612 mxdzs0612 commented Nov 13, 2024

Co-authored-by: miomiocat [email protected]

Why I'm doing:

Optimize Paimon query speed by support analyze paimon tables and fix paimon cardinality info.

What I'm doing:

Fixes #issue

What type of PR is this:

  • BugFix
  • Feature
  • Enhancement
  • Refactor
  • UT
  • Doc
  • Tool

Does this PR entail a change in behavior?

  • Yes, this PR will result in a change in behavior.
  • No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

  • Interface/UI changes: syntax, type conversion, expression evaluation, display information
  • Parameter changes: default values, similar parameters but with different default values
  • Policy changes: use new policy to replace old one, functionality automatically enabled
  • Feature removed
  • Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

  • I have added test cases for my bug fix or my new feature
  • This pr needs user documentation (for new or modified features or behaviors)
    • I have added documentation for my new feature or new function
  • This is a backport pr

Bugfix cherry-pick branch check:

  • I have checked the version labels which the pr will be auto-backported to the target branch
    • 3.4
    • 3.3
    • 3.2
    • 3.1
    • 3.0
    • 2.5

@mxdzs0612 mxdzs0612 requested review from a team as code owners November 13, 2024 02:51
@mxdzs0612 mxdzs0612 force-pushed the paimon-select branch 2 times, most recently from d218c88 to cf98638 Compare November 13, 2024 06:34
@github-actions github-actions bot added the 3.4 label Nov 21, 2024
Copy link

[Java-Extensions Incremental Coverage Report]

pass : 0 / 0 (0%)

Copy link

[FE Incremental Coverage Report]

pass : 14 / 16 (87.50%)

file detail

path covered_line new_line coverage not_covered_line_detail
🔵 com/starrocks/sql/analyzer/AnalyzeStmtAnalyzer.java 0 2 00.00% [168, 169]
🔵 com/starrocks/catalog/Table.java 1 1 100.00% []
🔵 com/starrocks/sql/optimizer/operator/logical/LogicalPaimonScanOperator.java 3 3 100.00% []
🔵 com/starrocks/sql/optimizer/Utils.java 2 2 100.00% []
🔵 com/starrocks/sql/plan/PlanFragmentBuilder.java 2 2 100.00% []
🔵 com/starrocks/sql/optimizer/statistics/StatisticsCalculator.java 6 6 100.00% []

Copy link

[BE Incremental Coverage Report]

pass : 0 / 0 (0%)

@miomiocat miomiocat enabled auto-merge (squash) December 23, 2024 11:49
@miomiocat miomiocat changed the title [Enhancement] Optimize Paimon query speed [Enhancement] Support analyze paimon table and optimize query execution Dec 23, 2024
@miomiocat miomiocat merged commit ce4b524 into StarRocks:main Dec 23, 2024
56 checks passed
Copy link

@Mergifyio backport branch-3.4

@github-actions github-actions bot removed the 3.4 label Dec 23, 2024
Copy link

@Mergifyio backport branch-3.3

@github-actions github-actions bot removed the 3.3 label Dec 23, 2024
Copy link

@Mergifyio backport branch-3.2

@github-actions github-actions bot removed the 3.2 label Dec 23, 2024
Copy link
Contributor

mergify bot commented Dec 23, 2024

backport branch-3.4

✅ Backports have been created

Copy link
Contributor

mergify bot commented Dec 23, 2024

backport branch-3.3

✅ Backports have been created

Copy link
Contributor

mergify bot commented Dec 23, 2024

backport branch-3.2

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Dec 23, 2024
mergify bot pushed a commit that referenced this pull request Dec 23, 2024
…on (#52858)

Signed-off-by: Jiao Mingye <[email protected]>
(cherry picked from commit ce4b524)

# Conflicts:
#	fe/fe-core/src/main/java/com/starrocks/sql/optimizer/statistics/StatisticsCalculator.java
mergify bot pushed a commit that referenced this pull request Dec 23, 2024
…on (#52858)

Signed-off-by: Jiao Mingye <[email protected]>
(cherry picked from commit ce4b524)

# Conflicts:
#	fe/fe-core/src/main/java/com/starrocks/catalog/Table.java
#	fe/fe-core/src/main/java/com/starrocks/sql/analyzer/AnalyzeStmtAnalyzer.java
#	fe/fe-core/src/main/java/com/starrocks/sql/optimizer/Utils.java
#	fe/fe-core/src/main/java/com/starrocks/sql/optimizer/statistics/StatisticsCalculator.java
#	fe/fe-core/src/main/java/com/starrocks/sql/plan/PlanFragmentBuilder.java
@mxdzs0612 mxdzs0612 deleted the paimon-select branch December 24, 2024 02:06
wanpengfei-git pushed a commit that referenced this pull request Dec 24, 2024
smartlxh pushed a commit that referenced this pull request Dec 24, 2024
smartlxh pushed a commit that referenced this pull request Dec 24, 2024
maggie-zhu pushed a commit to maggie-zhu/starrocks that referenced this pull request Jan 6, 2025
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.

4 participants