[
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/17/22 12:21 AM:
-----------------------------------------------------------------
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 reverted the change to the "reserved_keywords.txt" file and started a new
run:
[https://app.circleci.com/pipelines/github/yifan-c/cassandra/348/workflows/f249c301-bf16-4728-a05d-f32cb275f987]
Apparently, the function name 'maxwritetime' has to be added to the unreserved
keywords.
The latest run looks green
https://app.circleci.com/pipelines/github/yifan-c/cassandra?branch=CASSANDRA-17425%2Ftrunk-new&filter=all
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]
There are 2 test failures.
- CASSANDRA-17291: testTokenGenerator_single_rack_or_single_rf
- test_cql_reserved_keywords
I reverted the change to the "reserved_keywords.txt" file and started a new
run:
https://app.circleci.com/pipelines/github/yifan-c/cassandra/348/workflows/f249c301-bf16-4728-a05d-f32cb275f987
> 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: [email protected]
For additional commands, e-mail: [email protected]