[ https://issues.apache.org/jira/browse/ATLAS-4135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17288965#comment-17288965 ]
ASF subversion and git services commented on ATLAS-4135: -------------------------------------------------------- Commit 3084ed1865c5b5aa788ec8d9be998fac1721784b in atlas's branch refs/heads/branch-2.0 from Mandar Ambawane [ https://gitbox.apache.org/repos/asf?p=atlas.git;h=3084ed1 ] ATLAS-4135 [Atlas: Glossary Term Bulk Import] It will be good to ignore the glossaries and terms that are already present instead of failing the bulk import. ATLAS-4139 [Atlas: Glossary Term Bulk Import] When AdditionalAttributes is not provided in key:value format, the error message does not convey that. (cherry picked from commit 5d0eba4e7a92afd11fd47f47d7352a976af430e0) > [Atlas: Glossary Term Bulk Import] It will be good to ignore the glossaries > and terms that are already present instead of failing the bulk import > ------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: ATLAS-4135 > URL: https://issues.apache.org/jira/browse/ATLAS-4135 > Project: Atlas > Issue Type: Improvement > Components: atlas-core > Reporter: Dharshana M Krishnamoorthy > Assignee: Mandar Ambawane > Priority: Major > Attachments: ATLAS-4135-ATLAS-4139.patch, Screenshot 2021-02-04 at > 7.06.56 PM.png > > > Consider the following scenario: > Already available glossaries and terms: > glossary_1 ==> term_1 > glossary_1 ==> term_2 > glossary_2 ==> term_1 > glossary_2 ==> term_2 > > Now if the user is performing a bulk import and if glossary_1 ==> term_1 is > part of the input, currently the call fails. > {code:java} > {errorCode: "ATLAS-500-00-016", errorMessage: "Error occurred while creating > glossary term: {0}",…}errorCause: "Glossary term with qualifiedName > term_1@aglossary_01 already exists"errorCode: "ATLAS-500-00-016"errorMessage: > "Error occurred while creating glossary term: {0}" {code} > Expectation: > If it already exists, then just update the other field values eg, long > description and the linked terms and do not fail > -- This message was sent by Atlassian Jira (v8.3.4#803005)