diff --git a/test/expected/pinecone_medium_create.out b/test/expected/pinecone_medium_create.out index 234020b8..45f55f71 100644 --- a/test/expected/pinecone_medium_create.out +++ b/test/expected/pinecone_medium_create.out @@ -16,10 +16,7 @@ DROP TABLE IF EXISTS cities; CREATE TABLE cities (name text, coords vector(3)); \o -- COPY FROM CSV -copy cities(name, coords) -from '/home/oscar/cities_coordinates.csv' -delimiter ',' -csv header; +\copy cities(name, coords) FROM './test/data/cities_coordinates.csv' WITH CSV HEADER DELIMITER ','; -- CREATE INDEX -- mock create index INSERT INTO pinecone_mock (url_prefix, method, response) diff --git a/test/sql/pinecone_medium_create.sql b/test/sql/pinecone_medium_create.sql index fd40921d..4cc5ddda 100644 --- a/test/sql/pinecone_medium_create.sql +++ b/test/sql/pinecone_medium_create.sql @@ -19,10 +19,7 @@ CREATE TABLE cities (name text, coords vector(3)); \o -- COPY FROM CSV -copy cities(name, coords) -from '/home/oscar/cities_coordinates.csv' -delimiter ',' -csv header; +\copy cities(name, coords) FROM './test/data/cities_coordinates.csv' WITH CSV HEADER DELIMITER ','; -- CREATE INDEX -- mock create index