glasser commented on issue #7243: stringFirst/stringLast crashes at aggregation 
time
URL: 
https://github.com/apache/incubator-druid/issues/7243#issuecomment-472146301
 
 
   I'd be happy to fix this, and it's probably a small fix, but I'm lost as to 
where the appropriate place to add a unit test is. It seems like the issue here 
is less "a specific class's implementation has a bug" and more "a class 
implements the wrong design which only fails in a larger context", so it seems 
like I'd want to write a test that actually uses the larger context that a 
StringFirstAggregatorFactory is used in, instead of just being a unit test that 
StringFirstAggregateCombiner implements what we now think it should implement. 
Anyone have a good idea of where such a test could go?  (An integration test 
seems overkill.)

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to