wangbo commented on code in PR #8855: URL: https://github.com/apache/incubator-doris/pull/8855#discussion_r849447666
########## be/src/olap/rowset/bit_field_reader.cpp: ########## @@ -72,23 +72,23 @@ OLAPStatus BitFieldReader::next(char* value) { *value = (_current >> _bits_left) & 0x01; - return OLAP_SUCCESS; + return Status::OK(); } -OLAPStatus BitFieldReader::seek(PositionProvider* position) { - OLAPStatus res = OLAP_SUCCESS; +Status BitFieldReader::seek(PositionProvider* position) { + Status res = Status::OK(); - if (OLAP_SUCCESS != (res = _byte_reader->seek(position))) { + if (!(res = _byte_reader->seek(position))) { Review Comment: ```suggestion if (_byte_reader->seek(position) != res) { ``` -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org