Remove followers from data insights processing (#19973)

This commit is contained in:
IceS2 2025-02-25 17:54:24 +01:00 committed by GitHub
parent 97fad806a2
commit b587dfd344
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 5 deletions

View File

@ -4,7 +4,6 @@ import static org.openmetadata.schema.EntityInterface.ENTITY_TYPE_TO_CLASS_MAP;
import static org.openmetadata.service.apps.bundles.insights.utils.TimestampUtils.END_TIMESTAMP_KEY; import static org.openmetadata.service.apps.bundles.insights.utils.TimestampUtils.END_TIMESTAMP_KEY;
import static org.openmetadata.service.apps.bundles.insights.utils.TimestampUtils.START_TIMESTAMP_KEY; import static org.openmetadata.service.apps.bundles.insights.utils.TimestampUtils.START_TIMESTAMP_KEY;
import static org.openmetadata.service.apps.bundles.insights.workflows.dataAssets.DataAssetsWorkflow.ENTITY_TYPE_FIELDS_KEY; import static org.openmetadata.service.apps.bundles.insights.workflows.dataAssets.DataAssetsWorkflow.ENTITY_TYPE_FIELDS_KEY;
import static org.openmetadata.service.search.SearchIndexUtils.parseFollowers;
import static org.openmetadata.service.workflows.searchIndex.ReindexingUtil.ENTITY_TYPE_KEY; import static org.openmetadata.service.workflows.searchIndex.ReindexingUtil.ENTITY_TYPE_KEY;
import static org.openmetadata.service.workflows.searchIndex.ReindexingUtil.TIMESTAMP_KEY; import static org.openmetadata.service.workflows.searchIndex.ReindexingUtil.TIMESTAMP_KEY;
import static org.openmetadata.service.workflows.searchIndex.ReindexingUtil.getUpdatedStats; import static org.openmetadata.service.workflows.searchIndex.ReindexingUtil.getUpdatedStats;
@ -232,9 +231,6 @@ public class DataInsightsEntityEnricherProcessor
oCustomProperties.ifPresent( oCustomProperties.ifPresent(
o -> entityMap.put(String.format("%sCustomProperty", entityType), o)); o -> entityMap.put(String.format("%sCustomProperty", entityType), o));
// Parse Followers:
entityMap.put("followers", parseFollowers(entity.getFollowers()));
return entityMap; return entityMap;
} }

View File

@ -9,7 +9,6 @@
"version", "version",
"owners", "owners",
"tags", "tags",
"followers",
"extension", "extension",
"votes", "votes",
"fullyQualifiedName", "fullyQualifiedName",