rok opened a new pull request #12732:
URL: https://github.com/apache/arrow/pull/12732
As reported by @dragosmg the following:
```
std::string input2 = R"(["5-1-2020", "12/13/1900"])";
std::string output2 = R"([null, "1900-12-13"])";
Strptime(input2)
```
Would cause:
```
Expected:
[
null,
1900-12-13 00:00:00.000000
]
Actual:
[
null,
1970-01-01 00:00:00.000000
]
```
This was due to out_data pointer not updating on failed parsing.
This change fixes the issue and adds a test.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]