public static String getLocation ( Record metadataRecord ) throws HiveStageCheckedException { if ( metadataRecord . has ( SEP + LOCATION_FIELD ) ) { return metadataRecord . get ( SEP + LOCATION_FIELD ) . getValueAsString ( ) ; } throw new HiveStageCheckedException ( Errors . HIVE_17 , LOCATION_FIELD , metadataRecord ) ; }
Get Location from the metadata record .