Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
10-21-2020 11:23 PM
Hello , i iam trying to update my node properties by "USING periodic commit" in neo4j database 4.1.3.
USING PERIODIC COMMIT 1000 LOAD CSV WITH HEADERS FROM "file:///pref_score.csv" as line
MATCH(n:CUSTOMER)
WHERE n.IDENTITYID=line.IDENTITYID
SET n.PA_SCORE=line.pa_score
this worked well in previous 3.5.8 version. the query throws
Neo.ClientError.Statement.SemanticError
Executing queries that use periodic commit in an open transaction is not possible.
I tried to use this query with auto but it took so long time but didn't update anything but my browser has PA_SCORE property. My neo4j desktop version is 1.3.8 and the browser version is 4.1.2
is there any alternative way to fix this . Kindly help me
Solved! Go to Solution.
10-22-2020 03:08 PM
Prefixing with :auto
in the browser should be the way to go.
You'll want an index on :CUSTOMER(IDENTITYID) for this to be fast, otherwise it will be using a label scan per row, which absolutely won't work when you have a large number of :CUSTOMER nodes.
10-22-2020 03:08 PM
Prefixing with :auto
in the browser should be the way to go.
You'll want an index on :CUSTOMER(IDENTITYID) for this to be fast, otherwise it will be using a label scan per row, which absolutely won't work when you have a large number of :CUSTOMER nodes.
All the sessions of the conference are now available online