Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
02-27-2022 08:49 AM
I have noticed if I write queries with complex usage of the 'with' clause, I get the warning shown below discussing the 'eager' operator. Can someone tell me what this is, where can I find more info on it in the manuals, and what I can do in the sample query to eliminate the warning?
Thanks....
LOAD CSV WITH HEADERS
FROM 'file:///xxx.csv' as rowStore
with rowStore.Entity as Entity, rowStore.EventType as EventType, date(rowStore.Timestamp) as EventDate
merge(n:Entity{id: Entity})
merge(m:EventType{id: EventType})
merge(n)-[r:EventDate]->(m)
on create set r.EventDate = EventDate
on match set r.EventDate = apoc.coll.min([r.EventDate, EventDate])
with n, EventDate
match(n)-[r:EventDate]->(p:EventType)
where r.EventDate <> apoc.coll.min([r.EventDate, EventDate])
delete r
02-28-2022 04:39 PM
This looks really informative. Thanks very much.
02-28-2022 07:12 PM
@glilienfield: Thanks for asking the question.
@youcef.kadri: Thanks a bunch for the useful article.
All the sessions of the conference are now available online