From 618686f6f787f4d33108503bc728ea281f141a5e Mon Sep 17 00:00:00 2001 From: sriram-atlan Date: Thu, 6 Mar 2025 19:35:52 +0530 Subject: [PATCH] not call prefetch without flag --- .../atlas/repository/store/graph/v2/EntityGraphRetriever.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphRetriever.java b/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphRetriever.java index 1dd35ed8c6..51b74ecc25 100644 --- a/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphRetriever.java +++ b/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphRetriever.java @@ -295,7 +295,7 @@ public AtlasObjectId toAtlasObjectId(AtlasVertex entityVertex) throws AtlasBaseE referenceVertexProperties = preloadProperties(entityVertex, entityType, relationAttributes, false); } for (AtlasAttribute attribute : entityType.getUniqAttributes().values()) { - Object attrValue = getVertexAttributePreFetchCache(entityVertex, attribute, referenceVertexProperties); + Object attrValue = getVertexAttribute(entityVertex, attribute); if (attrValue != null) { uniqueAttributes.put(attribute.getName(), attrValue);