//if composite attribute, remove the reference as well. else, just remove the edge
//for example, when table is deleted, process still references the table
//but when column is deleted, table will not reference the deleted column
...
...
@@ -485,7 +502,7 @@ public abstract class DeleteHandlerV1 {
propertyName+" on "+GraphHelper.getVertexDetails(outVertex)+" "+GraphHelper.getEdgeDetails(mapEdge));
}
if(shouldUpdateReverseAttribute){
if(shouldUpdateInverseReferences){
//remove this key
LOG.debug("Removing edge {}, key {} from the map attribute {}",string(mapEdge),key,
attributeName);
...
...
@@ -506,7 +523,7 @@ public abstract class DeleteHandlerV1 {
default:
thrownewIllegalStateException("There can't be an edge from "+GraphHelper.getVertexDetails(outVertex)+" to "
+GraphHelper.getVertexDetails(inVertex)+" with attribute name "+attributeName+" which is not class/array/map attribute");
+GraphHelper.getVertexDetails(inVertex)+" with attribute name "+attributeName+" which is not class/array/map attribute. found "+attrType.getTypeCategory().name());