public static InsertEvent getLastEvent() {
      if (notifyList.isEmpty()) {
        return null;
      } else {
        return notifyList.get(notifyList.size() - 1);
      }
    }
Test that tables set up with auto-purge skip trash-directory when tables/partitions are dropped.
@throws Throwable
ql/src/test/org/apache/hadoop/hive/ql/metadata/TestHive.java