@Test
public void testEmptyDate() {

  PartitionSpec spec = new PartitionSpec("test", Collections.emptyList(), Interpreter.SECONDS,
      "YYYY-MM-dd HH:mm:ss", 0);
  assertEquals(null, spec.interpret(""));
  assertEquals(null, spec.interpret(null));
}