Commit Graph

676 Commits

Author SHA1 Message Date
6fe7fe4424 executor : fix refill table id bug for tiflash partition reading (#19351) 2020-08-21 15:17:36 +08:00
75ebe66a0b planner: fix IsPointGetWithPKOrUniqueKeyByAutoCommit for clustered index (#19255) 2020-08-20 13:30:04 +08:00
201153e4ba planner: make except/intersect support different column type (#18846)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-18 15:31:14 +08:00
37984d7cb0 tests: improve tests for Windows platform (#19088)
* tests: improve tests for Windows platform

* fix race build

* update badger to fix kill issue on Windows

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-13 17:17:19 +08:00
f172a1e08a planner: make some access paths check fit the clustered index (#18998)
* planner: make some access paths check fit the clustered index

* add test

* add test for outer join elimination

* make test stable

* fix test

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-10 15:33:17 +08:00
d0639b0056 *: use the newly designed memdb (#18657)
* *: use the newly designed memdb

* address comments

* remove duplicated comments

Co-authored-by: Evan Zhou <coocood@gmail.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-03 20:51:05 +08:00
2a8b968453 test: stabilize TestClusterIndexShowTableRegion (#18868) 2020-07-31 16:42:53 +08:00
a1dc4381c5 planner,executor: implement PartitionTable executor for the three reader (#18823) 2020-07-30 11:00:55 +08:00
f3554241bb planner, executor: support except and intersect set operator (#18459)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-07-27 17:56:07 +08:00
820f2cd939 executor: fix the key representation of 'show table regions' (#18721)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-07-24 08:54:02 +08:00
bead251b8b try to make TestSplitRegion stable (#18688)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-07-21 22:33:20 +08:00
168fcbb54f executor: make test stable (#18497)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-07-21 16:26:17 +08:00
761a961ba0 kv: refactor MemBuffer and reduce the memory usage (#18372) 2020-07-15 15:26:25 +08:00
a6971dd685 *: support 'admin check table' on clustered index table (#18346) 2020-07-14 15:59:37 +08:00
77aecd4b27 executor, planner: support split table regions on clustered index (#18465) 2020-07-13 21:40:40 +08:00
2dff44a1de fix Test failed case from PR/18277 (#18504) 2020-07-13 21:08:03 +08:00
b13fdb7bce *: make test more TestSortInDisk stable (#18424) 2020-07-13 11:51:55 +08:00
2b0b34b88e executor: kill tableReader for each connection correctly (#18277) 2020-07-09 18:09:08 +08:00
da90b23e6a executor, planner: fix clustered index UnionScan and IndexLookUp (#18427)
* executor, planner: fix clustered index union scan and index reader schema

* fix another bug

* address comment

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-07-08 11:57:09 +08:00
33f4b82166 ddl: fix issue pre_split_regions table option doesn't work in the partition table. #18144
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-06-29 14:04:46 +08:00
127ad504b2 table: optimize add record used in lightning (#18102) 2020-06-24 15:18:01 +08:00
dfca52cb0b executor: remove sensitive information in slow-log and statement (#18107) 2020-06-19 16:30:17 +08:00
ad598e431a executor: add the cache for apply executor (#17039) 2020-06-17 21:24:12 +08:00
a8da23c254 test: fix data race caused by update global config (#17964)
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-06-12 13:05:27 +08:00
3ab8f34110 table: fix a bug that replaces into a table with generated column fail (#17838)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-06-10 15:19:30 +08:00
6bb9b30e74 ddl: fix pre-split region timeout constraint not work when create table (#17459) 2020-06-03 11:18:27 +08:00
43965127c6 go.mod: update parser version to support delete partition (p0,p1) (#17381) 2020-05-25 13:32:22 +08:00
313ed01f03 expression,executor: fix DIV() as partition expression behavior under ERROR_FOR_DIVISION_BY_ZERO sql_mode (#17302) 2020-05-20 17:05:14 +08:00
5274e48204 planner, executor: support insert/replace into partition (#17280) 2020-05-20 16:48:32 +08:00
c60ea27e6c *: fix partition selection for the update statement (#17285) 2020-05-20 13:05:44 +08:00
1982be5009 executor: support show table partition regions (#17229) 2020-05-19 19:44:23 +08:00
ac30f5322e mockstore: introducing embedded unistore (#17156) 2020-05-18 17:28:44 +08:00
f06fc35531 planner: return error when SPLIT PARTITION TABLE on non-partitioned table (#17218) 2020-05-18 15:41:45 +08:00
f5706c9099 executor: fix slow_query bug when query with time equal condition (#17225) 2020-05-15 18:28:53 +08:00
bb6ab156c7 executor: make test stable (#17206) 2020-05-14 20:14:27 +08:00
bded6a2957 executor: refine split index region (#17070) 2020-05-13 22:31:00 +08:00
5a0787dfa9 executor: fix flashback table faild in uppercase database name (#17093) 2020-05-13 14:55:57 +08:00
22f0c7f6c1 executor: fix slow_query bug when query with time equal condition and in different time zone (#17082) 2020-05-13 14:34:01 +08:00
dd4f2405bd codec: improve the coverage of key path in codec (#17023) 2020-05-11 11:11:38 +08:00
c3b6a52beb executor: disallow subquery in insert values clause reference upper scope (#16872) 2020-04-30 14:31:56 +08:00
30f6f32708 tests: abstract Cluster interface for introducing new mock... (#16940) 2020-04-30 10:46:55 +08:00
26e208b9df executor, types: copy enum/set instead of refer the underlying data (#16858) 2020-04-28 13:00:40 +08:00
6814f8c94b *: refactor Handle in table package (#16807) 2020-04-27 10:04:50 +08:00
e607157efe util, executor: deep clone shallowRow in baseJoiner.Clone (#16644) 2020-04-24 15:10:06 +08:00
aab9917b91 ddl: split partition region when add a new partition (#16537) 2020-04-24 13:17:50 +08:00
8b6d53a4a9 expression: split isTrue and isFalse expression sig (#16542) 2020-04-20 20:11:47 +08:00
2a69052cf1 test: fix unit test and make test running serially. (#16525) 2020-04-20 17:44:26 +08:00
a0c7407846 executor: set length and frac when we change zero to decimal t… (#16518) 2020-04-18 00:01:37 +08:00
557d9d38b6 config: remove the config item 'enable-dynamic-config' (#16358) 2020-04-15 17:28:52 +08:00
7d8baddf29 test: skip plan cache for prepared stmt's cache tests (#16378) 2020-04-15 13:48:17 +08:00