FrankChen021 opened a new pull request, #19390:
URL: https://github.com/apache/druid/pull/19390

   ### Description
   This patch avoids wrapping nullable numeric aggregators when the direct 
numeric input column is known to have no nulls. This preserves nullable 
semantics for expressions, unknown nullability, and nullable columns, while 
allowing specialized query paths to see the underlying numeric aggregator for 
no-null columns.
   
   ### Changes
   - Skip nullable numeric aggregator wrappers when input column capabilities 
report numeric type and hasNulls=false.
   - Add direct-input-column hooks for simple long/float/double aggregators.
   - Add DoubleSumAggregatorFactory coverage for known no-null and 
unknown-nullability inputs.
   
   ### Tests
   - mvn test -pl processing -Dtest=DoubleSumAggregatorTest -Dcheckstyle.skip 
-Dpmd.skip=true


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