jexp / neo4j-shell-tools

A bunch of import/export tools for the neo4j-shell
288 stars 55 forks source link

Error while loading CSV with headers #112

Open pdipietro opened 7 years ago

pdipietro commented 7 years ago

I was loading a CSV file with the following command

LOAD CSV with headers FROM "http://dati.istruzione.it/opendata/opendata/catalogo/elements1/EDIANAGRAFESTA20160831.csv" AS row MERGE (Comune:Comune {codice:row.CODICECOMUNE, nome:row.DESCRIZIONECOMUNE})

It returns "Cannot merge node using null property value for codice"

But the file appears to be correct.

jexp commented 7 years ago

Just return the first rows and check them carefully

Von meinem iPhone gesendet

Am 09.03.2017 um 18:34 schrieb Paolo Di Pietro notifications@github.com:

I was loading a CSV file with the following command

LOAD CSV with headers FROM "http://dati.istruzione.it/opendata/opendata/catalogo/elements1/EDIANAGRAFESTA20160831.csv" AS row MERGE (Comune:Comune {codice:row.CODICECOMUNE, nome:row.DESCRIZIONECOMUNE})

It returns "Cannot merge node using null property value for codice"

But the file appears to be correct.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.