----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/53110/ -----------------------------------------------------------
Review request for hive. Bugs: HIVE-14909 https://issues.apache.org/jira/browse/HIVE-14909 Repository: hive-git Description ------- Since Hive supports the DDL like: create table foo (key int) location 'path_to_location' to create a managed table by specifying its location rather than that under its database. So table rename should respect this specified location, and not change its location or move its data. Its location should be change using a different command 'alter table .. set location ...' instead. Diffs ----- metastore/src/java/org/apache/hadoop/hive/metastore/HiveAlterHandler.java 7b8459556f54ad8d6e38526796c2ca0c48525cfb ql/src/test/queries/clientpositive/encryption_move_tbl.q a25d9554f8c855f0266f888fbe76b6b5bcad82f7 ql/src/test/results/clientpositive/encrypted/encryption_move_tbl.q.out 910ce25572b6c7ccaa112fbf098c561ec54d1630 Diff: https://reviews.apache.org/r/53110/diff/ Testing ------- Unit tests Manaual tests Thanks, Chaoyu Tang