@Override
                public DPSegment gen() throws IOException {
                    segment.seal();
                    return segment;
                }
TODO handle the case when row number is larger then {@link StorageSegment#MAX_ROW_COUNT}.
indexr-server/src/main/java/io/indexr/tool/CSVSegmentLoader.java