From 1e652037541d67d96e6d3295481f88b8782e58a9 Mon Sep 17 00:00:00 2001 From: siyuan0322 Date: Fri, 22 Sep 2023 09:54:54 +0800 Subject: [PATCH] replace an identifier --- .../groot/dataload/databuild/DataBuildMapperOdpsDebug.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interactive_engine/data-load-tool/src/main/java/com/alibaba/graphscope/groot/dataload/databuild/DataBuildMapperOdpsDebug.java b/interactive_engine/data-load-tool/src/main/java/com/alibaba/graphscope/groot/dataload/databuild/DataBuildMapperOdpsDebug.java index 007187aeb1a5..ba2b9a42577f 100644 --- a/interactive_engine/data-load-tool/src/main/java/com/alibaba/graphscope/groot/dataload/databuild/DataBuildMapperOdpsDebug.java +++ b/interactive_engine/data-load-tool/src/main/java/com/alibaba/graphscope/groot/dataload/databuild/DataBuildMapperOdpsDebug.java @@ -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; } }