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

Dharshana M Krishnamoorthy resolved ATLAS-4289.
-----------------------------------------------
    Resolution: Invalid

Used an incorrect xls input which created the chaos. Closing this.

> [Atlas: Glossary Term Bulk Import] [regression]Bulk import broken for 
> xls/xlsx input when it refers to the term created as a part of the same import
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-4289
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4289
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>            Reporter: Dharshana M Krishnamoorthy
>            Priority: Major
>         Attachments: xls_input.xls, xlsx_input.xlsx
>
>
> [^xls_input.xls] [^xlsx_input.xlsx]
> While performing import with the provided input, there should be no failure 
> and all data should have proper relationship. 
> This was working fine before.
> Currently, seeing a failure while importing xlsx:
> {code:java}
> {
>   "failedImportInfoList": [
>     {
>       "parentObjectName": "xlsx_input_glossary_2",
>       "childObjectName": "term_2",
>       "importStatus": "FAILED",
>       "remarks": "The provided Reference 0%@termAttribute does not exist at 
> Atlas referred at record with TermName  : term_2 and GlossaryName : 
> xlsx_input_glossary_2"
>     }
>   ],
>   "successImportInfoList": [
>     {
>       "parentObjectName": "xlsx_input_glossary_1",
>       "childObjectName": "term_1",
>       "importStatus": "SUCCESS",
>       "remarks": 
> "{\"termGuid\":\"19b8fec2-9061-4234-9504-e716da735275\",\"qualifiedName\":\"term_1@xlsx_input_glossary_1\"}"
>     },
>     {
>       "parentObjectName": "xlsx_input_glossary_2",
>       "childObjectName": "term_2",
>       "importStatus": "SUCCESS",
>       "remarks": 
> "{\"termGuid\":\"7bf0dfb2-15d8-49ab-9e4f-d07f4ecb8dc6\",\"qualifiedName\":\"term_2@xlsx_input_glossary_2\"}"
>     }
>   ]
> } {code}
> Importing xls:
> {code:java}
> {
>   "failedImportInfoList": [
>     {
>       "parentObjectName": "xls_input_glossary_2",
>       "childObjectName": "term_2",
>       "importStatus": "FAILED",
>       "remarks": "The provided Reference 0%@termAttribute does not exist at 
> Atlas referred at record with TermName  : term_2 and GlossaryName : 
> xls_input_glossary_2"
>     }
>   ],
>   "successImportInfoList": [
>     {
>       "parentObjectName": "xls_input_glossary_1",
>       "childObjectName": "term_1",
>       "importStatus": "SUCCESS",
>       "remarks": 
> "{\"termGuid\":\"c6487c38-f45e-4897-9a86-ea84d3b706a6\",\"qualifiedName\":\"term_1@xls_input_glossary_1\"}"
>     },
>     {
>       "parentObjectName": "xls_input_glossary_2",
>       "childObjectName": "term_2",
>       "importStatus": "SUCCESS",
>       "remarks": 
> "{\"termGuid\":\"44c6838b-cfe6-43ac-998f-c609bbec53ee\",\"qualifiedName\":\"term_2@xls_input_glossary_2\"}"
>     }
>   ]
> } {code}
> Also, please note the 0%0%@termAttribute in the remarks of the failed message



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

Reply via email to