cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Hobbs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-7826) support arbitrary nesting of collection
Date Tue, 26 Aug 2014 22:51:59 GMT

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

Tyler Hobbs commented on CASSANDRA-7826:
----------------------------------------

bq. Is this reasonable to scope for 2.1.1?

That depends on exactly what we want to support.

When you wrap a collection with a tuple, you're serializing the entire collection into a single
cell.  This doesn't allow for updating subcollections (you can only replace them).  You also
can't fetch subfields of tuples individually.

We don't currently support fetching individual items from collections, so there's no way to
pull out subcollections.

Basically, wrapping nested collections in tuples is only useful for static data that you plan
to fetch in its entirety.

I would say that if we want to support selecting subfields from collections or being able
to update individual items in nested collections, 3.0 is the earliest we should do that.

> support arbitrary nesting of collection
> ---------------------------------------
>
>                 Key: CASSANDRA-7826
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7826
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Tupshin Harper
>            Assignee: Tyler Hobbs
>              Labels: ponies
>
> The inability to nest collections is one of the bigger data modelling limitations we
have right now.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message