Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于csv数据导入跟导出 #2

Open
fastcode3d opened this issue Feb 2, 2019 · 5 comments
Open

关于csv数据导入跟导出 #2

fastcode3d opened this issue Feb 2, 2019 · 5 comments

Comments

@fastcode3d
Copy link

请问csv导入的数据格式是什么?
我尝试了用
1 neo4j导出的csv进行导入,但是数据没有增加
2 我尝试用项目自带的导出csv数据进行导入,也失败了
请问是数据格式的问题吗?

@WSKNOO
Copy link

WSKNOO commented Apr 6, 2022

同问

@WSKNOO
Copy link

WSKNOO commented Apr 6, 2022

按照模板格式导入csv(utf8),只能看到图谱列表存在,但无法显示节点
image

@MiracleTanC
Copy link
Owner

请问csv导入的数据格式是什么? 我尝试了用 1 neo4j导出的csv进行导入,但是数据没有增加 2 我尝试用项目自带的导出csv数据进行导入,也失败了 请问是数据格式的问题吗?

支持,.xlsx,.xls,.csv,编码格式一定要是utf-8 无bom格式的,格式:节点-节点-关系,在本地测试时上传下载的文件要和neo4j在同一台电脑,当然如果能传到七牛或者hdfs上也是一样的,必须确认neo4j能访问到,否则load不成功

@MiracleTanC
Copy link
Owner

按照模板格式导入csv(utf8),只能看到图谱列表存在,但无法显示节点 image

https://neo4j.com/docs/cypher-manual/current/clauses/load-csv/ 先看一下官方文档,后边会单独解释下项目的导入功能

@WSKNOO
Copy link

WSKNOO commented Apr 6, 2022

感谢!已解决,是连接问题,导致请求不到数据,重启项目即可。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants