Skip to content

Commit ae99f7d

Browse files
authored
JAVA-3095: Fix CREATE keyword in vector search example in upgrade guide. (#1693)
1 parent 60c9cbc commit ae99f7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

upgrade_guide/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ try (CqlSession session = new CqlSessionBuilder().withLocalDatacenter("datacente
2828
session.execute("DROP KEYSPACE IF EXISTS test");
2929
session.execute("CREATE KEYSPACE test WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 1}");
3030
session.execute("CREATE TABLE test.foo(i int primary key, j vector<float, 3>)");
31-
session.execute("CREAT CUSTOM INDEX ann_index ON test.foo(j) USING 'StorageAttachedIndex'");
31+
session.execute("CREATE CUSTOM INDEX ann_index ON test.foo(j) USING 'StorageAttachedIndex'");
3232
session.execute("INSERT INTO test.foo (i, j) VALUES (1, [8, 2.3, 58])");
3333
session.execute("INSERT INTO test.foo (i, j) VALUES (2, [1.2, 3.4, 5.6])");
3434
session.execute("INSERT INTO test.foo (i, j) VALUES (5, [23, 18, 3.9])");

0 commit comments

Comments
 (0)