LOAD CSV WITH HEADERS FROM 'http://127.0.0.1/static/relations/252.csv' AS line
MATCH (a:ip{value:line.userIp}),(b:email{value:line.ucEmail})
MERGE (a)-[rel:mayrelations]->(b)
WITH rel, COALESCE(rel.spendTime, []) + line.spendTime AS spendTime
UNWIND spendTime as r0
WITH rel, collect(distinct r0) AS unique
set rel.spendTime= unique
WITH rel, COALESCE(rel.eventOccurTime, []) + line.eventOccurTime AS eventOccurTime
UNWIND eventOccurTime as r1
WITH rel, collect(distinct r1) AS unique
set rel.eventOccurTime= unique
This syntax does not work, and raises the error: "Variable line
not defined", I believe this means 'line' variable can be used only once. How can I use it twice?