Showing results for 
Search instead for 
Did you mean: 

Head's Up! Site migration is underway. Phase 2: migrate recent content

Writing to Neo4j using Neo4j Spark Connector


I have a spark dataframe that has a key column and multiple other columns (column1, column2, column3, etc...). I need to write each row of the dataframe to neo4j where the key column in each row is a node, and every other column in that row is a node with a link to that key column node. So the result would be a bunch of key column nodes and each one having several nodes connected to it representing the columns in the dataset. How would I achieve this using the neo4j spark connector? link