michaelsembwever commented on PR #1931:
URL: 
https://github.com/apache/cassandra-java-driver/pull/1931#issuecomment-2497870781

   Testing this with https://github.com/spring-projects/spring-ai/pull/1817 
   
   I'm getting from [this 
code](https://github.com/spring-projects/spring-ai/pull/1817/files#diff-e3136d7ca72a9c5b17e14f161279f4adbe68d694f35bc0eb8ba04afac0042999R237):
   ```
   SchemaBuilder.createTable(keyspace, table)
       .ifNotExists()
       .withPartitionKey(partitionKey.name, partitionKey.type)
       .withClusteringColumn(clusteringKey.name, clusteringKey.type)
       .withColumn("embedding", DataTypes.vectorOf(DataTypes.FLOAT, 
vectorDimension))
       .build();
   ```
   this failure:
   ```
   com.datastax.oss.driver.api.core.servererrors.SyntaxError: Error setting 
type org.apache.cassandra.db.marshal.VectorType(384): Invalid definition for 
comparator org.apache.cassandra.db.marshal.VectorType.
        at 
com.datastax.oss.driver.api.core.servererrors.SyntaxError.copy(SyntaxError.java:50)
        at 
com.datastax.oss.driver.internal.core.util.concurrent.CompletableFutures.getUninterruptibly(CompletableFutures.java:151)
        at 
com.datastax.oss.driver.internal.core.cql.CqlRequestSyncProcessor.process(CqlRequestSyncProcessor.java:55)
        at 
com.datastax.oss.driver.internal.core.cql.CqlRequestSyncProcessor.process(CqlRequestSyncProcessor.java:32)
        at 
com.datastax.oss.driver.internal.core.session.DefaultSession.execute(DefaultSession.java:234)
        at 
com.datastax.oss.driver.api.core.cql.SyncCqlSession.execute(SyncCqlSession.java:56)
        at 
org.springframework.ai.vectorstore.CassandraVectorStoreConfig.ensureTableExists(CassandraVectorStoreConfig.java:244)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to