Skip to content

GH-50730: [C++] Do not use throwing <simdjson> api - #50732

Merged
pitrou merged 4 commits into
apache:mainfrom
taepper:simdjson-cleanup
Jul 30, 2026
Merged

GH-50730: [C++] Do not use throwing <simdjson> api#50732
pitrou merged 4 commits into
apache:mainfrom
taepper:simdjson-cleanup

Conversation

@taepper

@taepper taepper commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Rationale for this change

The simdjson API has a throwing and non-throwing subset. #50672 activated a compiler flag that disables the throwing subset of the API, which broke some CI builds.

What changes are included in this PR?

This changes json_write_internal.cc and from_string.cc to use the non-throwing simdjson api

Are these changes tested?

Yes

Are there any user-facing changes?

No

@taepper
taepper requested a review from pitrou as a code owner July 30, 2026 06:04
@github-actions github-actions Bot added awaiting review Awaiting review Component: C++ and removed awaiting review Awaiting review labels Jul 30, 2026
@taepper taepper changed the title GH-50703: do not use throwing <simdjson> api GH-50730: do not use throwing <simdjson> api Jul 30, 2026
@taepper
taepper force-pushed the simdjson-cleanup branch from 4c04281 to 960f46e Compare July 30, 2026 06:09
@github-actions github-actions Bot added the awaiting review Awaiting review label Jul 30, 2026
@pitrou pitrou added the CI: Extra: C++ Run extra C++ CI label Jul 30, 2026
Comment thread cpp/src/arrow/json/json_writer_internal.cc Outdated
@github-actions github-actions Bot added awaiting committer review Awaiting committer review and removed awaiting review Awaiting review labels Jul 30, 2026
@taepper
taepper requested a review from pitrou July 30, 2026 06:56
@taepper
taepper force-pushed the simdjson-cleanup branch from f3c2620 to b8eaec8 Compare July 30, 2026 08:34

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

Just one suggestion. Also, there are some compilation failures that need fixing.

Comment thread cpp/src/arrow/json/json_writer_internal.cc Outdated
@pitrou pitrou changed the title GH-50730: do not use throwing <simdjson> api GH-50730: [C++]Ddo not use throwing <simdjson> api Jul 30, 2026
@pitrou pitrou changed the title GH-50730: [C++]Ddo not use throwing <simdjson> api GH-50730: [C++] Do not use throwing <simdjson> api Jul 30, 2026
@pitrou

pitrou commented Jul 30, 2026

Copy link
Copy Markdown
Member

The JNI macOS compilation error may be related but this PR still improves on the statu quo, so I'll merge.

@pitrou
pitrou merged commit 86f8d42 into apache:main Jul 30, 2026
57 of 68 checks passed
@pitrou pitrou removed the awaiting committer review Awaiting committer review label Jul 30, 2026
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.

2 participants