This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/orc.git


The following commit(s) were added to refs/heads/master by this push:
     new 0477201  Revert "MINOR: Update ORCv1.md: Fix documentation about 
bitset in bloom filter section (#670)"
0477201 is described below

commit 04772011cc45dae8e182676665d6c2d4d9cbf671
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Fri Mar 26 00:22:23 2021 -0700

    Revert "MINOR: Update ORCv1.md: Fix documentation about bitset in bloom 
filter section (#670)"
    
    This reverts commit d7814a8a2d1600fc3856076eaf0617f7456e3af8.
---
 site/specification/ORCv1.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/site/specification/ORCv1.md b/site/specification/ORCv1.md
index 3e7165e..d4cdbc5 100644
--- a/site/specification/ORCv1.md
+++ b/site/specification/ORCv1.md
@@ -1297,7 +1297,7 @@ in a bloom filter is as follows:
   * position = combinedHash % m
 6. Set the position in bit set. The LSB 6 bits identifies the long index
    within bitset and bit position within the long uses little endian order.
-  * bitset[position >> 6] \|= (1L << (position % 64));
+  * bitset[position >>> 6] \|= (1L << position);
 
 Bloom filter streams are interlaced with row group indexes. This placement
 makes it convenient to read the bloom filter stream and row index stream

Reply via email to