StarRocks / starrocks

The world's fastest open query engine for sub-second analytics both on and off the data lakehouse. With the flexibility to support nearly any scenario, StarRocks provides best-in-class performance for multi-dimensional analytics, real-time analytics, and ad-hoc queries. A Linux Foundation project.
https://starrocks.io
Apache License 2.0
9.05k stars 1.82k forks source link

[Feature] Support drop partitions with common expressions #53118

Open LiShuMing opened 13 hours ago

LiShuMing commented 13 hours ago

Why I'm doing:

What I'm doing:

Fixes https://github.com/StarRocks/starrocks/issues/53117

What type of PR is this:

Does this PR entail a change in behavior?

If yes, please specify the type of change:

Checklist:

Bugfix cherry-pick branch check:

sonarcloud[bot] commented 11 hours ago

Quality Gate Passed Quality Gate passed

Issues
37 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

github-actions[bot] commented 10 hours ago

[Java-Extensions Incremental Coverage Report]

:white_check_mark: pass : 0 / 0 (0%)

github-actions[bot] commented 10 hours ago

[FE Incremental Coverage Report]

:white_check_mark: pass : 141 / 148 (95.27%)

file detail

path covered_line new_line coverage not_covered_line_detail
:large_blue_circle: com/starrocks/sql/analyzer/AlterTableClauseAnalyzer.java 11 13 84.62% [1235, 1261]
:large_blue_circle: com/starrocks/sql/optimizer/rule/transformation/ListPartitionPruner.java 114 119 95.80% [809, 824, 848, 888, 933]
:large_blue_circle: com/starrocks/sql/ast/DropPartitionClause.java 14 14 100.00% []
:large_blue_circle: com/starrocks/sql/optimizer/rewrite/OptOlapPartitionPruner.java 2 2 100.00% []
github-actions[bot] commented 10 hours ago

[BE Incremental Coverage Report]

:white_check_mark: pass : 0 / 0 (0%)