Fokko commented on code in PR #36846:
URL: https://github.com/apache/arrow/pull/36846#discussion_r1307193186


##########
python/pyarrow/types.pxi:
##########
@@ -2014,6 +2014,48 @@ cpdef KeyValueMetadata ensure_metadata(object meta, 
c_bool allow_none=False):
         return KeyValueMetadata(meta)
 
 
+cdef class FieldMergeOptions(_Weakrefable):
+    """
+    Options controlling how to merge the types of two fields.
+
+    By default, types must match exactly, except the null type can be
+    merged with any other type.
+
+    """
+
+    cdef:
+        CField.CMergeOptions c_options
+
+    __slots__ = ()
+
+    def __init__(self, *):
+        self.c_options = CField.CMergeOptions.Defaults()

Review Comment:
   I don't know if anyone would use the fine-grained options. Keep in mind that 
the `concat_tables` will try to match the schema of the first table, so a user 
could also cast the columns there. For PyIceberg I'll project the requested 
schema with an empty table, and then concatenate all the tables with data.



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