Commit ef752a18 by Ashutosh Mestry Committed by nixonrodrigues

ATLAS-3046: Part 3. Updated case for handling deleted classifications.

parent d2492997
...@@ -386,12 +386,8 @@ public class BulkFetchAndUpdate { ...@@ -386,12 +386,8 @@ public class BulkFetchAndUpdate {
continue; continue;
} }
header.setGuid(null);
if (header.getClassifications().size() == 0) {
continue;
}
String key = String.format("%s:%s", header.getTypeName(), uniqueName); String key = String.format("%s:%s", header.getTypeName(), uniqueName);
header.setGuid(null);
boolean keyFound = uniqueNameEntityHeaderMap.containsKey(key); boolean keyFound = uniqueNameEntityHeaderMap.containsKey(key);
if (!keyFound) { if (!keyFound) {
uniqueNameEntityHeaderMap.put(key, header); uniqueNameEntityHeaderMap.put(key, header);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment