mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-28 09:13:58 +00:00
Remove followers from data insights processing (#19973)
This commit is contained in:
parent
97fad806a2
commit
b587dfd344
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -9,7 +9,6 @@
|
|||||||
"version",
|
"version",
|
||||||
"owners",
|
"owners",
|
||||||
"tags",
|
"tags",
|
||||||
"followers",
|
|
||||||
"extension",
|
"extension",
|
||||||
"votes",
|
"votes",
|
||||||
"fullyQualifiedName",
|
"fullyQualifiedName",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user