ArangoDB Import csv to edge (Graph)

I have a csv file that I want to import into a graph in ArangoDB. A newbie , I'm using ArangoDB3-3.1.24 community version. here is the 3 first rows of the csv file

id,_from,_to,score
1,568703.1,568703.2,282
2,568703.1,568703.31,183
3,568703.1,568703.91,238

And here what I tried

arangoimp --file "C:UsersMDesktopfile.csv" --server.username root --type csv --collection "Col_edge_L"

I think I'm missing something . Any help would be appreciated .


If the edge collection doesn't already exist then you'll need to also pass the params --create-collection true --create-collection-type edge .

It could also be that the file may not be accessible to arangoimp - it may not have sufficient permissions to access the user's desktop. Try moving it to somewhere like c:temp and see if that helps.

链接地址: http://www.djcxy.com/p/96638.html

上一篇: 将ActiveX控件插入幻灯片幻灯片

下一篇: ArangoDB导入csv到边缘(图)