【发布时间】:2014-11-16 16:36:54
【问题描述】:
从“file:C:/CSV/film.csv”加载带有标题的 CSV 作为行 CREATE (:Film {film_id: row.film_id, title: row.title, description: row.description, release_year:row.release_year,language_id:row.language_id,original_language_id:row.original_language_id, Rental_duration:row.rental_duration,rental_rate:row.rental_rate,length:row.length,replacement_cost:row.replacement_cost,rating:row.rating, special_features: row.special_features, last_update: row.last_update});
我在 NEO4J 中编写了这个查询。执行后它向我展示了
“添加 500 个标签,创建 500 个节点,在 1709 毫秒内返回 0 行”
但它不显示节点的属性!我不知道为什么!
P.S: 一行csv文件和标题是:
"row.film_id,row.title,row.description,row.release_year,row.language_id,row.original_language_id,row.rental_duration,row.rental_rate,row.length,row.replacement_cost,row.rating,row. special_features,row.last_update “1”,“恐龙学院”,“女权主义者和疯狂科学家必须在加拿大落基山脉与老师战斗的史诗剧”,“2006”,“1”,“N”,“6”,“0.99”, "86","20.99","PG","删减幕后花絮","2006-02-15 05:03:42""
请帮帮我,我有一个任务。 :(
【问题讨论】: