[BEAM-11106] small nits to truncate sdf exec unit by riteshghorse · Pull Request #17755 · apache/beam

Small nits to truncate exec unit. Earlier we were extracting the main input from FullValue. This extraction is not required because the element can be of any type and not FullValue. Having a []byte in process element gave me the error that the extracting value is []uint8 and not FullValue. This PR fixes that.


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Choose reviewer(s) and mention them in a comment (R: @username).
  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests

See CI.md for more information about GitHub Actions CI.