rymarm opened a new pull request, #2943: URL: https://github.com/apache/drill/pull/2943
# [DRILL-8511](https://issues.apache.org/jira/browse/DRILL-8511): Overflow appeared when the batch reached rows limit ## Description The size-aware scan framework fails to end the batch. Framework tries to reallocate the vector on batch end, due to a hidden, minor bug in `BitColumnWriter` - which in general is not notable, but in a specific case, when the initial vector allocation size limit is exceeded and a reader reaches the batch row size limit. `BitColumnWriter` uses instead of a write index a value count and this causes unexpected vector reallocation (look at the changes). ## Documentation No changes required. ## Testing Manual 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: dev-unsubscr...@drill.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org