You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2017/01/18 10:10:26 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=15827774#comment-15827774 ] 

Sylvain Lebresne commented on CASSANDRA-13132:
----------------------------------------------

Since you didn't include it in your description, I'd suggest making things consistent/regular by also adding a {{currentTime}} and a {{currentTimeUUID}}. The latter would just be a new name for {{now}} but I think it's worth having for consistency.

> 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
>
> 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.4#6332)