[jira] [Commented] (CASSANDRA-15969) jvm dtest execute APIs do not support collections

2020-07-23 Thread David Capwell (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-15969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Commented] (CASSANDRA-15969) jvm dtest execute APIs do not support collections

2020-07-21 Thread David Capwell (Jira)


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

David Capwell commented on CASSANDRA-15969:
---

I am ok if anyone wants to take this from me =)

> 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: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org