cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-7396) Allow selecting Map key, List index
Date Wed, 24 May 2017 18:30:05 GMT

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

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

bq. {{WRITETIME() + TTL()}} ... require some significant refactoring
Alright, let's tackle that in 8877.

The review-fixes LGTM and testall + dtests look fine.

Regarding the "double slice" thing:
I'd be fine if we don't allow any more restrictions after a slice selection. Mean, there's
currently no way to do what I intended to do with {{m\[1..\]\[2\]}}. Some examples for what
I'm thinking of:
* {{m\[1..\]\[2\]}} --> not allowed
* {{m\[1\]\[2\]}} --> allowed
* {{m\[1\]\[2..\]}} --> allowed
* {{m\[1..\]\[2..\]}} --> not allowed
* {{m\[1\]\[2..\]\[3\]}} --> not allowed

Just want to ensure that we have the option to do that later, if there's demand for it.

> 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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message