roee88 commented on issue #595:
URL: https://github.com/apache/arrow-rs/issues/595#issuecomment-885381533


   > The with_name and with_flags methods are used as setters here (perhaps we 
should use a set_ prefix instead). These are separate fields in the c-struct 
from the private_data field.
   
   My point was that own allocations (like name) must go to private data, not 
sure if that was expressed clearly in my message. I'll create a draft PR to 
make it clearer. I can help contribute here but will probably need your 
guidelines for the with_name setters. 
   
   > Regarding the ArrowArray abstraction I'd need to check the implementation 
again (which we should clean up eventually), but I'm currently busy with the 
release procedure. Hopefully I can have a more thorough look at the issue after 
that.
   
   In the code and text above whenever I wrote ArrowArray I meant 
FFI_ArrowArray, I just used the spec name sorry for the confusion. I do agree 
that the ArrowArray abstraction is confusing and probably need to go away. The 
API should probably be similar to the bridge implementation in arrow cpp. This 
is more related to https://github.com/apache/arrow-rs/issues/596. 
   


-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to