Umesh Padashetty created ATLAS-4726:
---------------------------------------

             Summary: Irregular "Error Details" format when there is an Error 
in Bulk Import Business Metadata  
                 Key: ATLAS-4726
                 URL: https://issues.apache.org/jira/browse/ATLAS-4726
             Project: Atlas
          Issue Type: Bug
            Reporter: Umesh Padashetty
         Attachments: Screenshot 2023-01-17 at 10.30.22 PM.png, Screenshot 
2023-01-17 at 10.31.13 PM.png

Attached screenshots, you can see that we are printing Error details in 
different formats

In some cases we print
 * Provided value PURGE is Enumeration of Long type at line #20

In other cases we print 
 * Line #2: invalid business-metadata 'BM2.A1' for entity type 'hive_table'

I think it is a good idea to maintain the following format to increase the 
readability of error

<Line Number> : Error like below
{code:java}
Line #2: invalid business-metadata 'BM2.A1' for entity type 'hive_table'
Line #3: invalid business-metadata 'BM2.A3' for entity type 'hive_table'
Line #4: invalid business-metadata 'BM2.A5' for entity type 'hive_table'
Line #5: invalid business-metadata 'BM2.A7' for entity type 'hive_table'
Line #6: invalid business-metadata 'BM2.A9' for entity type 'hive_table'
Line #7: invalid business-metadata 'BM2.A11' for entity type 'hive_table'
Line #8: invalid business-metadata 'BM2.A13' for entity type 'hive_table'
Line #9: invalid business-metadata 'BM2.A15' for entity type 'hive_table'
Line #10: invalid business-metadata 'BM2.A17' for entity type 'hive_table' 
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to