jarohen commented on issue #24826: URL: https://github.com/apache/arrow/issues/24826#issuecomment-2032400179
@lidavidm We've found setOffset to be useful here when constructing DUVs by adding values directly to the underlying vectors - i.e. we do `duv.setTypeId(typeId)`, `duv.setOffset(offset)`, `duv.getVectorByType(typeId).set(lng)` (we don't do `getVectorByType` for every row - this is cached). We've got a commit for it [here](https://github.com/xtdb/arrow/commit/3ba2c63c6c5557839374f4917ba69023d661ffdd) - would it be something we could donate upstream? (We've got plenty of end-to-end tests covering it in XTDB, but would also add some unit tests if we raised a PR here.) -- 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]
