Can apoc.import.csv reach s3 files? Neo.ClientError.Procedure.ProcedureCallFailed

, ,

Hi,

I'm trying to run:


CALL apoc.import.csv(
  [
    {fileName: 's3://xxx.csv'
  ],
  [],
  {delimiter: ',', arrayDelimiter: ';', stringIds: true, ignoreDuplicateNodes: true, batchSize: 10000, ignoreBlankString: true, ignoreEmptyCellArray: true}
);

and I get the following error:

Neo.ClientError.Procedure.ProcedureCallFailed
Failed to invoke procedure `apoc.import.csv`: Caused by: apoc.util.MissingDependencyException: Cannot find the S3 jars in the plugins folder. 
Please put these files into the plugins folder :

aws-java-sdk-core-x.y.z.jar
aws-java-sdk-s3-x.y.z.jar
httpclient-x.y.z.jar
httpcore-x.y.z.jar
joda-time-x.y.z.jar

See the documentation: https://neo4j.com/docs/apoc/current/import/web-apis/#_using_google_cloud_storage

From the access perspective and security all should be enabled, because I can run the following:

LOAD CSV FROM 's3://XXX.csv' AS row
RETURN COUNT(row);

I think you need to download the S3 related jars and add them to your plugin folder