spring-projects / spring-projects/spring-ai
CassandraVectorStore missing table name when table does not exists
Open
Nobody has claimed this yet.
status: waiting-for-triage
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.9k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 6
Description
In CassandraVectorStore, when the table name does not exist, in the checkSchemaValid method, the table name is missing in the exception.
Preconditions.checkState(this.session.getMetadata()
.getKeyspace(this.schema.keyspace)
.get()
.getTable(this.schema.table)
.isPresent(), "table %s does not exist");
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in vector-stores/spring-ai-cassandra-store/src/main/java/org/springframework/ai/vectorstore/cassandra/CassandraVectorStore.java, at the checkSchemaValid method and its existing table-existence check. Verify that the exception reports the configured table name when the table is absent, and confirm the resulting message through the relevant Cassandra vector-store test coverage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cassandra, java, spring
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100