Apologies for the double up email but here’s the stack trace I get from using
the 3.11 driver on a Cassandra 5 cluster using the vector type (I forgot to
include it in my previous email)
[cluster19-worker-1] ERROR c.datastax.driver.core.SchemaParser - Error parsing
schema for table demo.comments_vs:
Cluster.getMetadata().getKeyspace("demo").getTable("comments_vs") will be
missing or incomplete
java.lang.IllegalArgumentException: Could not parse type name vector<float, 5>
at
com.datastax.driver.core.DataTypeCqlNameParser.parse(DataTypeCqlNameParser.java:233)
at com.datastax.driver.core.TableMetadata.build(TableMetadata.java:311)
at
com.datastax.driver.core.SchemaParser.buildTables(SchemaParser.java:302)
at com.datastax.driver.core.SchemaParser.refresh(SchemaParser.java:130)
at
com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:417)
at
com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:356)
at
com.datastax.driver.core.Cluster$Manager$SchemaRefreshRequestDeliveryCallback$1.runMayThrow(Cluster.java:3041)
at
com.datastax.driver.core.ExceptionCatchingRunnable.run(ExceptionCatchingRunnable.java:32)
at
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at
com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:131)
at
com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:75)
at
com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:82)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:829)
Again know the best answer is probably to use 4.16 or newer in the driver. But
I’d expect some people to raise tickets for this after release
Thanks,
Jackson
From: Fleming, Jackson via user <[email protected]>
Date: Monday, 20 November 2023 at 10:02 am
To: [email protected] <[email protected]>
Cc: Fleming, Jackson <[email protected]>
Subject: Cassandra 5 - Driver 3.11 support plans
EXTERNAL EMAIL - USE CAUTION when clicking links or attachments
Hi All,
Asking a bit of a silly question on this list I expect I already know the
answer to, but are there any plans to support the new vector datatype in the
3.11 version of the java driver
(https://github.com/apache/cassandra-java-driver)?
I assume the answer will be no, but it might be a good idea to have that
documented somewhere? I know this project has just been donated, so there’s a
never-ending list of things to-do, but with the upcoming 5.0 release it’d be
good to have an answer before the release (so users have some time to have a
look at how much work they’ll need to do to upgrade any apps to 4.16 or newer
of the driver).
Let me know if my question is unclear!
Thanks,
Jackson