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/05/16 19:53:00 UTC
[jira] [Comment Edited] (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=17537642#comment-17537642 ]
Yifan Cai edited comment on CASSANDRA-17425 at 5/16/22 7:52 PM:
----------------------------------------------------------------
Started pre-commit CI:
j11: [https://app.circleci.com/pipelines/github/yifan-c/cassandra/347/workflows/7e66281e-6309-42a8-bc44-d00f0f0a8a9b]
j8: [https://app.circleci.com/pipelines/github/yifan-c/cassandra/347/workflows/1274f8b6-560b-4c3e-96ec-a833868246fc]
There are 2 test failures.
- CASSANDRA-17291: testTokenGenerator_single_rack_or_single_rf
- test_cql_reserved_keywords (I need to update the dtest)
was (Author: yifanc):
Started pre-commit CI:
j11: [https://app.circleci.com/pipelines/github/yifan-c/cassandra/347/workflows/7e66281e-6309-42a8-bc44-d00f0f0a8a9b]
j8: [https://app.circleci.com/pipelines/github/yifan-c/cassandra/347/workflows/1274f8b6-560b-4c3e-96ec-a833868246fc]
> 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
> Fix For: 4.x
>
> Time Spent: 2h 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