druid/server
Gian Merlino 8fbf92e047
SqlSegmentsMetadataQuery: Fix OVERLAPS for wide target segments. (#12600)
* SqlSegmentsMetadataQuery: Fix OVERLAPS for wide target segments.

Segments with endpoints prior to year 0 or after year 9999 may overlap
the search intervals but not match the generated SQL conditions. So, we
need to add an additional OR condition to catch these.

I checked a real, live MySQL metadata store to confirm that the query
still uses metadata store indexes. It does.

* Add comments.
2022-06-07 11:33:46 -07:00
..
src SqlSegmentsMetadataQuery: Fix OVERLAPS for wide target segments. (#12600) 2022-06-07 11:33:46 -07:00
pom.xml Web console: Misc table fixes (#12489) 2022-05-03 12:08:08 -07:00