alamb commented on issue #7220: URL: https://github.com/apache/arrow-rs/issues/7220#issuecomment-2715314236
> One challenge I had with an implementation that doesn't copy the data twice is that `IntoBuffer` is responsible for the conversion of `Vec<Int96>` and doesn't take any args. I didn't see how to pass that we want different logic applied in that method to avoid an intermediate representation (`FSB(12)`) that could still be converted to other possible target `ArrowType`s. I could make `Vec<Int96>` not use the `IntoBuffer` method for getting a `Buffer` from the read, but that adds a new conditional for every type in `consume_batch`. Here is a proposed solution: - https://github.com/apache/arrow-rs/pull/7250#discussion_r1989895129 -- 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]
