Ich bin auf Windows 7 und ich bin neu in Neo4J, ich benutze Neo4J Version 3.0.3. Ich habe eine einfache und kleine CSV-Datei, nur zum Ausprobieren, wie Sie eine CSV-Datei in Neo4j importieren.Import CSV-Datei in NEO4J
Hier ist meine Datei namens people.csv
1,"John"
10,"Jane"
234,"Fred"
4893,"Mark"
234943,"Anne"
Von Konsole Neo4j Browser ich auf verschiedene Weise versucht haben, diese Datei zu importieren, aber kein Glück bekam. Dies sind meine Versuche:
USING PERIODIC COMMIT 10000 LOAD CSV FROM "file:///C:\Utenti\Luca\Desktop\people.csv"
which returned this error: Invalid input 't': expected four hexadecimal digits specifying a unicode character (line 1, column 56 (offset: 55))
"USING PERIODIC COMMIT 10000 LOAD CSV FROM "file:///C:\Utenti\Luca\Desktop\people.csv""
Dann habe ich versucht, mit Schrägstrichen.
USING PERIODIC COMMIT 10000 LOAD CSV FROM "file:///C:/Utenti/Luca/Desktop/people.csv"
and the error was:
Unexpected end of input: expected whitespace, '.', node labels, '[', "=~", IN, STARTS, ENDS, CONTAINS, IS, '^', '*', '/', '%', '+', '-', '=', "<>", "!=", '<', '>', "<=", ">=", AND, XOR, OR or AS (line 1, column 86 (offset: 85))
"USING PERIODIC COMMIT 10000 LOAD CSV FROM "file:///C:/Utenti/Luca/Desktop/people.csv""