orc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rip-nsk <...@git.apache.org>
Subject [GitHub] orc pull request #212: ORC-293: [C++] Fix RleEncoderV1 for case when sizeof(...
Date Fri, 19 Jan 2018 23:19:02 GMT
Github user rip-nsk commented on a diff in the pull request:

    https://github.com/apache/orc/pull/212#discussion_r162755501
  
    --- Diff: c++/src/RLEv1.cc ---
    @@ -169,11 +169,11 @@ void RleEncoderV1::writeVslong(int64_t val) {
     
     void RleEncoderV1::writeVulong(int64_t val) {
       while (true) {
    -    if ((val & ~0x7f) == 0) {
    +    if ((val & ~BASE_128_MASK) == 0) {
    --- End diff --
    
    It is added to match code in RleDecoderV1::readLong


---

Mime
View raw message