Hi @hharrington
Object relationships are established based on the objectId
field, so this field is mandatory.
I have replaced our identifiers with the ones you use, specifically sample_id
.
The import process was successful and all the data has been imported with the relationships properly established.
Here are the data I used for the import:
test_samp_info.csv:
"County({""constraints"":[],""type"":""STRING"",""dataSize"":250,""dynamicProps"":{""localData"":{}}})","Latitude({""constraints"":[],""type"":""STRING"",""dataSize"":250,""dynamicProps"":{""localData"":{}}})","Longitude({""constraints"":[],""type"":""STRING"",""dataSize"":250,""dynamicProps"":{""localData"":{}}})","Sample_ID({""constraints"":[],""type"":""STRING"",""dataSize"":250,""dynamicProps"":{""localData"":{}}})","State({""constraints"":[],""type"":""STRING"",""dataSize"":250,""dynamicProps"":{""localData"":{}}})","objectId({""constraints"":[],""type"":""STRING_ID"",""dataSize"":36})","ownerId({""constraints"":[],""type"":""STRING"",""dataSize"":36})","created({""constraints"":[],""type"":""DATETIME""})","updated({""constraints"":[],""type"":""DATETIME""})","oxides({""constraints"":[],""type"":""RELATION"",""autoLoad"":false,""relatedTable"":""test_oxides"",""relationIdentificationColumn"":""Sample_ID"",""dynamicProps"":{""localData"":{}}})","proc_ult_anal({""constraints"":[],""type"":""RELATION"",""autoLoad"":false,""relatedTable"":""test_Proc_Ult"",""relationIdentificationColumn"":""Sample_ID"",""dynamicProps"":{""localData"":{}}})","trace({""constraints"":[],""type"":""RELATION"",""autoLoad"":false,""relatedTable"":""test_trace"",""relationIdentificationColumn"":""Sample_ID"",""dynamicProps"":{""localData"":{}}})"
"JOHNSON","37.8881","82.8131","D171579","Kentucky","D171579",null,"2023-05-19T12:01:11.072Z","2023-05-19T12:45:08.841Z","D171579","D171579","D171579"
"JOHNSON","37.9006","82.8519","D171582","Kentucky","D171582",null,"2023-05-19T12:01:06.873Z","2023-05-19T12:45:09.202Z","D171582","D171582","D171582"
"LAWRENCE","38.0272","82.805","D168263","Kentucky","D168263",null,"2023-05-19T11:50:35.625Z","2023-05-19T12:45:04.280Z","D168263","D168263","D168263"
test_Proc_Ult.csv:
"Fixed_Carbon({""constraints"":[],""type"":""STRING"",""dataSize"":250,""dynamicProps"":{""localData"":{}}})","Fixed_Carbon_Q({""constraints"":[],""type"":""STRING"",""dataSize"":250,""dynamicProps"":{""localData"":{}}})","Moisture({""constraints"":[],""type"":""STRING"",""dataSize"":250,""dynamicProps"":{""localData"":{}}})","Moisture_Q({""constraints"":[],""type"":""STRING"",""dataSize"":250,""dynamicProps"":{""localData"":{}}})","Sample_ID({""constraints"":[],""type"":""STRING"",""dataSize"":250,""dynamicProps"":{""localData"":{}}})","Volatile_Matter({""constraints"":[],""type"":""STRING"",""dataSize"":250,""dynamicProps"":{""localData"":{}}})","Volatile_Matter_Q({""constraints"":[],""type"":""STRING"",""dataSize"":250,""dynamicProps"":{""localData"":{}}})","objectId({""constraints"":[],""type"":""STRING_ID"",""dataSize"":36})","ownerId({""constraints"":[],""type"":""STRING"",""dataSize"":36})","created({""constraints"":[],""type"":""DATETIME""})","updated({""constraints"":[],""type"":""DATETIME""})"
null,"B",null,"B","D171579",null,"B","D171579",null,"2023-05-19T11:54:10.161Z","2023-05-19T12:41:57.322Z"
null,"B",null,"B","D168263",null,"B","D168263",null,"2023-05-19T11:58:21.920Z","2023-05-19T12:42:14.241Z"
null,"B",null,"B","D171582",null,"B","D171582",null,"2023-05-19T11:59:00.769Z","2023-05-19T12:42:32.805Z"
test_trace.csv:
"Al({""constraints"":[],""type"":""STRING"",""dataSize"":250,""dynamicProps"":{""localData"":{}}})","Al_Q({""constraints"":[],""type"":""STRING"",""dataSize"":250,""dynamicProps"":{""localData"":{}}})","GSAsh_Dry({""constraints"":[],""type"":""STRING"",""dataSize"":250,""dynamicProps"":{""localData"":{}}})","GSAsh_Dry_Q({""constraints"":[],""type"":""STRING"",""dataSize"":250,""dynamicProps"":{""localData"":{}}})","Sample_ID({""constraints"":[],""type"":""STRING"",""dataSize"":250,""dynamicProps"":{""localData"":{}}})","Si({""constraints"":[],""type"":""STRING"",""dataSize"":250,""dynamicProps"":{""localData"":{}}})","Si_Q({""constraints"":[],""type"":""STRING"",""dataSize"":250,""dynamicProps"":{""localData"":{}}})","objectId({""constraints"":[],""type"":""STRING_ID"",""dataSize"":36})","ownerId({""constraints"":[],""type"":""STRING"",""dataSize"":36})","created({""constraints"":[],""type"":""DATETIME""})","updated({""constraints"":[],""type"":""DATETIME""})"
"31000","d","18.3",null,"D171579","50500","d","D171579",null,"2023-05-19T11:54:52.914Z","2023-05-19T12:42:06.598Z"
"3500","d","8.71",null,"D168263","5290","d","D168263",null,"2023-05-19T12:00:23.369Z","2023-05-19T12:42:18.998Z"
"2540","d","7.29",null,"D171582","6450","d","D171582",null,"2023-05-19T11:59:41.383Z","2023-05-19T12:42:38.652Z"
test_oxides.csv:
"GSAsh({""constraints"":[],""type"":""STRING"",""dataSize"":250,""dynamicProps"":{""localData"":{}}})","GSAsh_Q({""constraints"":[],""type"":""STRING"",""dataSize"":250,""dynamicProps"":{""localData"":{}}})","Remnant_Moisture({""constraints"":[],""type"":""STRING"",""dataSize"":250,""dynamicProps"":{""localData"":{}}})","Remnant_Moisture_Q({""constraints"":[],""type"":""STRING"",""dataSize"":250,""dynamicProps"":{""localData"":{}}})","Sample_ID({""constraints"":[],""type"":""STRING"",""dataSize"":250,""dynamicProps"":{""localData"":{}}})","SiO2({""constraints"":[],""type"":""STRING"",""dataSize"":250,""dynamicProps"":{""localData"":{}}})","objectId({""constraints"":[],""type"":""STRING_ID"",""dataSize"":36})","ownerId({""constraints"":[],""type"":""STRING"",""dataSize"":36})","created({""constraints"":[],""type"":""DATETIME""})","updated({""constraints"":[],""type"":""DATETIME""})"
"2.5",null,"4","e","D171579","46","D171579",null,"2023-05-19T11:57:26.513Z","2023-05-19T11:58:05.726Z"
"8.86",null,"4.78","r","D168263","36","D168263",null,"2023-05-19T11:51:15.361Z","2023-05-19T11:51:49.612Z"
"6.5",null,"4","e","D171582","46","D171582",null,"2023-05-19T11:56:53.264Z","2023-05-19T11:57:17.566Z"
Regards,
Viktor