gaodayue commented on a change in pull request #1705: Limit V2 segment file row
count (#1647)
URL: https://github.com/apache/incubator-doris/pull/1705#discussion_r318366011
##########
File path: be/src/olap/rowset/segment_v2/segment_writer.h
##########
@@ -82,6 +84,7 @@ class SegmentWriter {
std::unique_ptr<WritableFile> _output_file;
std::vector<ColumnWriter*> _column_writers;
uint64_t _row_count = 0;
+ const int32_t MAX_ROW_COUNT = INT_MAX;
Review comment:
INT_MAX is not the same on different platforms, better to use INT32_MAX.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]