Hello Stefan,
Getting below error when i added the runtime=slotted .
call apoc.periodic.iterate("CYPHER runtime=slotted MATCH (m:MO_STATIC_TABLE)<-[r1:container2mostatic]-(c:CONTAINER) ,(sc:SITE_CODE_TABLE)<-[R2]-(s:SITE)-[r4:site2container]->(c:CONTAINER)-[r5:container2shelf]->(sh:SHELF)-[r6:shelf2card]->(ca:CARD)-[r7:card2port]->(po:PORT) where c.EQUIP_TYPE='RRH' and m.STD_VENDOR='SAMSUNG'", "set po.PORT_CUSTOM_MANAGEDOBJECT='RIL_SAMSUNG .'+m.STD_TNS+'.'+c.EQUIP_EMS_INSTANCENAME+' NODE "'+po.PORT_NATIVENAME+'"',po.PORT_CUSTOM_OPERATIONCONTEXT='.oc.'+sc.SITE_CIRCLE_CODE_OC+'_LSM-R'" , {batchSize:1000}) yield batches, total return "C 2 MO rel" , batches, total;
Error:
Neo.ClientError.Statement.SyntaxError: Invalid input ''': expected whitespace, '.', node labels, '[', "=~", IN, STARTS, ENDS, CONTAINS, IS, '^', '*', '/', '%', '+', '-', '=', '~', "<>", "!=", '<', '>', "<=", ">=", AND, XOR, OR, ',' or ')' (line 1, column 426 (offset: 425))
"call apoc.periodic.iterate("CYPHER runtime=slotted MATCH (m:MO_STATIC_TABLE)<-[r1:container2mostatic]-(c:CONTAINER) ,(sc:SITE_CODE_TABLE)<-[R2]-(s:SITE)-[r4:site2container]->(c:CONTAINER)-[r5:container2shelf]->(sh:SHELF)-[r6:shelf2card]->(ca:CARD)-[r7:card2port]->(po:PORT) where c.EQUIP_TYPE='RRH' and m.STD_VENDOR='SAMSUNG'", "set po.PORT_CUSTOM_MANAGEDOBJECT='RIL_SAMSUNG .'+m.STD_TNS+'.'+c.EQUIP_EMS_INSTANCENAME+' NODE "'+po.PORT_NATIVENAME+'"',po.PORT_CUSTOM_OPERATIONCONTEXT='.oc.'+sc.SITE_CIRCLE_CODE_OC+'_LSM-R'" , {batchSize:1000}) yield batches, total return "C 2 MO rel" , batches, total;"
^
Best Regards
Akshat