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

Yifan Cai commented on CASSANDRA-17425:
---------------------------------------

bq. selectors can be chained and used to reduce the selection.

Good point. The patch does not handle the chained selector for collections and 
UDT. So it is incomplete in terms of semantics. And I agree that it should be 
implemented. 

Hi [~adelapena], it looks like that your patch already defines the syntax 
handling for the chained selectors. I think this logic is reused for 
'maxTimestamp'. Do you plan to work on the patch for CASSANDRA-8877 any time 
soon? If not, do you mind if I jump in? 

> Add new CQL function maxWritetime
> ---------------------------------
>
>                 Key: CASSANDRA-17425
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17425
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: CQL/Syntax
>            Reporter: Yifan Cai
>            Assignee: Yifan Cai
>            Priority: Normal
>
> The function "writetime" does not support multi-cell types, e.g. collections 
> and UDT. It would be useful to enable querying the latest modified timestamp 
> of a column value. 
> I'd like to propose to add a new function named "maxWritetime", which returns 
> the largest timestamp amongst the cells. When being applied to the single 
> cell types, it returns the same result as "writetime".



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to