You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Aleksey Yeschenko (JIRA)" <ji...@apache.org> on 2017/02/05 16:45:42 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 ]
Aleksey Yeschenko updated CASSANDRA-11590:
------------------------------------------
Fix Version/s: (was: 3.x)
> 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
>
> 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.15#6346)