[ 
https://issues.apache.org/jira/browse/CASSANDRA-15969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17164153#comment-17164153
 ] 

David Capwell commented on CASSANDRA-15969:
-------------------------------------------

this was fixed in trunk (via CASSANDRA-15542) so objectToBytes now allows 
ByteBuffer, but its annoying from the API as you must build the collection 
type, convert to byte buffer, then send that.

Don't have a lot of time and found out I could replicate CASSANDRA-15970 
without a collection insert (only need range tombstone), so going to remove 
myself as the assigned.

> jvm dtest execute APIs do not support collections
> -------------------------------------------------
>
>                 Key: CASSANDRA-15969
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15969
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Test/dtest
>            Reporter: David Capwell
>            Assignee: David Capwell
>            Priority: Normal
>             Fix For: 2.2.x, 3.0.x, 3.11.x, 4.0-beta
>
>
> If you use a collection type they will be transferred to the instance and we 
> call org.apache.cassandra.utils.ByteBufferUtil#objectToBytes to convert to 
> ByteBuffers; this doesn’t support collections.  If you try to work around 
> this by converting before sending, it will fail since that method doesn’t 
> support ByteBuffer as input



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to