Neo4j Community edition 4.3.3
I have the following minimal query:
LOAD CSV WITH HEADERS
FROM 'file:///xxx.csv'
as rowStore FIELDTERMINATOR ';'
CALL {
WITH rowStore
MATCH (store:Store {uuid: rowStore.uuid})
RETURN store as x;
}
RETURN x;
which returns the following error, that I cannot explain. I simplified the query to its minimal, but still cannot understand:
Neo.ClientError.Statement.SyntaxError: Invalid input '': expected
","
"CALL"
"CREATE"
"DELETE"
"DETACH"
"FOREACH"
"LIMIT"
"LOAD"
"MATCH"
"MERGE"
"OPTIONAL"
"ORDER"
"REMOVE"
"RETURN"
"SET"
"SKIP"
"UNION"
"UNWIND"
"USE"
"WITH"
"}" (line 8, column 21 (offset: 211))
" RETURN store as x"
^
} RETURN x