mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-08 17:18:08 +00:00
This commit is contained in:
parent
b8f1491b8f
commit
fe0f9d88e9
@ -91,7 +91,8 @@ public class ChangeEventHandler implements EventHandler {
|
||||
if (Entity.shouldDisplayEntityChangeOnFeed(changeEvent.getEntityType())) {
|
||||
// ignore usageSummary updates in the feed
|
||||
boolean shouldIgnore = false;
|
||||
if (Entity.TABLE.equals(changeEvent.getEntityType()) && changeEvent.getChangeDescription() != null) {
|
||||
if (List.of(Entity.TABLE, Entity.DASHBOARD).contains(changeEvent.getEntityType())
|
||||
&& changeEvent.getChangeDescription() != null) {
|
||||
List<FieldChange> fields = changeEvent.getChangeDescription().getFieldsUpdated();
|
||||
shouldIgnore = fields.stream().anyMatch(field -> field.getName().equals("usageSummary"));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user