csv导数数据报错:URI is not hierarchical
发布于 8 年前 作者 sammagata 5263 次浏览 来自 问答

USING PERIODIC COMMIT LOAD CSV WITH HEADERS FROM “file:products.csv” as row CREATE (:Product {productName: row.ProductName, productNumber: row.ProductNumber, productId: row.ProductID, modelName: row.ProductModelName, standardCost: row.StandardCost, listPrice: row.ListPrice}); 上面是我的导入语句,products.csv在我本地的import文件夹,看下面的截图: QQ截图20170306135002.png

4 回复

文件位置改成: file:///products.csv

感谢大神,我加了一个/,也就是file:/products.csv,执行成功了!

CSV with header导入出错 界面显示: Expected 1 to be a java.lang.string,but it is a java.lang.long 用的文件即是下载的tracks.csv 请高手指点一下,谢谢!

输入的语句是: load csv with headers from ‘file:///tracks.csv’ as linecreate:(:concept{id:line[1],track:line[2],length:line[3]})

回到顶部