aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/apache/arrow/cpp/src/parquet/README
blob: 326bd7253f4b32b7daa0ca31a2b047a834c9127e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
The CompatibilityTest of bloom_filter-test.cc is used to test cross compatibility of 
Bloom filters between parquet-mr and parquet-cpp. It reads the Bloom filter binary 
generated by the Bloom filter class in the parquet-mr project and tests whether the 
values inserted before could be filtered or not. 
 
The Bloom filter binary is generated by three steps from Parquet-mr: 
Step 1: Construct a Bloom filter with 1024 bytes of bitset. 
Step 2: Insert hashes of "hello", "parquet", "bloom", "filter" strings to Bloom filter 
by calling hash and insert APIs. 
Step 3: Call writeTo API to write to File.