adarshsanjeev opened a new issue, #12860:
URL: https://github.com/apache/druid/issues/12860

   ### Description
   
   Currently, if the metadata storage is queried for an interval inside the 
range [0000-01-01/10000-01-01], while the segment inside the storage has start 
or end outside this range, it may not be returned. 
   
   This is due to the fact that we use string comparison if the queries 
interval is inside the above range. 
   
   For example, if the segment on disk has an interval outside this range, 
[0001-01-01T00Z/19940-01-01T00Z], while the interval queried is [2020/2021], 
string comparison would return the result that '19940' < '2020', which excludes 
the segment, even though it does overlap.
   
   The PR https://github.com/apache/druid/pull/12844 addresses this issue for 
Eternity, however, other intervals like the example above would still have the 
issue.


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