Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

*: Add index_id to ANNQueryInfo to support multiple indexes on the same column #339

Merged
merged 5 commits into from
Aug 27, 2024

Conversation

JaySon-Huang
Copy link
Contributor

What problem does this PR solve?

Issue Number: ref pingcap/tidb#54245

Problem Summary:

What is changed and how it works?

Proposal: xxx

What's Changed:

How it Works:

Related changes

  • PR to update pingcap/docs/pingcap/docs-cn:
  • Need to cherry-pick to the release branch

@JaySon-Huang JaySon-Huang force-pushed the support-multi-vec-index branch from b656bed to 61012c7 Compare August 22, 2024 08:37
@@ -127,11 +127,14 @@ message ANNQueryInfo {
optional VectorDistanceMetric distance_metric = 2 [(gogoproto.nullable) = false];
optional uint32 top_k = 3 [(gogoproto.nullable) = false];
optional string column_name = 4 [(gogoproto.nullable) = false]; // For debug purpose only. Currently only used in explain.
optional int64 column_id = 5 [(gogoproto.nullable) = false];
optional int64 column_id = 5 [(gogoproto.nullable) = true];
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is it ok to turn this into a nullable field? @breezewish @zimulala

Copy link
Contributor

Choose a reason for hiding this comment

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

I think TiFlash and TiDB using the correct tipb version should work just fine. I am not sure. @breezewish please help to confirm it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@JaySon-Huang JaySon-Huang merged commit e9fcadb into master Aug 27, 2024
8 checks passed
@JaySon-Huang JaySon-Huang deleted the support-multi-vec-index branch August 27, 2024 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants