Closed murphyatwork closed 2 months ago
Issues
5 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
:white_check_mark: pass : 55 / 61 (90.16%)
path | covered_line | new_line | coverage | not_covered_line_detail | |
---|---|---|---|---|---|
:large_blue_circle: | com/starrocks/scheduler/mv/MVPCTRefreshListPartitioner.java | 1 | 3 | 33.33% | [280, 281] |
:large_blue_circle: | com/starrocks/scheduler/TableSnapshotInfo.java | 6 | 8 | 75.00% | [79, 82] |
:large_blue_circle: | com/starrocks/scheduler/PartitionBasedMvRefreshProcessor.java | 39 | 41 | 95.12% | [256, 259] |
:large_blue_circle: | com/starrocks/common/Config.java | 1 | 1 | 100.00% | [] |
:large_blue_circle: | com/starrocks/scheduler/mv/MVPCTRefreshRangePartitioner.java | 8 | 8 | 100.00% | [] |
:white_check_mark: pass : 0 / 0 (0%)
@Mergifyio backport branch-3.3
@Mergifyio backport branch-3.2
@Mergifyio backport branch-3.1
backport branch-3.3
backport branch-3.2
backport branch-3.1
Why I'm doing:
For MV on DataLake,
MetadataMgr::refreshTable
call can be costly if the external table has a lot of partitions.To optimize it, we can optimize that call into a
MetadataMgr::refreshTable(partitionNames)
, so we don't need to refresh all partitions each time.Experimental result:
What I'm doing:
Fixes #issue
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: