Skip to content

Commit 3e2a26f

Browse files
committed
add attributes part of multi query
1 parent d348d18 commit 3e2a26f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphRetriever.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1177,9 +1177,7 @@ private Map<JanusGraphVertex, Map<String, Object>> getBatchPropertiesWithMultiQu
11771177

11781178
keys.addAll(attributes);
11791179

1180-
multiQuery.keys(Constants.TYPE_NAME_PROPERTY_KEY, Constants.GUID_PROPERTY_KEY,
1181-
Constants.CREATED_BY_KEY, Constants.MODIFIED_BY_KEY,
1182-
Constants.TIMESTAMP_PROPERTY_KEY, Constants.MODIFICATION_TIMESTAMP_PROPERTY_KEY, STATE_PROPERTY_KEY);
1180+
multiQuery.keys(keys.toArray(new String[0]));
11831181

11841182
Map<JanusGraphVertex, Map<String, Object>> vertexPropertiesMap = new HashMap<>();
11851183

0 commit comments

Comments
 (0)