raulcd commented on issue #44643: URL: https://github.com/apache/arrow/issues/44643#issuecomment-2479457630
The error is coming from here https://github.com/apache/arrow/blob/main/python/pyarrow/src/arrow/python/python_to_arrow.cc#L1059-L1062 If an element on the tuple fails to be added due to capacity we should rewind the already appended tuple elements from the other child arrays otherwise there it s a mismatch. I was trying to understand whether there is a method to `Pop` an element or if we should first check that all elements for the tuple are going to fit (maybe through `Builder::CheckCapacity` even though that method seems to be private) and if positive append to the individual child arrays. -- 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]
