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
It looks like it's not possible to create a vector index using the emulator.
> gcloud --project local spanner databases ddl update local-database --instance local-instance --ddl="CREATE VECTOR INDEX embeddings_idx ON a_table(embeddings) OPTIONS (distance_type = 'COSINE', tree_depth = 2, num_leaves = 100, num_branches = 10);"
The vector index is created
The following error is returned:
ERROR: (gcloud.spanner.databases.ddl.update) HTTPError 400: {"code":3,"message":"Error parsing Spanner DDL statement: CREATE VECTOR INDEX text_embeddings ON non_existent_table(text_embeddings) OPTIONS (distance_type = 'COSINE', tree_depth = 2, num_leaves = 100, num_branches = 10) : Syntax error on line 1, column 8: Encountered 'VECTOR' while parsing: create_statement"}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It looks like it's not possible to create a vector index using the emulator.
To reproduce
Expected behaviour
The vector index is created
Actual behaviour
The following error is returned:
The text was updated successfully, but these errors were encountered: