tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hyunsik Choi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAJO-402) Implement from_unixtime() function
Date Mon, 09 Dec 2013 16:04:06 GMT

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

Hyunsik Choi commented on TAJO-402:
-----------------------------------

For non-standard part, we are following PostgreSQL. to_char() of PostgreSQL is equivalent
to this function. 

http://www.postgresql.org/docs/8.4/static/functions-formatting.html

Also, the patch of TAJO-62 already contains to_char function. If you need this function, TAJO-62
may be helpful to you.

> Implement from_unixtime() function
> ----------------------------------
>
>                 Key: TAJO-402
>                 URL: https://issues.apache.org/jira/browse/TAJO-402
>             Project: Tajo
>          Issue Type: Improvement
>          Components: operator/function/udf
>    Affects Versions: 0.8-incubating
>            Reporter: JaeHwa Jung
>             Fix For: 0.8-incubating
>
>
> It converts the specified number of seconds from Unix epoch and returns the date in the
format 'yyyy-MM-dd HH:mm:ss'.
> {code:xml}
> from_unixtime(unix_timestamp[, format])
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message