📅  最后修改于: 2022-03-11 15:00:01.932000             🧑  作者: Mango
//answer by: Fabio Lamanna go upvote him
You can limit the rows you want to import with:
USING PERIODIC COMMIT
LOAD CSV WITH HEADERS 'file:///yourcsvfile.csv' AS row
WITH row LIMIT 1000
...
and then continue with your usual import Cypher statements.
This will read only the first 1000 lines of your file.