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

upsertVertex 非主键字段报错:执行失败 failed to update vertex index, description:[testtest] already exists #741

Closed
ljhssga opened this issue Nov 9, 2024 · 2 comments · Fixed by #761

Comments

@ljhssga
Copy link

ljhssga commented Nov 9, 2024

Environment:

  • OS: ubuntu 22.04
  • CPU: [e.g. Intel Xeon xxxx]
  • TuGraph-DB Version 4.5.0

Describe the bug
这是我的结构
image
这是我的原始数据
{
"identity": 53,
"labels": [
"entity"
],
"properties": {
"name": "Bob_Cratchit",
"id": "Bob_Cratchit",
"_community_id": "0",
"description": "--"
},
"elementId": "53"
}
这是我的修改语句
CALL db.upsertVertex("entity", [{id: "Bob_Cratchit", name: "Bob_Cratchit", description: "Bob_Cratchit, clerk_to_Ebenezer_Scrooge", _document_id: "0", _chunk_id: "0", _community_id: "0"}])
执行后报错
image
当我把修改语句的description改为和原始数据一样,他是正确可以执行的

@Valdanitooooo
Copy link

Same here 😥

@zhangwh807
Copy link
Collaborator

同样是4.5.0版本,我并没有复现成功,方便的话加一下我们的社区群,我们一起看下
https://github.com/TuGraph-family/tugraph-db?tab=readme-ov-file#6-contact

@ljcui ljcui linked a pull request Nov 20, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

3 participants