private String getValue(String[] vals, int index) {
        return (index == -1 || Strings.isEmpty(vals[index])) ? "" : vals[index];
    }
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