kfaraz commented on PR #18477:
URL: https://github.com/apache/druid/pull/18477#issuecomment-3254480919

   > My opinion is that to create a new class named as SegmentInterval which 
inherits from current Interval class and then create a dedicated 
deserialization for this one to handle the segment interval format.
   
   Ah, that would have been nice but unfortunately `joda.Interval`is a final 
class.
   But we can still do this by passing in a `String` interval to `DataSegment` 
constructor
   and then using `SegmentId.tryParse()` as it already uses the improved 
algorithm.


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