@Override
  public boolean hasFooter() {
    switch (super.getVersion()) {
      case DEFAULT_VERSION:
        return false;
      case 1:
        return true;
      default:
        return false;
    }
  }
@Test
  public void testHasFooter() {
    assertFalse(verDefault.hasFooter());
    assertTrue(verCurrent.hasFooter());

    HoodieLogFormatVersion verNew =  
            new HoodieLogFormatVersion(HoodieLogFormat.CURRENT_VERSION + 1);
    assertFalse(verNew.hasFooter());
  }