Reranko05 opened a new pull request, #50469:
URL: https://github.com/apache/arrow/pull/50469
### Rationale for this change
This PR is the first in a series of PRs for GH-35460 to migrate Arrow's JSON
implementation from RapidJSON to simdjson.
This PR introduces simdjson into the build system and migrates the
self-contained `arrow::json::internal::ObjectParser` as an initial step.
### What changes are included in this PR?
This PR:
- Introduces `simdjson` as a third-party dependency.
- Adds CMake support for discovering and building `simdjson`.
- Links `simdjson` into the Arrow JSON library.
- Migrates `arrow::json::internal::ObjectParser` from RapidJSON to the
simdjson DOM API.
- Adds unit tests covering:
- String retrieval
- Boolean retrieval
- String map extraction
- Invalid JSON
- Missing keys
- Incorrect types
- Non-object root documents
- Empty objects
This is intended to be the first PR in a series that will incrementally
migrate the remaining JSON components.
### Are these changes tested?
Yes.
Added dedicated unit tests for `ObjectParser` and verified that the JSON
test suite passes:
Related #35460
--
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]