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 .