[
https://issues.apache.org/jira/browse/IMPALA-9095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anurag Mantripragada updated IMPALA-9095:
-----------------------------------------
Description:
Alter table renames was recently refactored. This introduced a bug where rename
to a different database is not applied correctly.
Steps to reproduce:
>From Hive:
{code:java}
create database bug1;
create table bug1.foo (id int);
create database bug2;
alter table bug1.foo rename to bug2.foo;{code}
>From Impala:
{code:java}
use bug2;
show tables;{code}
Expect foo to show up in bug2, it doesn't.
was:
Alter table renames was recently refactored. This introduced a bug where rename
to a different database is not applied correctly.
> Alter table events generated by renames are not renaming the table to a
> different DB.
> -------------------------------------------------------------------------------------
>
> Key: IMPALA-9095
> URL: https://issues.apache.org/jira/browse/IMPALA-9095
> Project: IMPALA
> Issue Type: Bug
> Components: Frontend
> Reporter: Anurag Mantripragada
> Assignee: Anurag Mantripragada
> Priority: Critical
>
> Alter table renames was recently refactored. This introduced a bug where
> rename to a different database is not applied correctly.
> Steps to reproduce:
> From Hive:
> {code:java}
> create database bug1;
> create table bug1.foo (id int);
> create database bug2;
> alter table bug1.foo rename to bug2.foo;{code}
>
> From Impala:
> {code:java}
> use bug2;
> show tables;{code}
>
> Expect foo to show up in bug2, it doesn't.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]