Skip to content

Handle collections embedded into UDT (where length encoded into 4byte)#126

Closed
mishail wants to merge 1 commit intoapache:1.xfrom
mishail:CASSANDRA-7267-embedded-collections
Closed

Handle collections embedded into UDT (where length encoded into 4byte)#126
mishail wants to merge 1 commit intoapache:1.xfrom
mishail:CASSANDRA-7267-embedded-collections

Conversation

@mishail
Copy link
Contributor

@mishail mishail commented May 22, 2014

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This check will break when there are more than 2^16 elements in the collection.

I think we need to start passing the protocol version to serialize/deserialize methods. When decoding UDTs, we can use max(3, protocol_version) to decode subfields.

I need to start working on adding 2.1 support in any case, so maybe this is the best place to start.

@mishail mishail closed this May 26, 2014
@mishail mishail deleted the CASSANDRA-7267-embedded-collections branch May 29, 2014 06:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants