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 <sa...@apache.org> on 2021/04/09 22:37:39 UTC
Re: Review Request 73275: ATLAS-4179 : [Atlas: Glossary Term Bulk
Import]
Incorrect error message when only dependent term is not present in bulk
import
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/73275/#review222798
-----------------------------------------------------------
Ship it!
Ship It!
- Sarath Subramanian
On April 9, 2021, 2:26 a.m., chaitali wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/73275/
> -----------------------------------------------------------
>
> (Updated April 9, 2021, 2:26 a.m.)
>
>
> Review request for atlas, Jayendra Parab and Nixon Rodrigues.
>
>
> Bugs: ATLAS-4179
> https://issues.apache.org/jira/browse/ATLAS-4179
>
>
> Repository: atlas
>
>
> Description
> -------
>
> glossary_rb,term_1,"short description","long description", "Example", "G1", "Usage",,,,,,,,,,,,,,"gloss_1:term_2"
> Consider the above input, say gloss_1 is present but term term_2 is not present, error message conveys, that both glossary and term are not present
>
> Error message:
>
> {"errorCode":"ATLAS-500-00-001",
> "errorMessage":"The uploaded file has not been processed due to the following errors : \n[\nThe provided Reference Glossary and TermName does not exist in the system term_2:gloss_1 for record with TermName : term_1 and GlossaryName : glossary_rb]"}
>
> Added "@" eg; term2@gloss1 to avoid confusion as there can be two term2 under two different glossary names.
>
>
> Diffs
> -----
>
> repository/src/main/java/org/apache/atlas/glossary/GlossaryTermUtils.java 0871ab591
>
>
> Diff: https://reviews.apache.org/r/73275/diff/1/
>
>
> Testing
> -------
>
> After applying patch following errror message:
>
> The provided Reference Glossary and TermName does not exist in the system termBulkImport_a@glossaryBulkImport_1 for record with TermName : term_1 and GlossaryName : glossaryBulkImport_1,
> The provided Reference Glossary and TermName does not exist in the system termBulkImport_1@glossaryBulkImport_2 for record with TermName : term_1 and GlossaryName : glossaryBulkImport_2,
> The provided Reference Glossary and TermName does not exist in the system termBulkImport_2@glossaryBulkImport_2 for record with TermName : term_2 and GlossaryName : glossaryBulkImport_2]
>
>
> Thanks,
>
> chaitali
>
>