Hi,
I have tried with this code
{
"config" : {
"log" : "debug"
},
"begin" : [],
"source" : {
"file" : {
"path" : "CARD.csv"
}
},
"extractor": { "csv": {
"ignoreEmptyLines": true,
"nullValue": "N/A",
"columnsOnFirstLine": true
}
},
"transformers": [
{ "vertex": { "class": "CARD" } }
],
"loader" : {
"orientdb" : {
"dbURL" : "remote:localhost/databases/ORDB",
"dbUser" : "root",
"dbPassword" : "root",
"dbAutoCreate" : true,
"tx" : false,
"batchCommit" : 1000,
"class" : "CARD",
"dbType" : "graph",
"serverUser" : "root",
"serverPassword" : "root",
"dbAutoCreateProperties": true,
"classes": [ { "name": "CARD", "extends", "V" } ]
}
}
}
and this CARD.csv
ID,CARD_NAME,CATEGORY_NAME,TYPE_NAME,CARD_REF_NAME,INVENTORY_STATUS_CODE,
EQUIPMENT_NAME,CHASSIS_NAME
889124,BLOCK B1,GENERIC,GENERIC,10 PR-C,IPL,DP:DATA:L3639664,chassis02
and it worked for me.
<https://lh3.googleusercontent.com/-0ECcfLD6ipM/V7VklvRUM7I/AAAAAAAAARE/CY1RT9bj0UgX73H88DNdPCdNAy6bpai1ACLcB/s1600/img2.png>
<https://lh3.googleusercontent.com/-wxyit9jhVnI/V7Vkq3x8pWI/AAAAAAAAARI/ZzXN9GUOZfwIUyJIzCy3EtYQpqCV5Q0XwCLcB/s1600/img3.png>
Hope it helps,
Alessandro
--
---
You received this message because you are subscribed to the Google Groups
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.