nishantmonu51 opened a new issue #6039: Review comment - Extract Combining 
Factories for Float/Double/Long First/Last aggregators
URL: https://github.com/apache/incubator-druid/issues/6039
 
 
   The parameter of NullableAggregatorFactory is not the output selector type, 
it's the input selector type. So it should be BaseFloatColumnValueSelector for 
FloatFirstAggregatorFactory. The reason why this refactoring couldn't be done 
right now is that getCombiningFactory() returns an anonymous subclass of 
FloatFirstAggregatorFactory, that IMO wrong. It seems to me that it should be a 
separate class FloatFirstCombiningAggregatorFactory extends 
NullableAggregatorFactory<ColumnValueSelector<SerializablePair<Long, Float>>>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@druid.apache.org
For additional commands, e-mail: dev-h...@druid.apache.org

Reply via email to