From 600dfafc0aed9ff0fb8f4fcb8330c598e86bde07 Mon Sep 17 00:00:00 2001 From: Ye Cao Date: Thu, 14 Nov 2024 15:57:15 +0800 Subject: [PATCH] Fix the wrong objectID in resolveVineyardObject. Signed-off-by: Ye Cao --- modules/graph/loader/arrow_fragment_loader.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/graph/loader/arrow_fragment_loader.cc b/modules/graph/loader/arrow_fragment_loader.cc index d4ffb492..233b7aa0 100644 --- a/modules/graph/loader/arrow_fragment_loader.cc +++ b/modules/graph/loader/arrow_fragment_loader.cc @@ -553,7 +553,7 @@ boost::leaf::result DataLoader::resolveVineyardObject( // encoding: 'o' prefix for object id, and 's' prefix for object name. CHECK_OR_RAISE(!source.empty() && (source[0] == 'o' || source[0] == 's')); if (source[0] == 'o') { - sourceId = vineyard::ObjectIDFromString(source.substr(1)); + sourceId = vineyard::ObjectIDFromString(source); } else { VY_OK_OR_RAISE(client_.GetName(source.substr(1), sourceId, true)); }