paleolimbot commented on code in PR #456:
URL: https://github.com/apache/arrow-nanoarrow/pull/456#discussion_r1594233522
##########
python/src/nanoarrow/_lib.pyx:
##########
@@ -2921,6 +2972,32 @@ cdef class CMaterializedArrayStream:
out._finalize()
return out
+ @staticmethod
+ def from_c_arrays(arrays, CSchema schema, bint validate=True):
+ cdef CMaterializedArrayStream out = CMaterializedArrayStream()
+
+ cdef CArray array
+ for item in arrays:
+ array = item
+
+ if array._ptr.length == 0:
Review Comment:
This was a bit of a rabbit hole but should have been added a long time ago!
--
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]