mirror of https://github.com/apache/druid.git
38a1e827ab
Fixes a bug introduced in #15609, where queries involving filters on TIME_FLOOR could encounter ClassCastException when comparing RangeValue in CombineAndSimplifyBounds. Prior to #15609, CombineAndSimplifyBounds would remove, rebuild, and re-add all numeric range filters as part of consolidating numeric range filters for the same column under the least restrictive type. #15609 included a change to only rebuild numeric range filters when a consolidation opportunity actually arises. The bug was introduced because the unconditional rebuild, as a side effect, masked the fact that in some cases range filters would be created with string match values and a LONG match value type. This patch changes the fixup to happen at the time the range filter is initially created, rather than in CombineAndSimplifyBounds. |
||
---|---|---|
.. | ||
src | ||
pom.xml |