hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveMetastoreUtil.java
public static String getTableName(Record metadataRecord) throws HiveStageCheckedException {
    if (metadataRecord.has(SEP + TABLE_FIELD)) {
      return metadataRecord.get(SEP + TABLE_FIELD).getValueAsString();
    }
    throw new HiveStageCheckedException(Errors.HIVE_17, TABLE_FIELD, metadataRecord);
  }
public static String getTableName(Record metadataRecord) throws HiveStageCheckedException {
    if (metadataRecord.has(SEP + TABLE_FIELD)) {
      return metadataRecord.get(SEP + TABLE_FIELD).getValueAsString();
    }
    throw new HiveStageCheckedException(Errors.HIVE_17, TABLE_FIELD, metadataRecord);
  }
Get Table Name from the metadata record.
@param metadataRecord the metadata record
@return Table Name
@throws HiveStageCheckedException if the table field does not exist in the metadata record.