Skip to content

Flink: Backport RowDataWrapper per-row getter allocation fix to 2.0 and 1.20 (#16789) - #17606

Merged
pvary merged 1 commit into
apache:mainfrom
wombatu-kun:flink-rowdatawrapper-getter-alloc-backport
Aug 11, 2026
Merged

Flink: Backport RowDataWrapper per-row getter allocation fix to 2.0 and 1.20 (#16789)#17606
pvary merged 1 commit into
apache:mainfrom
wombatu-kun:flink-rowdatawrapper-getter-alloc-backport

Conversation

@wombatu-kun

Copy link
Copy Markdown
Contributor

Backport of #16789 to Flink 2.0 and 1.20. The RowDataWrapper files were identical across the three versions, so this is a direct copy of the merged change: the fallback field getter for the default case of buildGetter (INT, BIGINT, BOOLEAN, FLOAT, DOUBLE, DATE) is pre-built once in the constructor instead of being recreated on every get, which allocated two lambdas per field access on the partitioned-write, equality-delete and range-shuffle hot paths.

Existing TestRowDataWrapper coverage passes unchanged on both versions.


AI Disclosure

…nd 1.20

Generated-by: Claude Code (claude-opus-5)
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot added the flink label Aug 11, 2026
@pvary
pvary merged commit 089adca into apache:main Aug 11, 2026
25 checks passed
@pvary

pvary commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Merged to main.
Thanks @wombatu-kun for the backport!

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants