Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
Signed-off-by: bowenlan-amzn <[email protected]>
  • Loading branch information
bowenlan-amzn committed Jan 3, 2024
1 parent 6e369b9 commit 480eb71
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
* <p>
* Currently supported rewrite:
* <ul>
* <li> date histogram -> date range filter.
* <li> date histogram : date range filter.
* Applied: DateHistogramAggregator, AutoDateHistogramAggregator, CompositeAggregator </li>
* </ul>
* @opensearch.internal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ public InternalAggregation[] buildAggregations(long[] owningBucketOrds) throws I

// Build results from fast filters optimization
if (bucketOrds != null) {
Map<CompositeKey, InternalComposite.InternalBucket> bucketMap = new HashMap<>();
final Map<CompositeKey, InternalComposite.InternalBucket> bucketMap = new HashMap<>();
for (InternalComposite.InternalBucket internalBucket : buckets) {
bucketMap.put(internalBucket.getRawKey(), internalBucket);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class RoundingValuesSource extends ValuesSource.Numeric {
/**
* @param vs The original values source
* @param preparedRounding How to round the values
* @param rounding The rounding strategy
*/
RoundingValuesSource(Numeric vs, Rounding.Prepared preparedRounding, Rounding rounding) {
this.vs = vs;
Expand Down

0 comments on commit 480eb71

Please sign in to comment.