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

add vertexKey without tag for encoder & add test #433

Merged
merged 1 commit into from
Jan 27, 2022

Conversation

Nicole00
Copy link
Contributor

// test orphanVertexKey
byte[] orphanVertexKey = getOrphanVertexKey("test_space", "Tom", "person");
hexStr = Hex.encodeHexString(orphanVertexKey);
expectResult = "07d80100546f6d0000000000000000000000000000000000";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prefer

"07" + "d80100546f6d0000000000000000000000000000000000"

and vertexKey = "01" + "d80100546f6d0000000000000000000000000000000000" + "02000000"

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and "d80100546f6d0000000000000000000000000000000000" could use the same variable.

@Nicole00 Nicole00 merged commit 62c2b3a into vesoft-inc:master Jan 27, 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

Successfully merging this pull request may close these issues.

2 participants