-
Notifications
You must be signed in to change notification settings - Fork 197
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
数据在线全量导入功能报错json解析错误 #839
Comments
lgraph_import -c import.config --online true --verbose 2 -r http://127.0.0.1:7070 -u admin -p 73@TuGraph --graph default --continue_on_error true |
我尝试了增量导入,但是我边中属性有pair_unique修饰,导入时如果此属性有重复的数据,则会导入中断。所以想尝试在线全量导入的方式。目前这个在线全量导入是我使用方式不对还是说有Bug? |
--online_type 1全量导入时应该是有bug,我这边也已经复现了。全量导入先用离线导入方式吧 |
用upsert语句写入数据吧,通用点。 |
我再看看其他方式吧 |
执行语句:lgraph_import -c zl_model_import.conf --online true --online_type 1 –verbose 2 -r http://127.0.0.1:7070 -u admin -p 73@TuGraph --graph default --continue_on_error true
参考文档地址:https://tugraph-db.readthedocs.io/zh-cn/latest/6.utility-tools/1.data-import.html#id12
报错信息:[20241230 10:37:04.419537 0x00007fda9d9a1a40 INFO toolkits/lgraph_import.cpp:325] An error occurred during import:
status code error [status_code: 500, error_message: CypherException: [json.exception.parse_error.101] parse error at line 1, column 1: syntax error while parsing value - unexpected end of input; expected '[', '{', or a literal]
The text was updated successfully, but these errors were encountered: