gianm opened a new pull request, #15778:
URL: https://github.com/apache/druid/pull/15778

   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.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to