Skip to content

Commit

Permalink
Add bulk and remove attribute support in bulk API
Browse files Browse the repository at this point in the history
  • Loading branch information
aarshi0301 committed Jan 17, 2024
1 parent acbfee6 commit 71dbaeb
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1770,10 +1770,14 @@ private AtlasEdge getEdgeUsingRelationship(AttributeMutationContext ctx, EntityM
AtlasEdge edge = relationshipStore.getRelationship(fromVertex, toVertex, new AtlasRelationship(relationshipName));

if (edge != null && getStatus(edge) != DELETED) {
return edge;
ret = edge;
}

RequestContext requestContext = RequestContext.get();
requestContext.recordEntityUpdate(entityRetriever.toAtlasEntityHeader(toVertex));
}
}

if (LOG.isDebugEnabled()) {
LOG.debug("<== getEdgeUsingRelationship({})", ctx);
}
Expand Down Expand Up @@ -2165,7 +2169,7 @@ public List removeArrayValue(AttributeMutationContext ctx, EntityMutationContext
LOG.debug("<== removeArrayValue({})", ctx);
}

return new ArrayList<>();
return entityRelationsDeleted;
}

private void addEdgesToContext(String guid, List<Object> newElementsCreated, List<AtlasEdge> removedElements) {
Expand Down

0 comments on commit 71dbaeb

Please sign in to comment.