Cherry pick Gh 15187 into dremio 24.3 12#47
Conversation
…w `getTransferPair()` function that takes in a `Field` type (apache#34424) This PR closes apache#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. 1. Introduce a new `getTransferPair` method. 2. Make initializing `FieldReader` lazy. Yes, some tests have been added to verify these changes. I am not 100% sure if there are any user facing changes. There should not be any breaking changes. * Closes: apache#15187 Authored-by: Ramasai <[email protected]> Signed-off-by: David Li <[email protected]>
|
Thanks for opening a pull request! If this is not a minor PR. Could you open an issue for this pull request on GitHub? https://github.com/apache/arrow/issues/new/choose Opening GitHub issues ahead of time contributes to the Openness of the Apache Arrow project. Then could you also rename the pull request title in the following format? or In the case of PARQUET issues on JIRA the title also supports: See also: |
|
For testing I think the standard dremio checkin tests and maybe a quick tpcds test would be enough for this change. This is more detailed but I don't think we need to do it all for this small of a change. https://dremio.atlassian.net/wiki/spaces/eng/pages/2068382007/Arrow+upgrade+test+plan |
https://dremio.atlassian.net/browse/DX-34989