@Test
public void testDateWithFormatter2() throws IOException {

  final boolean header = false;
  final char delimiter = ',';
  final boolean useSampling = true;
  CsvReadOptions options =
      CsvReadOptions.builder("../data/date_format_test.txt")
          .header(header)
          .separator(delimiter)
          .sample(useSampling)
          .dateFormat(DateTimeFormatter.ofPattern("yyyy.MM.dd"))
          .build();
  final Table table = Table.read().csv(options);
  DateColumn date = table.dateColumn(0);
  assertFalse(date.isEmpty());
}