RussellSpitzer commented on PR #13976: URL: https://github.com/apache/iceberg/pull/13976#issuecomment-3246695299
> > I think this makes sense to me. I wonder if we should just ignore the root allocator? As long as we close all the Childs we allocate we should be safe > > Currently, we use root allocator not just in a single place, but also [here](https://github.com/apache/iceberg/blob/main/arrow/src/main/java/org/apache/iceberg/arrow/vectorized/VectorizedArrowReader.java#L856) and [here](https://github.com/apache/iceberg/blob/main/arrow/src/main/java/org/apache/iceberg/arrow/vectorized/VectorizedArrowReader.java#L672) (the two methods are essentially the same, so I'll try to merge them into one). Will see how I can refactor there to use a child allocator. Ah yeah we have the places where we need a vector, but it's not part of the actual schema for virtual columns (you are looking at the _pos) column -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
