cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-7396) Allow selecting Map key, List index
Date Wed, 10 Sep 2014 20:53:37 GMT


Sylvain Lebresne commented on CASSANDRA-7396:

Not really a fan of the {{?}} variants: you can just query and see if it returns null and
it's not standard enough that it's worth cluttering the syntax with (we can always provide
a {{isNull}} method if we really want to).

Regarding the slicing syntax, I guess it's not crazy for maps and sets but I'd much rather
not adding anything for lists because 1) I don't think there is any easy way to optimize this
under the hood and 2) I'm not all that convinced that it's that useful in practice.

> Allow selecting Map key, List index
> -----------------------------------
>                 Key: CASSANDRA-7396
>                 URL:
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: API
>            Reporter: Jonathan Ellis
>              Labels: cql
>             Fix For: 3.0
> Allow "SELECT map['key]" and "SELECT list[index]."  (Selecting a UDT subfield is already

This message was sent by Atlassian JIRA

View raw message