Skip to content

ddl: Adapt with the latest vector index definition#9471

Merged
ti-chi-bot[bot] merged 1 commit intopingcap:feature/vector-indexfrom
JaySon-Huang:adapt_index_def
Sep 25, 2024
Merged

ddl: Adapt with the latest vector index definition#9471
ti-chi-bot[bot] merged 1 commit intopingcap:feature/vector-indexfrom
JaySon-Huang:adapt_index_def

Conversation

@JaySon-Huang
Copy link
Contributor

@JaySon-Huang JaySon-Huang commented Sep 25, 2024

What problem does this PR solve?

Issue Number: ref #9032

Problem Summary:

The "kind" field is removed from the tidb vector index definition
https://github.com/zimulala/tidb/blob/bce9dabc8c7712b98ca4f9cd90beca89a1d62ca8/pkg/meta/model/index.go#L36-L41

What is changed and how it works?

ddl: Adapt with the latest vector index def

Removing the deadcode will make lots of test cases changes and introduce conflict when cherry-pick other PRs. This PR just do some small adaption to make things work as expected, the deadcode will be removed in later PRs

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Side effects

  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Breaking backward compatibility

Documentation

  • Affects user behaviors
  • Contains syntax changes
  • Contains variable changes
  • Contains experimental features
  • Changes MySQL compatibility

Release note

None

@ti-chi-bot ti-chi-bot bot added release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Sep 25, 2024
@ti-chi-bot ti-chi-bot bot added approved needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Sep 25, 2024
Copy link
Contributor

@zimulala zimulala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ti-chi-bot
Copy link
Contributor

ti-chi-bot bot commented Sep 25, 2024

@zimulala: adding LGTM is restricted to approvers and reviewers in OWNERS files.

Details

In response to this:

LGTM

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@zimulala
Copy link
Contributor

PTAL @zanmato1984

@ti-chi-bot
Copy link
Contributor

ti-chi-bot bot commented Sep 25, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: breezewish, Lloyd-Pottiger, zimulala

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

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [Lloyd-Pottiger,breezewish]

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 ti-chi-bot bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Sep 25, 2024
@ti-chi-bot
Copy link
Contributor

ti-chi-bot bot commented Sep 25, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-09-25 11:38:06.447669176 +0000 UTC m=+1652356.188093115: ☑️ agreed by Lloyd-Pottiger.
  • 2024-09-25 12:12:21.347998531 +0000 UTC m=+1654411.088422469: ☑️ agreed by breezewish.

@ti-chi-bot ti-chi-bot bot merged commit 9a7b707 into pingcap:feature/vector-index Sep 25, 2024
@JaySon-Huang JaySon-Huang deleted the adapt_index_def branch September 25, 2024 12:56
@JaySon-Huang JaySon-Huang mentioned this pull request Sep 30, 2024
12 tasks
yongman pushed a commit to yongman/tiflash that referenced this pull request Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved lgtm release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants