You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Radhika Kundam (Jira)" <ji...@apache.org> on 2021/05/26 17:42:00 UTC

[jira] [Assigned] (ATLAS-4303) [Business Metadata Bulk Import] Incorrect Error "invalid business attribute name" thrown while trying to assign BM attribute to non-applicable type

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

Radhika Kundam reassigned ATLAS-4303:
-------------------------------------

    Assignee: Radhika Kundam

> [Business Metadata Bulk Import] Incorrect Error "invalid business attribute name" thrown while trying to assign BM attribute to non-applicable type
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-4303
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4303
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>            Reporter: Umesh Padashetty
>            Assignee: Radhika Kundam
>            Priority: Major
>
> While trying to Bulk Import Business Metadata, a row in the file where we try to assign Business Metadata attribute to a non-applicable entity type, BM import throws "invalid business attribute name" 
> This Error message is misleading since the BM attribute name is correct, but it is just that it is not applicable to the type which the user has specified.
> On similar lines, we have handled this case in 2 ways in the Entity > Business Metadata attribute association
>  # We only show the applicable Business Metadata attributes types in the drop-down
>  # And via the API, if the user tries to assign a Business Metadata attribute to a non-applicable type, the API throws the ERROR 
>  ## 
> {code:java}
> Invalid instance creation/updation parameters passed : Test BM 2: invalid business-metadata for entity type hive_table {code}
> We need to throw a similar error in the Business Metadata Bulk Import too, else the error message for sure leads to confusion 



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