-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3f78b5e
commit f946e5c
Showing
2 changed files
with
6 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
SET enable_seqscan = off; | ||
ALTER SYSTEM SET pinecone.api_key = '5b2c1031-ba58-4acc-a634-9f943d68822c'; | ||
CREATE TABLE t (val vector(3)); | ||
CREATE INDEX i2 ON t USING pinecone (val vector_l2_ops); | ||
CREATE INDEX i1 ON t USING pinecone (val vector_ip_ops); | ||
CREATE INDEX i3 ON t USING pinecone (val vector_cosine_ops); | ||
CREATE INDEX i2 ON t USING pinecone (val vector_l2_ops) WITH (spec = '{"serverless":{"cloud":"aws","region":"us-west-2"}}'); | ||
CREATE INDEX i3 ON t USING pinecone (val vector_cosine_ops) WITH (spec = '{"serverless":{"cloud":"aws","region":"us-west-2"}}'); | ||
CREATE INDEX i1 ON t USING pinecone (val vector_ip_ops) WITH (spec = '{"serverless":{"cloud":"aws","region":"us-west-2"}}'); | ||
DROP TABLE t; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
SET enable_seqscan = off; | ||
ALTER SYSTEM SET pinecone.api_key = '5b2c1031-ba58-4acc-a634-9f943d68822c'; | ||
CREATE TABLE t (val vector(3)); | ||
CREATE INDEX i2 ON t USING pinecone (val vector_l2_ops); | ||
CREATE INDEX i1 ON t USING pinecone (val vector_ip_ops); | ||
CREATE INDEX i3 ON t USING pinecone (val vector_cosine_ops); | ||
CREATE INDEX i2 ON t USING pinecone (val vector_l2_ops) WITH (spec = '{"serverless":{"cloud":"aws","region":"us-west-2"}}'); | ||
CREATE INDEX i3 ON t USING pinecone (val vector_cosine_ops) WITH (spec = '{"serverless":{"cloud":"aws","region":"us-west-2"}}'); | ||
CREATE INDEX i1 ON t USING pinecone (val vector_ip_ops) WITH (spec = '{"serverless":{"cloud":"aws","region":"us-west-2"}}'); | ||
DROP TABLE t; |