[
https://issues.apache.org/jira/browse/CASSJAVA-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17906450#comment-17906450
]
Bret McGuire commented on CASSJAVA-65:
--------------------------------------
Well, it is a _bit_ more than my earlier comment suggests. We have a [basic
unit
test|https://github.com/apache/cassandra-java-driver/blob/4.18.1/core/src/test/java/com/datastax/oss/driver/internal/core/type/codec/VectorCodecTest.java]
for VectorCodec which verifies a few things about the codec specifically; what
types does it accept, what inputs cause it to throw exceptions, etc. Ideally
we'd create something like this for FloatVectorToArrayCodec as well.
Oh, and also fix up the integration tests as discussed above.
> Add tests for FloatVectorToArrayCodec
> -------------------------------------
>
> Key: CASSJAVA-65
> URL: https://issues.apache.org/jira/browse/CASSJAVA-65
> Project: Apache Cassandra Java driver
> Issue Type: Improvement
> Components: Tests
> Reporter: Bret McGuire
> Priority: Normal
>
> We added FloatVectorToArrayCodec when doing the original work on vector
> support to provide an optional codec that would allow users to configure
> their Java drivers to decode CQL vectors directly into Java arrays. The impl
> works well enough but it doesn't look like there's any test coverage at
> all... we should probably fix that.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]