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

Praveen Kumar resolved ARROW-13281.
-----------------------------------
    Fix Version/s: 5.0.0
       Resolution: Fixed

Issue resolved by pull request 10674
[https://github.com/apache/arrow/pull/10674]

> [C++][Gandiva] Error on timestampDiffMonth function behavior for negative 
> diff values
> -------------------------------------------------------------------------------------
>
>                 Key: ARROW-13281
>                 URL: https://issues.apache.org/jira/browse/ARROW-13281
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++ - Gandiva
>            Reporter: João Pedro Antunes Ferreira
>            Assignee: João Pedro Antunes Ferreira
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 5.0.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The TIMESTAMPDIFF function appears to return incorrect values when a negative 
> number should be returned.
> Example:
>  - For the inputs TIMESTAMPDIFFMONTH("2019-06-30", "2019-03-31") it should 
> return *-3**,* but it returns *-1*
>  - For the inputs TIMESTAMPDIFFMONTH("2019-06-30", "2019-05-31") it should 
> return *-1**,* but it returns *1*



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

Reply via email to