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

Himanshu Saraiya reassigned CASSANDRA-20685:
--------------------------------------------

    Assignee: Himanshu Saraiya

> Built-in function to_timestamp() should support conversion of numeric values
> ----------------------------------------------------------------------------
>
>                 Key: CASSANDRA-20685
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20685
>             Project: Apache Cassandra
>          Issue Type: Improvement
>          Components: CQL/Interpreter
>            Reporter: Praveen Reddy Arra
>            Assignee: Himanshu Saraiya
>            Priority: Low
>
> The *to_timestamp()* function supports conversion of timeuuids to timestamps, 
> but it could also support numeric values representing the number of seconds 
> since the epoch.
> Postgres provides this support in it's to_timestamp function:
> {quote}to_timestamp( double precision ) -> timestamp with timezone
> Convert Unix epoch (seconds since 1970-01-01 00:00:00+00) to timestamp with 
> time zone
> Ex: to_timestamp(1284352323) -> {{2010-09-13 04:32:03+00}}
> {quote}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to