haziqishere commented on code in PR #49926:
URL: https://github.com/apache/arrow/pull/49926#discussion_r3202750759


##########
python/pyarrow/_parquet.pyx:
##########
@@ -645,6 +649,22 @@ cdef class ColumnChunkMetaData(_Weakrefable):
         """Uncompressed size in bytes (int)."""
         return self.metadata.total_uncompressed_size()
 
+    @property
+    def bloom_filter_offset(self):
+        """Offset of bloom filter relative to beginning of the file (int or 
None)."""
+        cdef optional[int64_t] offset = self.metadata.bloom_filter_offset()
+        if offset.has_value():
+            return offset.value()
+        return None

Review Comment:
   Thanks for pointing that out. I simplified both bloom filter offset and 
length. Verfied on my end that it passed the test
   
   <img width="1025" height="237" alt="image" 
src="https://github.com/user-attachments/assets/67924ac9-7618-41e6-8c7a-536017673341";
 />
   



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