pingcap / tidb

TiDB is an open-source, cloud-native, distributed, MySQL-Compatible database for elastic scale and real-time analytics. Try AI-powered Chat2Query free at : https://www.pingcap.com/tidb-serverless/
https://pingcap.com
Apache License 2.0
36.39k stars 5.73k forks source link

planner: UPDATE's select plan's output col IDs should be stable (#53268) #53275

Open ti-chi-bot opened 1 month ago

ti-chi-bot commented 1 month ago

This is an automated cherry-pick of #53268

What problem does this PR solve?

Issue Number: close #53236

Problem Summary:

The output UniqueIDs in the UPDATE's SELECT plan should remain unchanged after the optimization.

What changed and how does it work?

Check List

Tests

Side effects

Documentation

Release note

Please refer to Release Notes Language Style Guide to write a quality release note.

None
ti-chi-bot[bot] commented 1 month ago

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please assign sdojjy for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files: - **[OWNERS](https://github.com/pingcap/tidb/blob/release-7.1/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
ti-chi-bot[bot] commented 1 month ago

@ti-chi-bot: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
idc-jenkins-ci-tidb/check_dev_2 e2e902c9abfc4b5e22fde961a44aeb72b34b2293 link true /test check-dev2
idc-jenkins-ci-tidb/build e2e902c9abfc4b5e22fde961a44aeb72b34b2293 link true /test build
idc-jenkins-ci-tidb/unit-test e2e902c9abfc4b5e22fde961a44aeb72b34b2293 link true /test unit-test
idc-jenkins-ci-tidb/check_dev e2e902c9abfc4b5e22fde961a44aeb72b34b2293 link true /test check-dev
idc-jenkins-ci-tidb/mysql-test e2e902c9abfc4b5e22fde961a44aeb72b34b2293 link true /test mysql-test

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository. I understand the commands that are listed [here](https://go.k8s.io/bot-commands).