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

Robert Stupp commented on CASSANDRA-7396:
-----------------------------------------

Is this something for CASSANDRA-7395 ?
Want to say: wouldn't it be easier to add some "C*-UDF-stdlib" and implement it 
there?
The drawback: it would look like {{select stdlib:mapGet( map, 'key' ),  
stdlib:listGet( list, 42 ),  stdlib:setContains( set, 'value' )  ...}}
Or add some "operator" functionality to UDF : {{+ - / * !  [x]}}

> 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: API
>            Reporter: Jonathan Ellis
>             Fix For: 3.0
>
>
> Allow "SELECT map['key]" and "SELECT list[index]."  (Selecting a UDT subfield 
> is already supported.)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to