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

feat: populate header columns #8416

Merged
merged 5 commits into from
Nov 30, 2021
Merged

feat: populate header columns #8416

merged 5 commits into from
Nov 30, 2021

Conversation

jzaralim
Copy link
Contributor

Description

Updates SourceBuilder to add header data

Testing done

Manually tested + updated unit tests. Integration tests will be in another PR.

Reviewer checklist

  • Ensure docs are updated if necessary. (eg. if a user visible feature is being added or changed).
  • Ensure relevant issues are linked (description should include text like "Fixes #")

@jzaralim jzaralim requested a review from spena November 26, 2021 18:22
@jzaralim jzaralim requested a review from a team as a code owner November 26, 2021 18:22
Comment on lines 384 to 385
final Header header =
processorContext.headers().lastHeader(col.headerKey().get());
Copy link
Member

Choose a reason for hiding this comment

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

Should this and the header == null ? null ? ByteBuffer.wrap(header.value()) below be part of a helper function in SourceBuilderUtils? This code is repeated in SourceBuilder too.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@jzaralim jzaralim merged commit e030f10 into master Nov 30, 2021
@jzaralim jzaralim deleted the sb branch November 30, 2021 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants