Neo4j-import CSV issue


(Junaidmohammad89) #1

I created a csv file for importing relationship. My file contains duplicate rows. How could i ignore duplicate rows while creating relationship using neo4j-import? My aim is to achieve merge functionality rather than create, while importing.


(Stefan Armbruster) #2

neo4j-admin import cannot filter duplicate relationships. Therefore pre-process your csv with the usual suspects sort, uniq on the cmd line.


(Junaidmohammad89) #3

Thank for the reply:slightly_smiling_face: