TheNeuralBit commented on pull request #11609:
URL: https://github.com/apache/beam/pull/11609#issuecomment-624792506


   > In that case, there is no need to handle this else case right? as we are 
making sure that the input has expected length while building the Row.
   
   `checkArgument` ensures that the condition is true, so we are rejecting byte 
arrays that are too short, and accepting anything longer than the fixed size. I 
don't think there's any capability that pads zeroes for short arrays, this 
logic just allows _longer_ byte arrays, and copies out the appropriate portion.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to