raghavyadav01 commented on code in PR #14084:
URL: https://github.com/apache/pinot/pull/14084#discussion_r1777415361
##########
pinot-timeseries/pinot-timeseries-spi/src/main/java/org/apache/pinot/tsdb/spi/series/builders/MinTimeSeriesBuilder.java:
##########
@@ -39,8 +39,8 @@ public MinTimeSeriesBuilder(String id, TimeBuckets
timeBuckets, List<String> tag
@Override
public void addValueAtIndex(int timeBucketIndex, Double value) {
- if (_values[timeBucketIndex] == null || value < _values[timeBucketIndex]) {
- _values[timeBucketIndex] = value;
+ if (value != null && (_values[timeBucketIndex] == null || value <
_values[timeBucketIndex])) {
+ _values[timeBucketIndex] = value;
Review Comment:
fixed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]