Skip to content

GH-50911: [C++][FlightSQL][ODBC] Replace RapidJSON with JsonWriter - #50912

Merged
kou merged 1 commit into
apache:mainfrom
Reranko05:gh-35460-flight
Aug 19, 2026
Merged

GH-50911: [C++][FlightSQL][ODBC] Replace RapidJSON with JsonWriter#50912
kou merged 1 commit into
apache:mainfrom
Reranko05:gh-35460-flight

Conversation

@Reranko05

@Reranko05 Reranko05 commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

Rationale for this change

This PR continues the simdjson migration by replacing the remaining RapidJSON usage in the FlightSQL ODBC JSON converter with Arrow's existing JsonWriter.

Changes

  • Replace rapidjson::Writer and rapidjson::StringBuffer with arrow::json::JsonWriter.
  • Replace RapidJSON-specific SizeType usage with the JsonWriter interface.
  • Replace RapidJSON RawValue usage with JsonWriter::RawValue.
  • Remove the unused RapidJSON dependency from the ODBC implementation target.
  • Preserve the existing ConvertToJson behavior and test coverage.

@Reranko05
Reranko05 marked this pull request as ready for review August 19, 2026 17:09
@Reranko05
Reranko05 requested a review from lidavidm as a code owner August 19, 2026 17:09
Copilot AI lite review requested due to automatic review settings August 19, 2026 17:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Reranko05
Reranko05 requested review from kou and rok August 19, 2026 17:09

@kou kou left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@kou
kou merged commit fc3be9e into apache:main Aug 19, 2026
65 of 70 checks passed
@kou kou removed the awaiting review Awaiting review label Aug 19, 2026
@github-actions github-actions Bot added the awaiting merge Awaiting merge label Aug 19, 2026
@conbench-apache-arrow

Copy link
Copy Markdown

After merging your PR, Conbench analyzed the 3 benchmarking runs that have been run so far on merge-commit fc3be9e.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants