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

Sylvain Lebresne commented on CASSANDRA-3647:
---------------------------------------------

bq. I assume BTW that braces ("[") are signifying a position in an ordered 
list, and Brackets ("{") are signifying a value (or label) and not a position

Are you suggesting that

{noformat}
SET L = L - [2, 3]
{noformat}

means removing position 2 and 3? Because intuitively I really expect that 
syntax to remove value 2 and 3. And I'm fine with that syntax for 
List.discard() btw, but I just want to be clear we agree here.

But if you mean to use '-' for discard (of list and sets) and keep the "DELETE 
L[4]" for the discard_idx (for list) and discard_by_key (for map), then I'm 
good with that.


                
> Support set and map value types in CQL
> --------------------------------------
>
>                 Key: CASSANDRA-3647
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3647
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: API, Core
>            Reporter: Jonathan Ellis
>            Assignee: Sylvain Lebresne
>              Labels: cql
>             Fix For: 1.2
>
>
> Composite columns introduce the ability to have arbitrarily nested data in a 
> Cassandra row.  We should expose this through CQL.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to