InvisibleProgrammer opened a new pull request, #3986:
URL: https://github.com/apache/hive/pull/3986

   It is possible to put `VectorizedRowBatch` into illegal state by using field 
access. 
   
   This PR fixes two places that can cause ArrayIndexOutOfBoundsException in 
case of the selected array is set but the size doesn't updated properly. 
   
   ### What changes were proposed in this pull request?
   Fixed ArrayIndexOutOfBoundsException in `VectorTopNKeyOperator` and 
`VectorFilterOperator`.
   
   ### Why are the changes needed?
   To avoid ArrayIndexOutOfBoundsException.
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   Added new tests. The tests failed with exception without the fix. 


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