a2l007 commented on issue #6486: HavingSpecMetricComparator ignores comparison for custom Aggregator types URL: https://github.com/apache/incubator-druid/issues/6486#issuecomment-432406700 @jihoonson I see your point. Regarding the usecase, the custom metric in question is a compressed implementation of `BigDecimal`. In this case, I could use `BigDecimal.compareTo` instead of the Double conversion. Wouldn't this take care of the precision problem?
---------------------------------------------------------------- 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: commits-unsubscr...@druid.apache.org For additional commands, e-mail: commits-h...@druid.apache.org