Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-7397

[C++] Json white space length detection error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.16.0
    • C++

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              yibocai Yibo Cai
              yibocai Yibo Cai
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h