[ https://issues.apache.org/jira/browse/ATLAS-4313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Umesh Padashetty updated ATLAS-4313: ------------------------------------ Description: Content in the template file {code:java} EntityType,EntityUniqueAttributeValue,BusinessAttributeName,BusinessAttributeValue,EntityUniqueAttributeName[optional] hive_table,hive_table_kcsup@cm,BM3.BM3A17,1621932602000 hive_table,hive_table_kcsup@cm,BM3.BM3A18,1621932602000 {code} Here, BM3.BM3A17 is multi value disabled and BM3.BM3A18 is multi value enabled BM3A17 definition !Screenshot 2021-05-26 at 11.30.49 PM.png! BM3A18 !Screenshot 2021-05-26 at 11.30.40 PM.png! Imported Data !Screenshot 2021-05-26 at 11.32.19 PM.png! Atlas api/atlas/v2/entity/businessmetadata/import returns {code:java} { "failedImportInfoList": [ { "parentObjectName": "", "childObjectName": "", "importStatus": "FAILED", "remarks": "Provided value 1621932602000 is not of Date type at line #2" } ], "successImportInfoList": [ { "parentObjectName": "b91f9726-4020-4005-9ee4-f79215f85c38", "childObjectName": "{BM4={BM4A1=stringy}, BM3={BM3A20=[PURGE, EXPORT], BM3A9=1234, BM3A15=123456, BM3A14=[12345.67, 23456.7], BM3A17=1621932602000, BM3A16=[123456, 234567], BM3A11=123.45, BM3A10=[1234, 2345], BM3A13=12345.67, BM3A12=[123.45, 234.56], BM3A19=RAM_DISK, BM3A18=[], BM3A6=[1, 2], BM3A5=1, BM3A8=[12, 23], BM3A7=12, BM3A2=[stringval1, stringval2], BM3A1=stringval, BM3A4=[true, false], BM3A3=true}}", "importStatus": "SUCCESS", "remarks": "" } ]} {code} It is important to note that, was: Content in the template file {code:java} EntityType,EntityUniqueAttributeValue,BusinessAttributeName,BusinessAttributeValue,EntityUniqueAttributeName[optional] hive_table,hive_table_kcsup@cm,BM3.BM3A17,1621932602000 hive_table,hive_table_kcsup@cm,BM3.BM3A18,1621932602000 {code} Here, BM3.BM3A17 is multi value disabled and BM3.BM3A18 is multi value enabled BM3A17 definition !Screenshot 2021-05-26 at 11.30.49 PM.png! BM3A18 !Screenshot 2021-05-26 at 11.30.40 PM.png! Imported Data !Screenshot 2021-05-26 at 11.32.19 PM.png! Atlas api/atlas/v2/entity/businessmetadata/import returns {code:java} { "failedImportInfoList": [ { "parentObjectName": "", "childObjectName": "", "importStatus": "FAILED", "remarks": "Provided value 1621932602000 is not of Date type at line #2" } ], "successImportInfoList": [ { "parentObjectName": "b91f9726-4020-4005-9ee4-f79215f85c38", "childObjectName": "{BM4={BM4A1=stringy}, BM3={BM3A20=[PURGE, EXPORT], BM3A9=1234, BM3A15=123456, BM3A14=[12345.67, 23456.7], BM3A17=1621932602000, BM3A16=[123456, 234567], BM3A11=123.45, BM3A10=[1234, 2345], BM3A13=12345.67, BM3A12=[123.45, 234.56], BM3A19=RAM_DISK, BM3A18=[], BM3A6=[1, 2], BM3A5=1, BM3A8=[12, 23], BM3A7=12, BM3A2=[stringval1, stringval2], BM3A1=stringval, BM3A4=[true, false], BM3A3=true}}", "importStatus": "SUCCESS", "remarks": "" } ]} {code} > [Business Metadata Bulk Import] Importing multi values for Business Metadata > Attribute of date type fails with Error "Provided value is not of Date type > at line #" > -------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: ATLAS-4313 > URL: https://issues.apache.org/jira/browse/ATLAS-4313 > Project: Atlas > Issue Type: Bug > Reporter: Umesh Padashetty > Priority: Critical > Attachments: Screenshot 2021-05-26 at 11.30.40 PM.png, Screenshot > 2021-05-26 at 11.30.49 PM.png, Screenshot 2021-05-26 at 11.32.19 PM.png > > > Content in the template file > {code:java} > EntityType,EntityUniqueAttributeValue,BusinessAttributeName,BusinessAttributeValue,EntityUniqueAttributeName[optional] > hive_table,hive_table_kcsup@cm,BM3.BM3A17,1621932602000 > hive_table,hive_table_kcsup@cm,BM3.BM3A18,1621932602000 {code} > Here, BM3.BM3A17 is multi value disabled and BM3.BM3A18 is multi value enabled > BM3A17 definition > !Screenshot 2021-05-26 at 11.30.49 PM.png! > BM3A18 > !Screenshot 2021-05-26 at 11.30.40 PM.png! > Imported Data > !Screenshot 2021-05-26 at 11.32.19 PM.png! > Atlas api/atlas/v2/entity/businessmetadata/import returns > {code:java} > { "failedImportInfoList": [ { "parentObjectName": "", > "childObjectName": "", "importStatus": "FAILED", > "remarks": "Provided value 1621932602000 is not of Date type at line #2" > } ], "successImportInfoList": [ { > "parentObjectName": "b91f9726-4020-4005-9ee4-f79215f85c38", > "childObjectName": "{BM4={BM4A1=stringy}, BM3={BM3A20=[PURGE, EXPORT], > BM3A9=1234, BM3A15=123456, BM3A14=[12345.67, 23456.7], BM3A17=1621932602000, > BM3A16=[123456, 234567], BM3A11=123.45, BM3A10=[1234, 2345], BM3A13=12345.67, > BM3A12=[123.45, 234.56], BM3A19=RAM_DISK, BM3A18=[], BM3A6=[1, 2], BM3A5=1, > BM3A8=[12, 23], BM3A7=12, BM3A2=[stringval1, stringval2], BM3A1=stringval, > BM3A4=[true, false], BM3A3=true}}", "importStatus": "SUCCESS", > "remarks": "" } ]} {code} > It is important to note that, -- This message was sent by Atlassian Jira (v8.3.4#803005)