Open mjonss opened 2 days ago
Hi @mjonss. Thanks for your PR.
PRs from untrusted users cannot be marked as trusted with /ok-to-test
in this repo meaning untrusted PR authors can never trigger tests themselves. Collaborators can still trigger tests on the PR using /test all
.
I understand the commands that are listed here.
Attention: Patch coverage is 83.33333%
with 17 lines
in your changes missing coverage. Please review.
Project coverage is 74.8011%. Comparing base (
ad5ca42
) to head (2f97ac7
). Report is 31 commits behind head on master.
🚨 Try these New Features:
Timeline:
2024-11-20 14:36:48.070107027 +0000 UTC m=+42395.689761543
: :ballot_box_with_check: agreed by Defined2014.[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Defined2014 Once this PR has been reviewed and has the lgtm label, please assign gmhdbjd for approval. For more information see the Code Review Process.
The full list of commands accepted by this bot can be found here.
@Defined2014: Your lgtm message is repeated, so it is ignored.
@xhebox PTAL
/retest
@mjonss: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test
message.
What problem does this PR solve?
Issue Number: close #55705
Problem Summary: When updating the placement rule bundle, the table ID was included both as the table and the partition id.
What changed and how does it work?
Not adding it as partition id for non-partitioned table (which uses the original table as a single partition, hence the same ID).
Also simplified the bundle handling during schema update / ApplyDiff, by removing logic that:
to
For REORGANIZE PARTITION, there the bundles will be updated twice, first with the intermediate set of partitions (both old and new), so that data copying and index creations on the new partitions will follow the correct policies directly, and then with the final partition set, avoiding having to move the data again when the DDL is done.
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.