You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Alex Petrov (JIRA)" <ji...@apache.org> on 2016/04/17 20:23:25 UTC
[jira] [Updated] (CASSANDRA-11590) Make CellPath really multi part
[ https://issues.apache.org/jira/browse/CASSANDRA-11590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Petrov updated CASSANDRA-11590:
------------------------------------
Description:
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
was:
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)
> 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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)