table.addColumn(new ColumnDescription("dateCol", ValueType.DATE, "dateCol"));
table.addColumn(new ColumnDescription("numberCol", ValueType.NUMBER, "numberCol"));
table.addColumn(new ColumnDescription("timeOfDayCol", ValueType.TIMEOFDAY, "timeOfDayCol"));
table.addColumn(new ColumnDescription("dateTimeCol", ValueType.DATETIME, "dateTimeCol"));
TableRow row = new TableRow();
row.addCell(new TableCell(new DateValue(2008, 5, 3)));
row.addCell(new TableCell(new NumberValue(23)));
row.addCell(new TableCell(new TimeOfDayValue(13, 12, 11)));
row.addCell(new TableCell(new DateTimeValue(2007, 3, 4, 2, 6, 23, 120)));
// Check date value.
List<AbstractColumn> columns =
Lists.newArrayList((AbstractColumn) new SimpleColumn("dateCol"));
ScalarFunctionColumn sfc =