[ https://issues.apache.org/jira/browse/CASSANDRA-7396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16023597#comment-16023597 ]
Robert Stupp commented on CASSANDRA-7396: ----------------------------------------- Well, restricting the first slice with a second slice ({{m\[1..\]\[2..\]}}) doesn't buy anything ({{headMap().tailMap()}} is not the same as what a slice with absolute bounds does). The confusing thing is that the second restriction for {{m\[1\]\[2\]}} refers to the "inner" map but the second restriction in for {{m\[1..\]\[2..\]}} still refers to the "outer" map. As you said, that requires "manual filtering" (cannot be expressed as a cell filter). That's way I proposed to forbid further restrictions after a slice. This would be consistent to what we already do for clustering keys and inequality predicates. > Allow selecting Map key, List index > ----------------------------------- > > Key: CASSANDRA-7396 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7396 > Project: Cassandra > Issue Type: New Feature > Components: CQL > Reporter: Jonathan Ellis > Assignee: Sylvain Lebresne > Labels: cql, docs-impacting > Fix For: 4.x > > Attachments: 7396_unit_tests.txt > > > Allow "SELECT map['key]" and "SELECT list[index]." (Selecting a UDT subfield > is already supported.) -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org