kevinwilfong requested code review of "
HIVE-2825 [jira] Concatenating a partition does not inherit location from table".
When merging a partition the location is recreated using the scheme and authority of the table's URI, so if the table's default dfs has changed, the partition's location will as well. As part of this I noticed that the auto stats gather configuration variable was being ignored for merge, so I added this as well.
When a table is created in one dfs, a partition is added to that table, the table's dfs is changed, and the partitioned is concatenated, the partitions location remains exactly the same. Instead, it should inherit its location from the table, and be updated accordingly.
See https://issues.apache.org/jira/browse/HIVE-1707 for an analogous change to insert overwrite.
MANAGE HERALD DIFFERENTIAL RULES
WHY DID I GET THIS EMAIL?
Tip: use the X-Herald-Rules header to filter Herald messages in your client.