8e812d87c0
ddl: check no partitions error when create partition table ( #9531 )
2019-03-09 13:13:42 +08:00
bae5cab29e
ddl: fix unique key constraint check for 'create table' ( #9345 )
2019-02-22 16:23:38 +08:00
f46c558a60
ddl,table/tables: handle partition by range column when len(column)=1 ( #9082 )
...
create table ... 'partition by range column', when len(column)=1,
the case can be transformed to 'partiton by range'
2019-02-20 17:02:14 +08:00
5bf9ad965d
ddl: check unique key constraint for 'alter table add index' on partitioned table ( #9323 )
2019-02-19 14:12:44 +08:00
33a961decf
ddl: fix canceling model.ActionRebaseAutoID and model.ActionShardRowID ddl jobs ( #9226 )
2019-02-18 11:34:13 +08:00
ec833bc4d2
*: fix some lints produced by golangci-lint ( #8999 )
2019-01-16 16:44:49 +08:00
3c98f69266
*: support select partition for partition table ( #8990 )
2019-01-14 20:55:52 +08:00
e03ef6099c
ddl: support alter table .. truncate partition ( #8624 )
2018-12-11 13:52:57 +08:00
0b8417614c
ddl: support truncate table on hash partitioned table ( #8401 )
2018-12-03 16:12:41 +08:00
e11859e653
*: support creating a hash partitioned table ( #8026 )
2018-11-20 16:15:09 +08:00
32b1dbd8d5
*: rename "github.com/pkg/errors" to "github.com/pingcap/errors" ( #8136 )
...
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
5831de291d
*: enable range typed table partition ( #8011 )
2018-10-26 20:04:07 +08:00
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
7b8caa1acd
ddl: fix reassigned partition id in truncate table does not take effect ( #7919 )
...
fix reassigned partition id in truncate table does not take effect
2018-10-23 18:14:47 +08:00
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
129f499f9b
ddl:fix create partitioned table with bigint column fail ( #7520 )
...
* ddl:fix create partitioned table with bigint column fail
2018-09-04 16:01:01 +08:00
1fa5669fb4
ddl: fix partition function check for partitioned table ( #7464 )
2018-08-23 18:17:43 +08:00
fc80029b2a
ddl: partition by range value should accept constant expression ( #7442 )
...
In partitioned table definition, the range value maybe not an integer,
it could be a constant expression.
For example, the following two cases are the same:
PARTITION p0 VALUES LESS THAN (TO_SECONDS('2004-01-01'))
PARTITION p0 VALUES LESS THAN (63340531200)
2018-08-21 17:13:31 +08:00
82a6c1085c
*: introduce the concept of physical ID, code refactory ( #7374 )
2018-08-16 10:33:24 +08:00
360ef5cee7
expression: tiny change to extend SimpleRewriter's ability ( #7373 )
2018-08-14 15:22:38 +08:00
9e1ae02df7
ddl: fix panic in checkRangePartitioningKeysConstraints when patition by range columns ( #7366 )
2018-08-13 14:07:51 +08:00
2225e01264
ddl:add constraints check when creating table partition ( #7164 )
...
* ddl: add unique index check when creating table partition
2018-08-06 21:22:33 -05:00
f59f696d23
ddl: add partion function check when create partion table ( #7111 )
...
* ddl: add partion func check when create partion table
2018-07-23 20:40:10 +08:00
3d04c5ef95
ddl: fix create partition table not suport bit and year column type ( #7122 )
2018-07-23 16:13:27 +08:00
46e5ff3f41
ddl: support truncate partitioned table and drop partitioned table ( #7036 )
2018-07-23 13:30:36 +08:00
6663f63534
ddl:check partition count limit when create partitioned table and add partitioned table ( #7069 )
...
* check partition count limit when create partitioned table and add partitioned table
2018-07-19 13:53:33 +08:00
cc722546ef
ddl:support alter table drop partition ( #6460 )
...
support alter table drop partition
2018-07-11 18:26:19 +08:00
9331a079f5
ddl:create table partition value must be strictly increasing ( #6912 )
...
* ddl:create table partition value must be strictly increasing
2018-07-09 18:02:48 +08:00