vibhatha opened a new pull request, #43583: URL: https://github.com/apache/arrow/pull/43583
### Rationale for this change `getBuffers` method provides the capability to clear the buffers in the vector, this has not been properly tested while clear flag is not properly used in the implementation across various types of vectors. ### What changes are included in this PR? Updating the vector `getBuffers` method to use `clear` flag as expected and adding corresponding test cases. ### Are these changes tested? Yes, via existing test cases and new test cases. ### Are there any user-facing changes? No -- 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]
