Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
01-10-2023 12:23 AM - edited 01-10-2023 12:27 AM
The query
####
CALL apoc.periodic.iterate("CALL apoc.load.csv('file:///process(1000timesnew).csv') YIELD map AS row RETURN row","CREATE(process:Process{euid:row.EventRecordID})",{batchSize:5000, iterateList:true, parallel:true})
####
shows error
Failed to invoke procedure `apoc.periodic.iterate`: Caused by: org.neo4j.internal.kernel.api.exceptions.ProcedureException: There is no procedure with the name `apoc.load.csv` registered for this database instance. Please ensure you've spelled the procedure name correctly and that the procedure is properly deployed.
Version : Enterprise 5.2
Plugins folder :
neo4j.conf setting:
Why it can not work? Do plugins data wrong? Which one should I download? Thanks.
I must try apoc.load.csv instead of read csv with header from... to check whether the performance would be better !
Solved! Go to Solution.
01-10-2023 09:45 AM
I got it to work for me by downloading the 'apoc-5.3.0-extended.jar' file from the git repo and adding it to the import directory and updating the apoc.conf file to enable importing. You need the other apoc jar that is installed by Neo4j desktop. Below is my import folder that worked.
https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases
01-10-2023 09:25 AM
Looks like you have the 'core' jar, but the apoc.load.csv method is in the 'extended' jar.
01-10-2023 09:45 AM
I got it to work for me by downloading the 'apoc-5.3.0-extended.jar' file from the git repo and adding it to the import directory and updating the apoc.conf file to enable importing. You need the other apoc jar that is installed by Neo4j desktop. Below is my import folder that worked.
https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases
01-10-2023 04:21 PM
You safe my life, thanks you. apoc.load.csv indeed faster than read csv with header from, just a bit little although.
All the sessions of the conference are now available online