a2l007 commented on issue #11179:
URL: https://github.com/apache/druid/issues/11179#issuecomment-843570972


   Looking at `SegmentAllocateAction.tryAllocateFirstSegment`, it looks like 
only the predefined granularities would be used. Any other granularities would 
be treated as explained earlier. Thinking about it, instead of fitting it into 
one of the closest predefined granularities, the allocate API should be able to 
accommodate the user specified segment granularity  if there are no existing 
segments for the current row. Not sure why the design is as such. Maybe 
@jihoonson  can help clarify that.
   
   > Does compaction task support non-predefined granularities? 
   
   Compaction is an overwrite task and yes it can support the non-predefined 
granularity specified.


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