Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
07-15-2022 06:44 AM
Issuing the statement
:auto USING PERIODIC COMMIT 500
LOAD CSV ...
in the Neo4j terminal, ends up with
Invalid input ':': expected <init> (line 1, column 1 (offset: 0))
Doing the same on the Neo4j browser, works with no problem.
Solved! Go to Solution.
07-15-2022 12:13 PM - edited 07-15-2022 12:14 PM
"using periodic commit" and "call in transactions" use implicit transactions.
These require the ':auto" prefix in neo4j browser. I don't think cypher-shell supports implicit transactions. The documentation states cypher-shell supports explicit transactions, which means they have to be managed in the code. See section 8 in below reference.
https://neo4j.com/docs/operations-manual/current/tools/cypher-shell/
Maybe look into using the apoc periodic procedures, such as commit, when using cypher-shell.
07-15-2022 12:13 PM - edited 07-15-2022 12:14 PM
"using periodic commit" and "call in transactions" use implicit transactions.
These require the ':auto" prefix in neo4j browser. I don't think cypher-shell supports implicit transactions. The documentation states cypher-shell supports explicit transactions, which means they have to be managed in the code. See section 8 in below reference.
https://neo4j.com/docs/operations-manual/current/tools/cypher-shell/
Maybe look into using the apoc periodic procedures, such as commit, when using cypher-shell.
All the sessions of the conference are now available online