private boolean tableHasAppendsOnly(
      HiveStorageHandler storageHandler, Table table, MaterializationSnapshot mvSnapshot) {
    for (SnapshotContext snapshot : storageHandler.getSnapshotContexts(
        table, mvSnapshot.getTableSnapshots().get(table.getFullyQualifiedName()))) {
      if (!SnapshotContext.WriteOperationType.APPEND.equals(snapshot.getOperation())) {
        return false;
      }
    }
    return true;
  }
Validate that the materialized views retrieved from registry are still up-to-date.
For those that are not, the method loads them from the metastore into the registry.

@return true if they are up-to-date, otherwise false
@throws HiveException
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java