Remove sampleData and changeDescription from Data Insights documents (#17332)

This commit is contained in:
IceS2 2024-08-08 07:50:32 +02:00 committed by GitHub
parent f7a7529461
commit 9fcc8794a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -187,6 +187,11 @@ public class DataInsightsEntityEnricherProcessor
entityMap.put("hasDescription", CommonUtil.nullOrEmpty(entity.getDescription()) ? 0 : 1);
}
// Remove 'changeDescription' field
entityMap.remove("changeDescription");
// Remove 'sampleData'
entityMap.remove("sampleData");
return entityMap;
}