[
https://issues.apache.org/jira/browse/ARROW-5163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17662186#comment-17662186
]
Rok Mihevc commented on ARROW-5163:
-----------------------------------
This issue has been migrated to [issue
#21642|https://github.com/apache/arrow/issues/21642] on GitHub. Please see the
[migration documentation|https://github.com/apache/arrow/issues/14542] for
further details.
> [Gandiva] Cast timestamp/date are incorrectly evaluating year 0097 to 1997
> --------------------------------------------------------------------------
>
> Key: ARROW-5163
> URL: https://issues.apache.org/jira/browse/ARROW-5163
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++ - Gandiva
> Reporter: shyam narayan singh
> Assignee: shyam narayan singh
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.14.0
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> Cast timestamp/date functions are incorrectly evaluating year string "0097"
> to year 1997. It should evaluate to 0097.
> In other words any year string length of 4 should be taken as it is and must
> not be tampered with. Year string "97" should be considered as 1997.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)