public void invalid_record_number() throws Exception {
shouldSemanticError("invalid_record_number");
}
private String[][] parse(int columns, String string) {
CsvConfiguration conf = new CsvConfiguration(
CsvConfiguration.DEFAULT_CHARSET,
CsvConfiguration.DEFAULT_HEADER_CELLS,
CsvConfiguration.DEFAULT_TRUE_FORMAT,
CsvConfiguration.DEFAULT_FALSE_FORMAT,
CsvConfiguration.DEFAULT_DATE_FORMAT,
CsvConfiguration.DEFAULT_DATE_TIME_FORMAT);
ByteArrayInputStream input = new ByteArrayInputStream(string.getBytes(conf.getCharset()));
CsvParser parser = new CsvParser(input, string, conf);
List<String[]> results = Lists.create();
try {
StringOption buffer = new StringOption();
while (parser.next()) {