You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2019/10/16 02:21:31 UTC

[GitHub] [incubator-doris] morningman opened a new issue #1990: Support creating or adding fixed range partition

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


With regards,
Apache Git Services

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