bersprockets opened a new pull request, #37542:
URL: https://github.com/apache/spark/pull/37542

   ### What changes were proposed in this pull request?
   
   Change how the length of the new result array is calculated in 
`InternalSequenceBase.eval` to match how the same is calculated in the 
generated code.
   
   ### Why are the changes needed?
   
   This change brings the interpreted mode code in line with the generated 
code. Although I am not aware of any case where the current interpreted mode 
code fails, the generated code is more correct (it handles the case where the 
result array must grow more than once, whereas the current interpreted mode 
code does not).
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Existing unit tests.


-- 
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: [email protected]

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to