if (index != null) {
if ((rowNumber % 37) == 0) {
assertNull(row.getField(index));
}
else {
SqlDate expected = new SqlDate(new DateTime(2013, 8, 9, 0, 0, 0, DateTimeZone.UTC).getMillis(), UTC_KEY);
assertEquals(row.getField(index), expected);
}
}
/* TODO: enable these tests when the types are supported