cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! Site migration is underway. Phase 2: migrate recent content

Loading gzipped csv file from URL in Neo4j 5

pducrot
Node

Hi all, I'm trying to load a gzipped csv file with the following cypher command:
:auto LOAD CSV FROM "/my/local/url/my_file.csv.gz" CALL { ... } IN TRANSACTIONS OF 1000 ROWS
I can load csv file with that command, but it fails loading a gzipped one.

Neo.ClientError.Statement.ExternalResourceFailed: no protocol

According to the documentation I should be able to read a gzipped csv file, isn't it?
Thanks for any help
Pierre

2 REPLIES 2

glilienfield
Ninja
Ninja

If it is a local file, you may need to prepend the path with "file:///"

 

Actually, I do, as for the csv file which reads fine.