druid/processing
Gian Merlino e255d66b85
Fix two improper casts in HavingSpecMetricComparator. (#5352)
* Fix two improper casts in HavingSpecMetricComparator.

Fixes two things:

1. An improper double-to-long cast when comparing double metrics to any
   kind of value, which was a regression from #4883.
2. An improper double-to-long cast when comparing a long/int metric to a
   double/float value: the value was cast to long/int, drawing strange
   conclusions like int 100 matching a havingSpec of equalTo(100.5).

* Add comments.

* Remove extraneous comment.

* Simplify code a bit.
2018-02-06 13:18:55 -08:00
..
benchmarks Fix bugs in ImmutableRTree; Merge bytebuffer-collections module into druid-processing (#5275) 2018-01-23 00:49:59 +05:30
src Fix two improper casts in HavingSpecMetricComparator. (#5352) 2018-02-06 13:18:55 -08:00
pom.xml Update versions to 0.13.0-SNAPSHOT. (#5323) 2018-02-02 12:06:38 -06:00