You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Sarath Subramanian (Jira)" <ji...@apache.org> on 2019/08/19 21:59:00 UTC

[jira] [Updated] (ATLAS-3380) Regression: After moving a table to a different database , db attribute in the table entity still points to the old db.

     [ https://issues.apache.org/jira/browse/ATLAS-3380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sarath Subramanian updated ATLAS-3380:
--------------------------------------
    Description: 
Hive commands:

1.create database db1;

2.create table table1(id int);

3.alter table table1 rename to db1.table2;

 

In table2's entity definition , db attribute is still pointing to default db , expected is db1. Other attributes like qualifiedName , sd's qualifiedName are pointing to db1 correctly.

  was:
Hive commands:

1.create database db1;

2.create table table1(id int);

3.alter table table1 rename to db1.table2;

 

In table2's entity definition , db attribute is still pointing to default db , expected is db1. Other attributes like qualifiedName , sd's qualifiedName are pointing to db1 correctly.

Attaching the screenshot. 


> Regression: After moving a table to a different database , db attribute in the table entity still points to the old db.
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-3380
>                 URL: https://issues.apache.org/jira/browse/ATLAS-3380
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 2.0.0
>            Reporter: Sarath Subramanian
>            Assignee: Sarath Subramanian
>            Priority: Major
>             Fix For: 2.1.0
>
>
> Hive commands:
> 1.create database db1;
> 2.create table table1(id int);
> 3.alter table table1 rename to db1.table2;
>  
> In table2's entity definition , db attribute is still pointing to default db , expected is db1. Other attributes like qualifiedName , sd's qualifiedName are pointing to db1 correctly.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)