Daniel Becker has uploaded a new patch set (#2). ( http://gerrit.cloudera.org:8080/19137 )
Change subject: IMPALA-11581: ALTER TABLE RENAME TO doesn't update transient_lastDdlTime ...................................................................... IMPALA-11581: ALTER TABLE RENAME TO doesn't update transient_lastDdlTime The following statements behave differently when executed via Hive or Impala: CREATE TABLE rename_from (i int); ALTER TABLE rename_from RENAME TO rename_to; Hive updates transient_lastDdlTime while Impala leaves it unchanged. This patch fixes the behaviour of Impala so that it also updates transient_lastDdlTime. Testing: - Added a test in test_last_ddl_time_update.py that checks that transient_lastDdlTime is updated on rename. Refactored the class a bit so that the new test fits in easier. Change-Id: Ib550feaebbad9cf6c9b34ab046293968b157a50c --- M fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java M tests/metadata/test_last_ddl_time_update.py 2 files changed, 77 insertions(+), 41 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/37/19137/2 -- To view, visit http://gerrit.cloudera.org:8080/19137 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: Ib550feaebbad9cf6c9b34ab046293968b157a50c Gerrit-Change-Number: 19137 Gerrit-PatchSet: 2 Gerrit-Owner: Daniel Becker <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Peter Rozsa <[email protected]> Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>
