Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dishaprakash committed Nov 26, 2024
1 parent 6ecaf13 commit b5963a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/llama_index_alloydb_pg/async_index_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ async def create(
required_columns = ["index_id", "type", "index_data"]

if not (all(x in column_names for x in required_columns)):
raise IndexError(
raise ValueError(
f"Table '{schema_name}'.'{table_name}' has an incorrect schema.\n"
f"Expected column names: {required_columns}\n"
f"Provided column names: {column_names}\n"
Expand Down

0 comments on commit b5963a6

Please sign in to comment.