Trivial updates

This commit is contained in:
Madhavan Sridharan
2024-10-07 18:04:04 -04:00
parent 0f80aa0fde
commit 7735758343
6 changed files with 26 additions and 7 deletions

View File

@@ -10,4 +10,4 @@ blocks:
op1:
update_database_ddl: |
CREATE VECTOR INDEX IF NOT EXISTS VectorsIndex ON vectors(value)
OPTIONS (distance_type = 'COSINE', tree_depth = 3, num_branches=1000, num_leaves = 1000000);
OPTIONS (distance_type = 'COSINE', tree_depth = 2, num_branches=1000, num_leaves = 1180);

View File

@@ -12,7 +12,7 @@ blocks:
insert_vector:
ops:
op1:
insert_vector: "vectors"
insert: "vectors"
query_params:
keycol: "{rw_key}"
value: "{train_floatlist}"

View File

@@ -20,11 +20,12 @@ to the adapter at runtime.
The Google Cloud Spanner adapter supports the following operations:
* `create_database_ddl` - Data Definition Language operations such as creating and dropping databases.
* `create_database_ddl` - Data Definition Language operation for creating a database.
* `update_database_ddl` - Data Definition Language operations such as creating and dropping tables, indexes, etc.
* `execute_dml` - Data Manipulation Language operations. Read only operations are supported at this time, including queries
and vector queries.
* `insert` - Insert a single record, vector or non-vector, of data into the database.
* `drop_database_ddl` - Data Definition Language operation for dropping a database.
## Examples