protected static String getPartition(String relative) {
    return getParent(relative);
  }
@Test
  public void testGetPartition() {
    assertEquals("year=2017/month=10",
        getPartition("year=2017/month=10/part-0000.avro"));
  }