Skip to content

Commit

Permalink
Update cpp/src/parquet/column_writer.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
mapleFU authored Mar 26, 2024
1 parent add1afd commit 371b135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/parquet/column_writer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2482,7 +2482,7 @@ void UpdateBinaryBloomFilter(BloomFilter* bloom_filter, const ArrayType& array)
std::array<uint64_t, kBinaryHashBatchSize> hashes;
int hashes_idx = 0;
auto flush_hashes = [&]() {
DCHECK(hashes_idx != 0);
DCHECK_NE(0, hashes_idx);
bloom_filter->Hashes(byte_arrays.data(), static_cast<int>(hashes_idx), hashes.data());
bloom_filter->InsertHashes(hashes.data(), static_cast<int>(hashes_idx));
hashes_idx = 0;
Expand Down

0 comments on commit 371b135

Please sign in to comment.