Question: Using Neo4j. First, I import this CSV file into Neo4j: USING PERIODIC COMMIT LOAD CSV WITH HEADERS FROM file:/test.csv AS csv CREATE (:Transaction {ID: csv.id,

Using Neo4j.

First, I import this CSV file into Neo4j:

USING PERIODIC COMMIT

LOAD CSV WITH HEADERS FROM "file:/test.csv" AS csv CREATE (:Transaction {ID: csv.id, Item: csv.item, Year: csv.year, Month: csv.month, Day: csv.day});

Next, I need to create a new table that loads the Year, Month, and Day from Transaction.

So I need a table like this...

TimeDimension: Year, Month, Day

In Neo4j, how can I use an existing table (Transaction) to pull Year, Month, and Day into another table TimeDimension?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!