Neo4j CSV Import Execution Failure

烈酒焚心 提交于 2019-12-12 02:27:17

问题


I'm trying to import a CSV file into Neo4j (Community Edition V 2.3.3). The Error is Neo.DatabaseError.Statement.ExecutionFailure And it shows like this:

    At O:\Sample1.csv:132851 -  there's a field starting with a quote and whereas it ends that quote there seems to be characters in that field after that ending quote. That isn't supported. This is what I read: 'MQP Coverage EPG"'

回答1:


Your input file has a string with an un-escaped quote in it. Find and fix that and you'll be good to go.




回答2:


It looks like your CSV data has another quote character than the default ". You seem to have ', is that correct? If so then add the argument --quote ' to the import tool command.



来源:https://stackoverflow.com/questions/36491606/neo4j-csv-import-execution-failure

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!