hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveMetastoreUtil.java
public static boolean getInternalField(Record metadataRecord) throws HiveStageCheckedException{
    if (metadataRecord.has(SEP + INTERNAL_FIELD)) {
      return metadataRecord.get(SEP + INTERNAL_FIELD).getValueAsBoolean();
    }
    throw new HiveStageCheckedException(Errors.HIVE_17, INTERNAL_FIELD, metadataRecord);
  }
public static boolean getInternalField(Record metadataRecord) throws HiveStageCheckedException{
    if (metadataRecord.has(SEP + INTERNAL_FIELD)) {
      return metadataRecord.get(SEP + INTERNAL_FIELD).getValueAsBoolean();
    }
    throw new HiveStageCheckedException(Errors.HIVE_17, INTERNAL_FIELD, metadataRecord);
  }
Get internal field from the metadata record.
@param metadataRecord the metadata record
@return internal field value
@throws HiveStageCheckedException if the internal field does not exist in the metadata record.