[ 
https://issues.apache.org/jira/browse/CASSANDRA-17029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Lerer updated CASSANDRA-17029:
---------------------------------------
          Fix Version/s: 4.1
    Source Control Link: 
https://github.com/apache/cassandra/commit/8ddcd43b0cfcebfda882a238532d00905fe85eb8
             Resolution: Fixed
                 Status: Resolved  (was: Ready to Commit)

Committed into trunk at 8ddcd43b0cfcebfda882a238532d00905fe85eb8

> Add unix time conversion functions
> ----------------------------------
>
>                 Key: CASSANDRA-17029
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17029
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: CQL/Syntax
>            Reporter: Benjamin Lerer
>            Assignee: Kanthi Subramanian
>            Priority: Normal
>             Fix For: 4.1
>
>
> It will be useful to have some functions to conver unix time values into C* 
> native types, like:
> *     {{toDate(bigint)}} 
> *     {{toTimestamp(bigint)}}
> *     {{mintimeuuid(bigint)}}
> *     {{maxtimeuuid(bigint)}}
> +Additional info for newcomers:+
> Those new functions need to be added to 
> {{org.apache.cassandra.cql3.functions.TimeFcts}} and some unit tests need to 
> be added to {{org.apache.cassandra.cql3.functions..TimeFctsTest}}. The other 
> functions in {{TimeFcts}} provide some good example of how to create new 
> functions.
> As it is a new functionality they need to be mentioned in the {{NEWS.txt}} 
> file.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to