Skip to content

Commit

Permalink
Remove query that set storage to plain.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheharyar570 authored and alwayslove2013 committed Nov 28, 2024
1 parent 0d0b29d commit 97f2688
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions vectordb_bench/backend/clients/alloydb/alloydb.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,11 +308,6 @@ def _create_table(self, dim: int):
"CREATE TABLE IF NOT EXISTS public.{table_name} (id BIGINT PRIMARY KEY, embedding vector({dim}));"
).format(table_name=sql.Identifier(self.table_name), dim=dim)
)
self.cursor.execute(
sql.SQL(
"ALTER TABLE public.{table_name} ALTER COLUMN embedding SET STORAGE PLAIN;"
).format(table_name=sql.Identifier(self.table_name))
)
self.conn.commit()
except Exception as e:
log.warning(
Expand Down

0 comments on commit 97f2688

Please sign in to comment.