somu-imply commented on a change in pull request #12320:
URL: https://github.com/apache/druid/pull/12320#discussion_r823050258



##########
File path: 
processing/src/main/java/org/apache/druid/query/aggregation/mean/DoubleMeanBufferAggregator.java
##########
@@ -51,6 +52,9 @@ public void aggregate(ByteBuffer buf, int position)
   {
     Object update = selector.getObject();
 
+    if (update == null && NullHandling.replaceWithDefault() == false) {

Review comment:
       Somehow setting 
   ```
   boolean status = selector.isNull();
       if (status == true && NullHandling.replaceWithDefault() == false) {
         return;
       }
   ```
   was not working but setting the update as null works correctly




-- 
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]

Reply via email to