Madhan Neethiraj created ATLAS-3825:
---------------------------------------

             Summary: import business metadata - incorrect attribute value 
assignement
                 Key: ATLAS-3825
                 URL: https://issues.apache.org/jira/browse/ATLAS-3825
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core
    Affects Versions: 2.1.0
            Reporter: Madhan Neethiraj
            Assignee: Madhan Neethiraj


Business metadata import to assign an attribute to multiple entities results in 
the last specified value to be applied to all entities, instead of values 
specified for individual entities. For example, setting business attributes on 
entities created by quick_start, with the following import contents, results in 
all entities to have test_businessMetadata.attr1=17 and 
test_businessMetadata.attr2=27.

 
{noformat}
EntityType,EntityUniqueAttributeValue,BusinessAttributeName,BusinessAttributeValue,EntityUniqueAttributeName[optional]
Table,customer_dim@cl1,test_businessMetadata.attr1,10
Table,customer_dim@cl1,test_businessMetadata.attr2,20
Table,log_fact_daily_mv@cl1,test_businessMetadata.attr1,11
Table,log_fact_daily_mv@cl1,test_businessMetadata.attr2,21
Table,logging_fact_monthly_mv@cl1,test_businessMetadata.attr1,12
Table,logging_fact_monthly_mv@cl1,test_businessMetadata.attr2,22
Table,product_dim@cl1,test_businessMetadata.attr1,13
Table,product_dim@cl1,test_businessMetadata.attr2,23
Table,sales_fact@cl1,test_businessMetadata.attr1,14
Table,sales_fact@cl1,test_businessMetadata.attr2,24
Table,sales_fact_daily_mv@cl1,test_businessMetadata.attr1,15
Table,sales_fact_daily_mv@cl1,test_businessMetadata.attr2,25
Table,sales_fact_monthly_mv@cl1,test_businessMetadata.attr1,16
Table,sales_fact_monthly_mv@cl1,test_businessMetadata.attr2,26
Table,time_dim@cl1,test_businessMetadata.attr1,17
Table,time_dim@cl1,test_businessMetadata.attr2,27
 {noformat}
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to