mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-31 04:14:34 +00:00
MINOR: Fix DI most view data assets aggregation (#17288)
This commit is contained in:
parent
cf04d443fa
commit
a579431e4a
@ -19,7 +19,7 @@ public abstract class MostViewedEntitiesAggregator<A, B, M, S>
|
||||
for (B entityFqnBucket : getBuckets(entityFqnBuckets)) {
|
||||
String tableFqn = getKeyAsString(entityFqnBucket);
|
||||
S sumPageViews = getAggregations(entityFqnBucket, "pageViews");
|
||||
M ownerBucket = getBucketAggregation(entityFqnBucket, "owner");
|
||||
M ownerBucket = getBucketAggregation(entityFqnBucket, "owners");
|
||||
M entityTypeBucket = getBucketAggregation(entityFqnBucket, "entityType");
|
||||
M entityHrefBucket = getBucketAggregation(entityFqnBucket, "entityHref");
|
||||
String owner = getFirstValueFromBucketOrNull(ownerBucket);
|
||||
|
Loading…
x
Reference in New Issue
Block a user