@Test
public void testReadCsvWithRowSamplingParsingNumbers() throws IOException {

  StringBuilder csv = new StringBuilder();
  csv.append("RandomNumbers\n");
  Set<Integer> values =
      new TreeSet<>(
          asList(
              24323, 542345, 64323, 73640, 38453, 12735, 93456, 23457, 483075, 469364, 473936));
  values.forEach(v -> csv.append(v + "\n"));
  Reader reader = new StringReader(csv.toString());
  int expectedSampleSize = 5;
  Table t = Table.read().csv(CsvReadOptions.builder(reader).sampleSize(expectedSampleSize));
  assertEquals(1, t.columnCount());
  assertEquals(expectedSampleSize, t.rowCount());
  assertEquals(INTEGER, t.column(0).type());
  List<Integer> intValues = t.intColumn(0).asList();
  assertEquals(true, values.containsAll(intValues));
}