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

   ```
   // Zulu without millis
   "2022-01-01T00:00:00Z/2022-01-02T00:00:00Z",
   // Date-only
   "2022-01-01/2022-01-02",
   // start/period
   "2022-01-01T12:00:00Z/PT6H",
   // period/end
   "P2DT3H4M5S/2022-01-01T00:00:00Z"
   ```
   
   do we have such interval string for a segment ? I think considering all 
cases should be too complicated.
   the problem here is mainly related to the deserialization of interval of a 
segment because of extra large number of segment during loading.
   
   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.
   
   This would simplify the change.


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