Yibo Cai created ARROW-7397:
-------------------------------
Summary: [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
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)