Skip to content

Commit d73dcbf

Browse files
authored
PIVOT-12499 Change VectoBlock.Length Measure Definition (#126)
1 parent a6779e2 commit d73dcbf

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/main/java/com/activeviam/mac/cfg/impl/ManagerDescriptionConfig.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -890,9 +890,10 @@ private void vectorMeasures(ICopperContext context) {
890890
.publish(context);
891891

892892
perChunkAggregation(DatastoreConstants.CHUNK__VECTOR_BLOCK_LENGTH)
893-
.custom(SingleValueFunction.PLUGIN_KEY)
894-
// The underlying vector block length should be the same for all the chunks of an
895-
// application
893+
.max()
894+
// The underlying vector block length might change from one vector to another depending on how the Aggregate
895+
// Provider computes the vector measure, since this measure does not give as much information as the others,
896+
// we decide to only show the maximum length.
896897
.per(Copper.level(new LevelIdentifier(FIELD_DIMENSION, FIELD_HIERARCHY, FIELD_HIERARCHY)))
897898
.doNotAggregateAbove()
898899
.as(VECTOR_BLOCK_SIZE)

0 commit comments

Comments
 (0)