You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "João Pedro Antunes Ferreira (Jira)" <ji...@apache.org> on 2021/04/08 18:03:00 UTC

[jira] [Commented] (ARROW-12189) [C++][Gandiva] Implement TO_TIME, TO_TIMESTAMP, UNIX_TIMESTAMP and IS_DATE functions

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

João Pedro Antunes Ferreira commented on ARROW-12189:
-----------------------------------------------------

I added in the same Pull Request, the implementation for IS_DATE functions:
 * *IS_DATE([string] timestring, [string] format)* - Returns true if the string is castable for the format specified.
 * *IS_DATE**([string] timestring)* - Returns true if the string is castable for the default format  ‘YYYY-MM-DD’.

> [C++][Gandiva] Implement TO_TIME, TO_TIMESTAMP, UNIX_TIMESTAMP and IS_DATE 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 40m
>  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)