mapleFU commented on code in PR #37400: URL: https://github.com/apache/arrow/pull/37400#discussion_r2057984560
########## cpp/src/parquet/column_writer.cc: ########## @@ -2363,12 +2390,153 @@ Status TypedColumnWriterImpl<FLBAType>::WriteArrowDense( return Status::OK(); } +template <typename DType> +void TypedColumnWriterImpl<DType>::UpdateBloomFilter(const T* values, + int64_t num_values) { + if (bloom_filter_) { + std::array<uint64_t, kHashBatchSize> hashes; + for (int64_t i = 0; i < num_values; i += kHashBatchSize) { + int64_t current_hash_batch_size = std::min(kHashBatchSize, num_values - i); + bloom_filter_->Hashes(values, static_cast<int>(current_hash_batch_size), Review Comment: It's ok for me -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org