paleolimbot commented on code in PR #431:
URL: https://github.com/apache/arrow-nanoarrow/pull/431#discussion_r1581712390


##########
python/src/nanoarrow/_lib.pyx:
##########
@@ -967,10 +989,50 @@ cdef class CSchemaBuilder:
         if self._ptr.release == NULL:
             ArrowSchemaInit(self._ptr)
 
+    @staticmethod
+    def copy_existing(CSchema existing_schema):
+        return CSchemaBuilder(existing_schema.__deepcopy__())
+
     @staticmethod
     def allocate():
         return CSchemaBuilder(CSchema.allocate())
 
+    def clear_metadata(self):

Review Comment:
   At this level of abstraction it would be hard (since it is basically 
wrapping a single C API call) but I agree that it would be a better interface!



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