kangpinghuang commented on a change in pull request #1341: Add plain page URL: https://github.com/apache/incubator-doris/pull/1341#discussion_r295875490
########## File path: be/src/olap/rowset/segment_v2/plain_page.h ########## @@ -0,0 +1,170 @@ +#pragma once + +#include "util/coding.h" +#include "util/faststring.h" +#include "olap/olap_common.h" +#include "olap/types.h" +#include "olap/rowset/segment_v2/page_builder.h" +#include "olap/rowset/segment_v2/page_decoder.h" +#include "olap/rowset/segment_v2/options.h" + +namespace doris { + +namespace segment_v2 { + +static const size_t plainPageHeaderSize = sizeof(uint32_t) * 2; Review comment: ```suggestion static const size_t PLAIN_PAGE_HEADER_SIZE = sizeof(uint32_t) * 2; ``` ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@doris.apache.org For additional commands, e-mail: dev-h...@doris.apache.org