cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Lerer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-13132) Add currentTimestamp and currentDate functions
Date Tue, 14 Feb 2017 12:57:41 GMT

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

Benjamin Lerer commented on CASSANDRA-13132:
--------------------------------------------

||[trunk|https://github.com/apache/cassandra/compare/trunk...blerer:13132-trunk]|[utests|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-13132-trunk-testall/]|[dtests|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-13132-trunk-dtest/]|

The patch adds the following functions:
* {{currentTimestamp}}
* {{currentDate}}
* {{currentTime}}
* {{currentTimeUUID}} (same as {{now}})

> Add currentTimestamp and currentDate functions
> ----------------------------------------------
>
>                 Key: CASSANDRA-13132
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13132
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Benjamin Lerer
>            Assignee: Benjamin Lerer
>             Fix For: 4.x
>
>
> Today, the only way to get the current {{timestamp}} or {{date}} is to convert using
the {{toTimestamp}} and {{toDate}} functions the output of {{now()}}.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message