You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Kouhei Sutou (Jira)" <ji...@apache.org> on 2019/12/16 09:09:00 UTC

[jira] [Assigned] (ARROW-7397) [C++] Json white space length detection error

     [ https://issues.apache.org/jira/browse/ARROW-7397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kouhei Sutou reassigned ARROW-7397:
-----------------------------------

    Assignee: Yibo Cai

> [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
>          Time Spent: 20m
>  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)