compare the raw locations without schema and authority . this is useful since existing tables/partitions in the hive metastore have absolute paths in the location property , but the new table/partition may have a raw path . concode_field_sep HiveRegistrationUnit newUnit concode_elem_sep HiveRegistrationUnit existingUnit concode_elem_sep boolean result concode_field_sep boolean result concode_elem_sep T compareIsStoredAsSubDirs concode_elem_sep void compare concode_elem_sep T compareIsCompressed concode_elem_sep T compareBucketCols concode_elem_sep T compareAll concode_elem_sep void checkExistingIsSuperset concode_elem_sep T compareNumBuckets concode_elem_sep T compareParameters concode_elem_sep T compareInputFormat concode_elem_sep void checkExistingIsSuperstate concode_elem_sep T compareOutputFormat
T function ( ) { if ( ! this . result ) { this . result |= ( ! new Path ( this . existingUnit . getLocation ( ) . get ( ) ) . toUri ( ) . getRawPath ( ) . equals ( new Path ( this . newUnit . getLocation ( ) . get ( ) ) . toUri ( ) . getRawPath ( ) ) ) ; } return ( T ) this ; }