Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
11-26-2018 01:55 AM
Hey everyone ,
I am using this query to import my CSV file :
LOAD CSV WITH HEADERS FROM 'file:///Contrats2018.csv' AS Contracts FIELDTERMINATOR ';'
CREATE (c:Contrat18 { id:Contracts.contract_id , cpv:Contracts.contract_CPV_3_digits})
And after executing , I find the same number of nodes that I have in my file but for IDs they re just generated by neo4j for my nodes , and it doesn't import my properties .
Help please !!
Solved! Go to Solution.
11-26-2018 02:36 AM
11-26-2018 02:17 AM
Can you give the result of this query : MATCH (c:Contrat18) RETURN c LIMIT 5
?
Can you also share the header of your csv ?
11-26-2018 02:21 AM
Hey Benoit ,
Here is the file csv that I am using
and here is the result after importing in neo4j :
Knowing that I imported other nodes and I have all properties .
11-26-2018 02:33 AM
Hi mehdi ,
could you please open your file in notepad and share it.
i doubt that it is not ' ; ' separated
11-26-2018 02:36 AM
exactly ! that's why I added FIELDTERMINATOR ';'
All the sessions of the conference are now available online