You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/05/26 20:44:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17352065#comment-17352065 ] 

ASF subversion and git services commented on ATLAS-4303:
--------------------------------------------------------

Commit 3bdc51ea1e1ed463f8c2c35c8bfc1fbb4b792cab in atlas's branch refs/heads/master from Radhika Kundam
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=3bdc51e ]

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

Signed-off-by: sidmishra <si...@apache.org>


> [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)