You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: server/src/main/java/org/opensearch/index/compositeindex/datacube/startree/aggregators/CountValueAggregator.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ public Long mergeAggregatedValues(Long value, Long aggregatedValue) {
Copy file name to clipboardExpand all lines: server/src/main/java/org/opensearch/index/compositeindex/datacube/startree/aggregators/StatelessDoubleValueAggregator.java
Copy file name to clipboardExpand all lines: server/src/main/java/org/opensearch/index/compositeindex/datacube/startree/aggregators/SumValueAggregator.java
+2-2
Original file line number
Diff line number
Diff line change
@@ -87,12 +87,12 @@ public Double getInitialAggregatedValue(Double value) {
Copy file name to clipboardExpand all lines: server/src/main/java/org/opensearch/index/compositeindex/datacube/startree/aggregators/ValueAggregator.java
+2-2
Original file line number
Diff line number
Diff line change
@@ -50,9 +50,9 @@ default A getInitialAggregatedValue(A value) {
50
50
}
51
51
52
52
/**
53
-
* Converts an aggregated value from a Long type.
53
+
* Converts a segment long value to an aggregated value.
54
54
*/
55
-
AtoStarTreeNumericTypeValue(LongrawValue);
55
+
AtoAggregatedValueType(LongrawValue);
56
56
57
57
/**
58
58
* Fetches a value that does not alter the result of aggregations
Copy file name to clipboardExpand all lines: server/src/main/java/org/opensearch/index/compositeindex/datacube/startree/aggregators/ValueAggregatorFactory.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ public static ValueAggregator getValueAggregator(MetricStat aggregationType, Sta
30
30
// avg aggregator will be covered in the part of query (using count and sum)
Copy file name to clipboardExpand all lines: server/src/main/java/org/opensearch/index/compositeindex/datacube/startree/builder/BaseStarTreeBuilder.java
Copy file name to clipboardExpand all lines: server/src/test/java/org/opensearch/index/codec/composite/datacube/startree/StarTreeDocValuesFormatTests.java
Copy file name to clipboardExpand all lines: server/src/test/java/org/opensearch/index/compositeindex/datacube/startree/aggregators/AbstractValueAggregatorTests.java
Copy file name to clipboardExpand all lines: server/src/test/java/org/opensearch/index/compositeindex/datacube/startree/aggregators/CountValueAggregatorTests.java
+3-3
Original file line number
Diff line number
Diff line change
@@ -36,10 +36,10 @@ public void testGetInitialAggregatedValue() {
Copy file name to clipboardExpand all lines: server/src/test/java/org/opensearch/index/compositeindex/datacube/startree/aggregators/MaxValueAggregatorTests.java
+5-13
Original file line number
Diff line number
Diff line change
@@ -23,21 +23,13 @@ public void testMergeAggregatedValueAndSegmentValue() {
Copy file name to clipboardExpand all lines: server/src/test/java/org/opensearch/index/compositeindex/datacube/startree/aggregators/MetricAggregatorInfoTests.java
+4-4
Original file line number
Diff line number
Diff line change
@@ -27,12 +27,12 @@ public void testConstructor() {
Copy file name to clipboardExpand all lines: server/src/test/java/org/opensearch/index/compositeindex/datacube/startree/aggregators/MinValueAggregatorTests.java
+5-13
Original file line number
Diff line number
Diff line change
@@ -22,21 +22,13 @@ public void testMergeAggregatedValueAndSegmentValue() {
Copy file name to clipboardExpand all lines: server/src/test/java/org/opensearch/index/compositeindex/datacube/startree/aggregators/SumValueAggregatorTests.java
+5-9
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ public void testMergeAggregatedValueAndSegmentValue() {
Copy file name to clipboardExpand all lines: server/src/test/java/org/opensearch/index/compositeindex/datacube/startree/aggregators/ValueAggregatorFactoryTests.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ public void testGetValueAggregatorForMaxType() {
0 commit comments