imay commented on issue #2663: [Proposal] Support partition overwrite operation
URL: 
https://github.com/apache/incubator-doris/issues/2663#issuecomment-584179072
 
 
   > I mean, for example, the origin partition(p1, p2) ranges are:
   > [0, 10)
   > [10, 20)
   > 
   > And user create 2 temp partitions (tp1, tp2) with range:
   > [10, 11) and [15, 18)
   > 
   > And user replace the (p1, p2) with (tp1, tp2), should we allow this 
operation?
   > 
   > Two options. First, we check strictly. The range must be covered and 
equal. But if user really want to new range of tp1 and tp2? So the second 
option is, we only check for conflicts and not for coverage.
   
   Oh I see.
   
   My concern is that Doris should not allow the existence of holes at this 
time. If there is a hole, it may cause problems in other modules. So I am more 
inclined to check if it is covered. For the problem you said, then you need the 
user to create another 3 placeholders partition tp3 [0, 10), tp4 [11, 15), tp5 
[18, 20). In this case, we can make the user operate successfully.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to