From 09ae9b37ec554370e4d1ad93151c4d88a6b55df2 Mon Sep 17 00:00:00 2001 From: Maxoubu10 Date: Tue, 27 Jan 2026 09:59:13 +0100 Subject: [PATCH] change single value function to max --- .../activeviam/mac/cfg/impl/ManagerDescriptionConfig.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/activeviam/mac/cfg/impl/ManagerDescriptionConfig.java b/src/main/java/com/activeviam/mac/cfg/impl/ManagerDescriptionConfig.java index e3264545..d7932823 100644 --- a/src/main/java/com/activeviam/mac/cfg/impl/ManagerDescriptionConfig.java +++ b/src/main/java/com/activeviam/mac/cfg/impl/ManagerDescriptionConfig.java @@ -890,9 +890,10 @@ private void vectorMeasures(ICopperContext context) { .publish(context); perChunkAggregation(DatastoreConstants.CHUNK__VECTOR_BLOCK_LENGTH) - .custom(SingleValueFunction.PLUGIN_KEY) - // The underlying vector block length should be the same for all the chunks of an - // application + .max() + // The underlying vector block length might change from one vector to another depending on how the Aggregate + // Provider computes the vector measure, since this measure does not give as much information as the others, + // we decide to only show the maximum length. .per(Copper.level(new LevelIdentifier(FIELD_DIMENSION, FIELD_HIERARCHY, FIELD_HIERARCHY))) .doNotAggregateAbove() .as(VECTOR_BLOCK_SIZE)