You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Benjamin Lerer (JIRA)" <ji...@apache.org> on 2017/02/14 12:57:41 UTC

[jira] [Commented] (CASSANDRA-13132) Add currentTimestamp and currentDate functions

    [ 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)