Extend driver vector support to arbitrary subtypes and fix handling of variable length types (OSS C* 5.0)

Description

Node version of https://datastax-oss.atlassian.net/browse/JAVA-3143. Copying relevant text from that ticket so this guy can stand on his own.

 

In conversation around a different issue mentioned that OSS Cassandra 5.0 will support vectors with arbitrary subtypes. More info is available in CASSANDRA-18960.

 

We also need to add support for varint types as subtypes. There has been some initial discussion of this on CASSANDRA-18504 but it didn’t really go anywhere.

 

Nodejs driver has some built-in assumptions around the size of the subtype vector so we’ll definitely need some cleanup + improved test coverage here.

Environment

None

Pull Requests

None

Affects versions

None

Fix versions

Activity

Show:

Jane He September 24, 2024 at 9:42 PM
Edited

As C* 5.0 requires vectors of arbitrary subtypes, node.js TypedArray won’t work because TypedArray does not support generic subtypes. We will have to create a new class just like CqlVector in the java driver. As a result, we will need a minor version bump to 4.8.0 for the new release.

Fixed

Details

Assignee

Reporter

Priority

Created November 6, 2023 at 7:46 PM
Updated February 21, 2025 at 5:00 PM
Resolved February 21, 2025 at 5:00 PM

Flag notifications