You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "maytasm (via GitHub)" <gi...@apache.org> on 2024/05/31 07:41:49 UTC

Re: [PR] Windowed min aggregates null-s as 0 (druid)

maytasm commented on PR #15371:
URL: https://github.com/apache/druid/pull/15371#issuecomment-2141404768

   Hmmm…..this PR might be causing a regression from https://github.com/apache/druid/commit/c353ccfdeff39dae99e1ebe5ce34bbacc7dd083f#diff-1aa22bcd62ddd4457f128832de7[…]08b954d015d8b3be6a03e3b3471aad6e3
   So….seems like if we have a COMPLEX column, the complex column can no longer be an input for numeric aggregator like doubleSum in the sql compatibility mode. In the sql compatibility mode, it will wrap the COMPLEX column selector (ObjectColumnSelector) in a NullableNumericBufferAggregator and then this call: https://github.com/apache/druid/blob/master/processing/src/main/java/org/apache/druid/query/aggregation/NullableNumericBufferAggregator.java#L70 would fails.


-- 
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: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org