You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Yifan Cai (Jira)" <ji...@apache.org> on 2022/04/23 01:44:00 UTC

[jira] [Commented] (CASSANDRA-17425) Add new CQL function maxWritetime

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

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

I rebased my patch on trunk and created a new PR: [https://github.com/apache/cassandra/pull/1584]

CI: [https://app.circleci.com/pipelines/github/yifan-c/cassandra?branch=CASSANDRA-17425%2Ftrunk-new&filter=all]

There are 2 commits. The first commit is the rebased original implementation. The second and optional commit implements the function based on WritetimeOrTTL. [~adelapena], can you review next week? 

> 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
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org