Skip to content

GH-50706: [C++] Migrate extension type serialization to JsonWriter - #50708

Merged
pitrou merged 1 commit into
apache:mainfrom
Reranko05:gh-36460-pr4-clean
Jul 29, 2026
Merged

GH-50706: [C++] Migrate extension type serialization to JsonWriter#50708
pitrou merged 1 commit into
apache:mainfrom
Reranko05:gh-36460-pr4-clean

Conversation

@Reranko05

@Reranko05 Reranko05 commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Rationale for this change

This PR continues the simdjson migration by replacing RapidJSON's Writer API with JsonWriter in extension type serialization.

What changes are included in this PR?

  • Replace RapidJSON writer usage with JsonWriter in:
    • FixedShapeTensorType::Serialize()
    • VariableShapeTensorType::Serialize()
    • OpaqueType::Serialize()
  • Remove rapidjson::Writer usage from the migrated serializers.

Are these changes tested?

Yes.

Are there any user-facing changes?

No.

Closes: #50706

Copilot AI review requested due to automatic review settings July 29, 2026 12:41
@Reranko05
Reranko05 requested a review from pitrou as a code owner July 29, 2026 12:41

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.

@github-actions

Copy link
Copy Markdown

⚠️ GitHub issue #50706 has been automatically assigned in GitHub to PR creator.

@pitrou pitrou 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.

LGTM :)

@github-actions github-actions Bot added awaiting committer review Awaiting committer review and removed awaiting review Awaiting review labels Jul 29, 2026
@pitrou
pitrou merged commit 5cafd7c into apache:main Jul 29, 2026
57 of 61 checks passed
@pitrou pitrou removed the awaiting committer review Awaiting committer review label Jul 29, 2026
@conbench-apache-arrow

Copy link
Copy Markdown

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

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 4 possible false positives for unstable benchmarks that are known to sometimes produce them.

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.

[C++] Migrate extension type serialization to JsonWriter

3 participants