You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Sarath Subramanian (Jira)" <ji...@apache.org> on 2021/03/31 19:21:01 UTC

[jira] [Resolved] (ATLAS-4129) [Atlas: Glossary Term Bulk Import] Only glossaries are created when there is faulty input in one of the rows during bulk import of glossaries

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

Sarath Subramanian resolved ATLAS-4129.
---------------------------------------
    Resolution: Fixed

> [Atlas: Glossary Term Bulk Import] Only glossaries are created when there is faulty input in one of the rows during bulk import of glossaries
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-4129
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4129
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 2.1.0
>            Reporter: Dharshana M Krishnamoorthy
>            Assignee: Mayank Jain
>            Priority: Major
>              Labels: bulk-glossary-import
>             Fix For: 3.0.0, 2.2.0
>
>         Attachments: Screenshot 2021-01-28 at 11.46.10 AM.png
>
>
> While importing bulk glossaries via bulk import feature, if one of the rows has a fault, it throws exception and creates only glossary names for the rest of the input.
> Consider the following input
> {code:java}
> GlossaryName, TermName, ShortDescription, LongDescription, Examples, Abbreviation, Usage, AdditionalAttributes, TranslationTerms, ValidValuesFor, Synonyms, ReplacedBy, ValidValues, ReplacementTerms, SeeAlso, TranslatedTerms, IsA, Antonyms, Classifies, PreferredToTerms, PreferredTerms
> gloss_1,term_1
> gloss_1,term_1
> gloss_2,term_2
> gloss_3,term_3
> {code}
> Here we are creating gloss_1 and term_1 twice.
> The first time succeeds, the second time it throws the right exception as follows
> {code:java}
>  {"errorCode":"ATLAS-500-00-016", "errorMessage":"Error occurred while creating glossary term: \{0}
> ",
> "errorCause":"Glossary term with qualifiedName term_1@gloss_1 already exists"}{code}
>  
> But for the remaining rows, it creates only the glossaries without creating the terms



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