Riccardo Vannozzi
Riccardo Vannozzi

Reputation: 1

Load csv with Graphenedb

I tried to import files to the localhost with the following Clause and has been successful:

USING PERIODIC COMMIT
LOAD CSV WITH HEADERS FROM 'file:/Users/studio/Desktop/nodiToscana.csv' AS row 
CREATE (:Startup {startupName: row.Startup});

when I tried to use the same expression on Graphene it gave me error

Upvotes: -2

Views: 276

Answers (1)

William Lyon
William Lyon

Reputation: 8556

The problem is that the file path you specified (/Users/studio/Desktop/nodiToscana.csv) does not exist on the GrapheneDB server. You need to provide a URL to a file that is accessible to the GrapheneDB server. Two easy ways to do this:

  • host the file on dropbox and use the public URL
  • use a google spreadsheet as described here

Upvotes: 2

Related Questions