Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve JSON Decoders #24854

Merged
merged 5 commits into from
Jan 30, 2025
Merged

Conversation

pettyjamesm
Copy link
Member

Description

Minor code cleanup in the Hive and OpenX JSON decoders to improve performance by flattening lists into arrays, avoiding per-row allocation overheads, and avoiding a per-value instanceof check.

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

@pettyjamesm pettyjamesm requested a review from dain January 30, 2025 19:40
@cla-bot cla-bot bot added the cla-signed label Jan 30, 2025
@pettyjamesm pettyjamesm changed the title Improve JSON Row Decoder Improve JSON Decoders Jan 30, 2025
@pettyjamesm pettyjamesm merged commit 5caf940 into trinodb:master Jan 30, 2025
60 checks passed
@pettyjamesm pettyjamesm deleted the improve-json-row-decoder branch January 30, 2025 21:52
@github-actions github-actions bot added this to the 470 milestone Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants