Skip to content

MINOR: Fix headers in KTableMapValues and KTableTransformValues#21835

Open
aliehsaeedii wants to merge 1 commit intoapache:trunkfrom
aliehsaeedii:fix_headers_in_dsl_ops
Open

MINOR: Fix headers in KTableMapValues and KTableTransformValues#21835
aliehsaeedii wants to merge 1 commit intoapache:trunkfrom
aliehsaeedii:fix_headers_in_dsl_ops

Conversation

@aliehsaeedii
Copy link
Contributor

@aliehsaeedii aliehsaeedii commented Mar 20, 2026

This PR replcases null/empty headers with context.headers() where
ValueTimestampheaders is null.

@github-actions github-actions bot added triage PRs from the community streams small Small PRs labels Mar 20, 2026
valueTransformer.transform(key, getValueOrNull(valueTimestampHeaders)),
valueTimestampHeaders == null ? UNKNOWN : valueTimestampHeaders.timestamp(),
valueTimestampHeaders == null ? null : valueTimestampHeaders.headers()
valueTimestampHeaders == null ? currentContext.headers() : valueTimestampHeaders.headers()
Copy link
Contributor

Choose a reason for hiding this comment

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

@aliehsaeedii are there any relevant tests for this change ?

@github-actions github-actions bot removed the triage PRs from the community label Mar 22, 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.

3 participants