cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Invalid input ':': expected through python driver for :auto PERIODIC COMMIT

Hi there,

I've been using ":auto PERIODIC COMMIT" to import some datasets on desktop and now trying to transfer it to python. When I run the same syntax on browser or cypher shell it works, but when it's done via python it gives:

neo4j.exceptions.CypherSyntaxError:{code: Neo.ClientError.
Statement.SyntaxError} {message: Invalid input ':': expected

I've searched around and found some stated that the syntax is different in python driver as it is in the browser/shell. Are there any documents that specify the differences or what should I do to make it work...

Cheers!

1 REPLY 1

Hello, as you already figured out, there is no direct Cypher support for PERIODIC COMMIT.
You next best bet would be to install APOC on your Neo4j server and call apoc.periodic.commit from your application, if that's an option?