Commit Graph

24 Commits

Author SHA1 Message Date
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
f73c4e2d58 table: fix error code different from mysql "error 1604 : locate partition failed" (#9294) 2019-02-14 16:53:16 +08:00
3c98f69266 *: support select partition for partition table (#8990) 2019-01-14 20:55:52 +08:00
e06c87d3c1 add an option for AddRecord and Create (#8884) 2019-01-02 11:30:53 +08:00
dbf140f835 *: support select, insert for hash partition table. (#8411) 2018-12-05 23:47:29 +08:00
e11859e653 *: support creating a hash partitioned table (#8026) 2018-11-20 16:15:09 +08:00
f7d8ca624a plan: use Column.UniqueID in conditionChecker of ranger (#8236) 2018-11-12 12:45:25 +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
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
3ff237c211 plan,table: fix select null value for table partition (#7452) 2018-08-23 14:15:48 +08:00
bbec68304e executor,table: support replace operation for table partition (#7309) 2018-08-16 13:28:50 +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
410246a346 *: make partitioned table use statistics (#7340) 2018-08-10 18:20:25 +08:00
593810e259 table: fix show index for the partitioned table (#7346) 2018-08-10 16:19:10 +08:00
6569264176 rewrite CheckHandleExists to refactor partition (#7321) 2018-08-08 18:33:09 +08:00
f6dbad0f5c *: move the dirty table modification to table package (#7289) 2018-08-07 15:38:01 +08:00
9813c71498 *: support update operation for table partition (#7166) 2018-08-07 10:34:20 +08:00
a816f7882a table,plan,executor: support delete operation for table partition (#7147) 2018-07-30 18:25:51 +08:00
6dc3f94393 table: Add a new interface in table.Table (#7167)
In some cases, We need to get the PartitionID instead of the TableID. So
we should call GetID() instead of Meta().ID.
2018-07-27 11:22:52 +08:00
2fba9931c7 *: remove DatumRow (#7165) 2018-07-26 19:42:58 +08:00
44e34bd304 *: index refactor for table partition (#7062) 2018-07-17 14:01:50 +08:00
26a0338ed5 table: table and partition refactor (#6963)
* let partition and table share the common code
* introduce a new PartitionedTable
2018-07-10 00:32:36 +08:00