You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 6, 2023. It is now read-only.
As far as I understand, there is no easy way to take a running Neo4J instance on which I have no direct file system access and provide a CSV file for a LOAD CSV command.
Example situation
Neo4J running locally as Docker container, e.g. docker run --rm --name graph-db -p 7474:7474 -p 7687:7687 --env NEO4J_AUTH=neo4j/test neo4j:4.0.4
Cypher script that aims to convert data from a local CSV file into queries, e.g. LOAD CSV WITH HEADERS FROM 'file:///data.csv' AS row
A data.csv file, in the local working directory
It would be very helpful if there was a way to provide the file directly via the cypher-shell command. Now, IIUC, I have to either mount the file into my Docker container, or upload it somewhere, e.g. on GitHub and access it via HTTP.