[ 
https://issues.apache.org/jira/browse/CASSANDRA-11590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Petrov resolved CASSANDRA-11590.
-------------------------------------
    Resolution: Duplicate

Will be / is already handled in the scope of the parent issue.

> Make CellPath really multi part
> -------------------------------
>
>                 Key: CASSANDRA-11590
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11590
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: CQL
>            Reporter: Alex Petrov
>            Assignee: Alex Petrov
>             Fix For: 3.x
>
>
> Currently, {{CellPath}} exposes the interface with {{size()}} and {{get(int 
> i)}}, although makes assertion that the passed size is {{0}}. 
> Also, there is a lot of code assuming that {{Path}} is always the size of 
> {{1}} (which is true for now, of course, but will have to change during the 
> transition to nested / composite paths).
> Examples of such code include: 
>   * {{ColumnDefinition}} path size check and comparator 
>   * {{Cell}} serialization / deserialization / calculating buffer size in 
> {{CollectionType}} 
>   * {{CellPath}} copying 
>   * {{NativeCell}} code 
> Another problem is that CellPath currently does not contain a number of items 
> in path. UPDATE: actually, it's possible to use the byte where we write 
> {{HAS_MULTIPATH}} at the moment. It's a {{byte}}. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to