@Test public void testDailyLate() throws Exception { HiveUnitUpdateProvider updateProvider = new DatePatternUpdateProvider(); Partition mockPartition = createMockPartitionWithLocation("/data/TestEvent/daily_late/2016/02/02"); Assert.assertEquals(updateProvider.getUpdateTime(mockPartition), EPOCH_2016_02_02); }
@Override public long getUpdateTime(Partition partition) throws UpdateNotFoundException { return parseDateForLocation(partition.getTPartition().getSd().getLocation()); }
DatePatternUpdateProvider implements HiveUnitUpdateProvider { @Override public long getUpdateTime(Partition partition) throws UpdateNotFoundException { return parseDateForLocation(partition.getTPartition().getSd().getLocation()); } }
DatePatternUpdateProvider implements HiveUnitUpdateProvider { @Override public long getUpdateTime(Partition partition) throws UpdateNotFoundException { return parseDateForLocation(partition.getTPartition().getSd().getLocation()); }  }
DatePatternUpdateProvider implements HiveUnitUpdateProvider { @Override public long getUpdateTime(Partition partition) throws UpdateNotFoundException { return parseDateForLocation(partition.getTPartition().getSd().getLocation()); }  @Override long getUpdateTime(Partition partition); @Override long getUpdateTime(Table table); }
DatePatternUpdateProvider implements HiveUnitUpdateProvider { @Override public long getUpdateTime(Partition partition) throws UpdateNotFoundException { return parseDateForLocation(partition.getTPartition().getSd().getLocation()); }  @Override long getUpdateTime(Partition partition); @Override long getUpdateTime(Table table);  }