RoseZhang123 opened a new issue, #8727: URL: https://github.com/apache/arrow-rs/issues/8727
**Which part is this question about** <!-- Is it code base, library api, documentation or some other part? --> https://github.com/apache/arrow-rs/blob/55.2.0/parquet/src/bloom_filter/mod.rs **Describe your question** <!-- A clear and concise description of what the question is. --> Hi team! I’d love to reuse the existing Split Block Bloom Filter implementation in parquet to back a byte-level cache in a downstream service of our team. The problem is that the two helpers that convert between raw bitsets and Sbbf instances are pub(crate), so external crates can’t create an Sbbf from bytes or emit its bytes without re-implementing your logic. Would you be open to relaxing the visibility and making the following methods pub (without changing their signatures)? `pub(crate) fn new(bitset: &[u8]) -> Self;` `pub(crate) fn write<W: Write>(&self, mut writer: W) -> Result<(), ParquetError>` That would let us deserialize SBBFs straight from storage and re-serialize them after caching, while reusing the canonical implementation from this crate. Thanks, **Additional context** <!-- Add any other context about the problem here. --> -- 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]
