[
https://issues.apache.org/jira/browse/CASSANDRA-3647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295178#comment-13295178
]
Rick Shaw commented on CASSANDRA-3647:
--------------------------------------
{quote}
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.
{quote}
I think "DELETE L[4]" makes sense for removing a list item by position (in this
context).
But I think in its Map context,
{code}
SET M = M - {'asdf'}
SET M = M - {'asdf', 'ghkl'}
{code}
seems appropriate to discard a Map entry by label.
I don't see any reason to remove map entries by position?
> 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