pitrou commented on code in PR #45549:
URL: https://github.com/apache/arrow/pull/45549#discussion_r1963261245


##########
python/pyarrow/_parquet.pyx:
##########
@@ -739,6 +749,9 @@ cdef class SortingColumn:
 cdef class RowGroupMetaData(_Weakrefable):
     """Metadata for a single row group."""
 
+    def __init__(self):
+        raise TypeError(f"Can't instantiate internal class 
{self.__class__.__name__}")
+
     def __cinit__(self, FileMetaData parent, int index):
         if index < 0 or index >= parent.num_row_groups:
             raise IndexError('{0} out of bounds'.format(index))

Review Comment:
   Ok, I think we can just revert the `RowGroupMetadata`-related changes and 
keep the rest of the PR.



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