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

Anthony Louis Gotlib Ferreira commented on ARROW-12189:
-------------------------------------------------------

I added in the same Pull Request, the implementation for UNIX_TIMESTAMP 
functions:
 * *UNIX_TIMESTAMP([string] timestring, [string] format)* - Gives the Unix time 
for the date in timestring using the format specified in format.
 * *UNIX_TIMESTAMP([string] timestring)* - Gives the Unix time for the date in 
timestring assuming a format of ‘YYYY-MM-DD HH24:MI:SS’.

> [C++][Gandiva] Implement TO_TIME([string] given_text, [literal_string] 
> format) and TO_TIMESTAMP([string] given_text, [literal_string] format) and 
> UNIX_TIMESTAMP functions
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ARROW-12189
>                 URL: https://issues.apache.org/jira/browse/ARROW-12189
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: C++ - Gandiva
>            Reporter: Anthony Louis Gotlib Ferreira
>            Assignee: Anthony Louis Gotlib Ferreira
>            Priority: Trivial
>              Labels: pull-request-available
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> The function has similar behavior to the existent *TO_DATE([string] 
> given_text, [literal_string] format)* function, but it returns the 
> information about the hours, minutes, seconds, and milliseconds in the 
> response.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to