You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
timestampdiff(month, startDate, endDate) returns wrong result in Gandiva when the endDate < startDate and endDate is the last day of the month. An additional month is said to have passed when the end day is greater than or equal to the start day, but this does not hold true for dates which are last days of the month.
Case in point, if startDate = 2020-01-31, endDate = 2020-02-29, previously timestampdiff() returned 0, but the correct result should be 1.
timestampdiff
(month, startDate, endDate) returns wrong result in Gandiva when the endDate < startDate and endDate is the last day of the month. An additional month is said to have passed when the end day is greater than or equal to the start day, but this does not hold true for dates which are last days of the month.Case in point, if startDate = 2020-01-31, endDate = 2020-02-29, previously
timestampdiff
() returned 0, but the correct result should be 1.Reporter: Sagnik Chakraborty / @sgnkc
Assignee: Sagnik Chakraborty / @sgnkc
PRs and other links:
Note: This issue was originally created as ARROW-9501. Please see the migration documentation for further details.
The text was updated successfully, but these errors were encountered: