pitrou commented on issue #34031:
URL: https://github.com/apache/arrow/issues/34031#issuecomment-1544283137

   Indeed, you don't call the release callback when moving the structure:
   https://arrow.apache.org/docs/format/CDataInterface.html#moving-an-array
   > The consumer can move the ArrowArray structure by bitwise copying or 
shallow member-wise copying. Then it MUST mark the source structure released 
(see “released structure” above for how to do it) but without calling the 
release callback. This ensures that only one live copy of the struct is active 
at any given time and that lifetime is correctly communicated to the producer.
   
   > As usual, the release callback will be called on the destination structure 
when it is not needed anymore.


-- 
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]

Reply via email to