rtadepalli opened a new pull request, #34424:
URL: https://github.com/apache/arrow/pull/34424

   ### Rationale for this change
   This PR closes #15187. `FieldReader` is being allocated directly in the 
constructor today, and this PR changes it such that the initialization becomes 
lazy. Additionally, a new function `getTransferPair(Field, Allocator)` is 
introduced so that a new `Field` method is not constructed each time 
`getTransferPair` is called on the Vector.
   
   ### What changes are included in this PR?
   
   1. Introduce a new `getTransferPair` method.
   2. Make initializing `FieldReader` lazy.
   
   ### Are these changes tested?
   
   Yes, some tests have been added to verify these changes.
   
   ### Are there any user-facing changes?
   
   I am not 100% sure if there are any user facing changes.
   
   There should not be any breaking changes.


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

Reply via email to