imay commented on issue #2663: [Proposal] Support partition overwrite operation
URL: 
https://github.com/apache/incubator-doris/issues/2663#issuecomment-584169740
 
 
   > > In the statement the replaced partition is already specified.
   > 
   > No, I mean we have to specify the name of corresponding formal partition 
in `CREATE TEMP PARTITION` stmt. Otherwise we can control the range of a temp 
partition user created.
   
   I don't quite understand why you should indicate the name of the associated 
partition when creating the partition?
    
   > And I think this is OK, just leave it to user how to use it. And in 
`REPLACE` operation, I will only check after replacing, the new ranges are not 
conflict.
   
   I want to emphasize that it is not enough to just check for conflicts. You 
need to check if the two partitions replaced before and after are exactly 
enough to cover. The conflict just says that the partitions overlap, and there 
is another case where there are holes between the partitions

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