[
https://issues.apache.org/jira/browse/ARROW-7397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kouhei Sutou resolved ARROW-7397.
---------------------------------
Fix Version/s: 1.0.0
Resolution: Fixed
Issue resolved by pull request 6037
[https://github.com/apache/arrow/pull/6037]
> [C++] Json white space length detection error
> ---------------------------------------------
>
> Key: ARROW-7397
> URL: https://issues.apache.org/jira/browse/ARROW-7397
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Reporter: Yibo Cai
> Assignee: Yibo Cai
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.0.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> Commit 21ca13a5cd [1] introduces a bug in ConsumeWhitespace() function.
> When all chars in a string are white spaces, it should return string
> length. But current code returns 0. It's not noticed because x86 goes
> rapidjson simd code path which is okay. Arm64 now goes the buggy code
> path and triggers json unit test failure.
>
> [1]
> https://github.com/apache/arrow/commit/21ca13a5cd9c1478d64370732fcfae72d52350dd#diff-664e724274fbe0ff1e03745aa452b4d6R48
--
This message was sent by Atlassian Jira
(v8.3.4#803005)