morningman opened a new issue #1990: Support creating or adding fixed range 
partition
URL: https://github.com/apache/incubator-doris/issues/1990
 
 
   **Motivation**
   
   Currently, we only support add partition with range set by `VALUES LESS 
THAN`,
   This limits that user must specify a series of continuous range of 
partition. And 
   only specify upper bound of partition range is convenient by not easy to 
understand.
   
   So we need a more flexible and easy to understand way to describe partition 
range in 
   CREATE TABLE or ADD PARTITION stmt.
   
   **How to**
   
   We add a new syntax for FIXED RANGE PARTITION:
   
   ```
   PARTITION p1 VALUES [("lower1", "lower2", ...), ("upper1", "upper2", ...)),
   PARTITION p1 VALUES [("lower1", "lower2", ...), ("upper1", "upper2", ...))
   ...
   ```
   
   User can specify both lower and upper bound of a partition range, and range 
continuity is
   no longer required.

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to