hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveMetastoreUtil.java
public static boolean isSchemaChangeRecord(Record metadataRecord) {
    return MetadataRecordType.TABLE.name().equals(metadataRecord.get(SEP + METADATA_RECORD_TYPE).getValueAsString());
  }
public static boolean isSchemaChangeRecord(Record metadataRecord) {
    return MetadataRecordType.TABLE.name().equals(metadataRecord.get(SEP + METADATA_RECORD_TYPE).getValueAsString());
  }
Returns true if this is a TABLE metadata request (new or changed table).

@param metadataRecord the metadata record
@return boolean true or false indicating whether this metadata record is schema change / partition roll record.