We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please answer these questions before submitting your issue. Thanks!
create table t(a int, b vector(3), vector index((VEC_COSINE_DISTANCE(b))) USING HNSW); show create table t;
tidb> show create table t; +-------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Table | Create Table | +-------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | t | CREATE TABLE `t` ( `a` int(11) DEFAULT NULL, `b` vector(3) DEFAULT NULL, VECTOR INDEX `expression_index`((VEC_COSINE_DISTANCE(`b`))) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin | +-------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ 1 row in set (0.00 sec)
VECTOR INDEX `vector_index`((VEC_COSINE_DISTANCE(`b`)))
master
Release Version: v8.4.0-alpha-326-gfbcb35cd3d Edition: Community Git Commit Hash: fbcb35cd3d7b8ab3ebffe2af26fea7ab19365568
The text was updated successfully, but these errors were encountered:
ddl: support add nonymous vector index when creating table (#56499)
19d2760
close #56491
zimulala
Successfully merging a pull request may close this issue.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
master
The text was updated successfully, but these errors were encountered: