I am getting Neo.ClientError.Statement.SyntaxError while loading data from CSV file.
Neo.ClientError.Statement.SyntaxError: Invalid input 'h': expected 'i/I' (line 5, column 3 (offset: 189)) "Merge (Zip_Code:Zip_Code {code: row.zip_cd,type:'location'})"
Here is my Query:
Using Periodic Commit
LOAD CSV WITH HEADERS FROM "file:///DOL_data_whd_whisard_reduced.csv" AS row
Merge (State_Code:State_Code {code: row.st_cd})
where not row.st_cd is null
Merge (Zip_Code:Zip_Code {code: row.zip_cd,type:'location'})
where not row.zip_cd is null
Merge (Zip_Code)-[:located_in]->(State_Code)
There are some blank records in the csv and hence I have used not null but this is giving me error as:
Can anyone help me out of it?