[
https://issues.apache.org/jira/browse/ATLAS-4303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17352067#comment-17352067
]
ASF subversion and git services commented on ATLAS-4303:
--------------------------------------------------------
Commit 51f483cb4232727105beacf0785e0ac3e1a444c0 in atlas's branch
refs/heads/branch-2.0 from Radhika Kundam
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=51f483c ]
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 <[email protected]>
(cherry picked from commit 3bdc51ea1e1ed463f8c2c35c8bfc1fbb4b792cab)
> [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)