-
Notifications
You must be signed in to change notification settings - Fork 493
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CALL apoc.load.json path ignores config file setting #70
Comments
Yes it's totally different apis But good point at aligning them Von meinem iPhone gesendet
|
Need to read |
Great set of stored procs!
I noticed a small issue with CALL apoc.load.json, not sure I'd call it a bug though. If you are loading JSON locally you have to use a different path convention to the CSV loader if you have a default path set in the config file. Not a massive issue but using windows 10 I seem to spend a fair amount of time tweaking paths until they work.....
For example with windows 10 the CSV loader format is:
USING PERIODIC COMMIT
LOAD CSV WITH HEADERS FROM "file:///file.csv" AS line
The equivalent in APOC would be:
WITH "file:///C:/default_location/file.json" AS url
CALL apoc.load.json(url) YIELD value
The text was updated successfully, but these errors were encountered: