mcvsubbu commented on issue #6302:
URL: https://github.com/apache/pinot/issues/6302#issuecomment-892008776


   > > Will it help if the realtime segments were moved to an offline table, 
and you just drop the realtime table when the segments are moved completely? We 
do have that feature now.
   > 
   > Good idea. But can we trigger a segment move (from REALTIME to OFFLINE) 
via the API? And know when this is done?
   > And can we drop the REALTIME table (of an hybrid table) without breaking 
anything?
   
   No, it is done automatically in a periodic manner. Also, you will need to 
deploy minions for it.
   
   Of course, you can always do this manually by downloading the segments and 
uploading them to the offline table. APIs are available for it. A small script 
can change the segment name. This is a hack (as of now, since segment name 
change is not a supported feature), but if, for example, we have an API to add 
a segment to a table under a different name (not a bad ask, IMO), your problem 
can be completely solved with APIs.
   
   Again, this is based on the assumption that yours is a one-time operation, 
and therefore having some manual intervention is not an 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