SiyaoIsHiding commented on PR #1931:
URL:
https://github.com/apache/cassandra-java-driver/pull/1931#issuecomment-2499382006
@michaelsembwever Can you see the debug log from this line?
```java
logger.debug("Executing {}", createTable.asCql());
```
I wonder what `asCql()` outputs. I ran your code with substituted values
```java
assertThat(SchemaBuilder.createTable("ks", "mytb")
.ifNotExists()
.withPartitionKey("k", DataTypes.INT)
.withClusteringColumn("v", DataTypes.TEXT)
.withColumn("embedding", DataTypes.vectorOf(DataTypes.FLOAT, 3)))
.hasCql("CREATE TABLE IF NOT EXISTS ks.mytb (k int,v
text,embedding vector<float, 3>,PRIMARY KEY(k,v))");
```
And this will pass. I ran the cql statement in cqlsh, it turns out no
problem, either.
--
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]