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


##########
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:
   looks like the workflow failed after the changes. I suspect native optional 
conversion still needs explicit type declaration. I've reverted back to original



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