capistrant opened a new issue #10875:
URL: https://github.com/apache/druid/issues/10875


   Please provide a detailed title (e.g. "Broker crashes when using TopN query 
with Bound filter" instead of just "Broker crashes").
   
   ### Affected Version
   
   0.20.0
   
   ### Description
   
   The `druid_segments` table stores the interval "end" as a string. ALL 
segment granularity sets that to `JodaUtils.MAX_INSTANT`. When looking for 
segments that have an interval end <= `durationToRetain` (set by operator), the 
query will do a compare on the "end" column. This is a string compare and since 
`JodaUtils.MAX_INSTANT` is `4611686018427387903` which translates to 
`146140482-04-24T15:36:27.903Z`, you are going to see unexpected behavior when 
comparing with most sane dates such as anything this year, `2021`.


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

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