shunping opened a new pull request, #34615:
URL: https://github.com/apache/beam/pull/34615

   The original NullableCoder implementation incorrectly assumed its component 
coder was always length-prefixed (LP'd).
   
   In scenarios like a test `testFlattenMultipleCoders` using 
`Nullable[VarLong]`, the inner `VarLongCoder` is not LP'd. This decoder 
mismatch caused incorrect bytes to be read
   for the element, leading to incorrect buffer offsets.
   
   addresses #32930
   
   Notice that the PR only fixes 
`org.apache.beam.sdk.transforms.FlattenTest.testFlattenMultipleCoders`. The 
fact that the other test 
`org.apache.beam.sdk.transforms.FlattenTest.testFlattenWithDifferentInputAndOutputCoders2`
 still fails implies a separate root cause.
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@beam.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to