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

fix(interactive): Fix several bugs in data-load-tools #3249

Merged
merged 5 commits into from
Sep 22, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
replace an identifier
siyuan0322 committed Sep 22, 2023
commit 1e652037541d67d96e6d3295481f88b8782e58a9
Original file line number Diff line number Diff line change
@@ -137,7 +137,7 @@ private String getVertexKeyEncoded(BytesRef keyRef) {
ByteBuffer buffer = ByteBuffer.wrap(keyRef.getBytes());
long tableId = buffer.getLong(0);
long hashId = buffer.getLong(8);
return tableId + "|" + hashId;
return tableId + "/" + hashId;
}

private String getEdgeKeyEncoded(BytesRef keyRef) {
@@ -146,6 +146,6 @@ private String getEdgeKeyEncoded(BytesRef keyRef) {
long srcHashId = buffer.getLong(8);
long dstHashId = buffer.getLong(16);
long eid = buffer.getLong(24);
return tableId + "|" + srcHashId + "|" + dstHashId + "|" + eid;
return tableId + "/" + srcHashId + "/" + dstHashId + "/" + eid;
}
}