Commit Graph

689 Commits

Author SHA1 Message Date
bada2801ac *: fix cop task runtime information is wrong in the concurrent executor (#19849)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-09-11 14:14:37 +08:00
449587a085 *: using standard error to replace terror (#19425) 2020-09-08 20:15:51 +08:00
354f3997c0 executor: add concurrency limit on union executor (#19827) 2020-09-08 19:16:23 +08:00
0e26d40948 distsql: fix wrong default max allowed packet (#19573)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-09-08 15:35:53 +08:00
c56f318349 expression: support %r and %T format for STR_TO_DATE() (#19474)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
Co-authored-by: Zhang Jian <zjsariel@gmail.com>
2020-09-02 09:53:00 +08:00
915d84d7ad executor: add pessimistic lock keys runtime information (#19547)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-09-01 20:46:31 +08:00
438945d294 *: enable clustered index by default (#19582) 2020-08-31 16:54:51 +08:00
1d6c62c2ce test: fix unstable tests using failpoint (#19561) 2020-08-31 09:32:26 +08:00
88e47b8066 executor: add a test for IndexLookUp executed as inner child of Apply (#19542) 2020-08-28 11:18:11 +08:00
deec855913 executor: fix incorrect results when there is an IndexLookUp under the inner side of an Apply (#19496) 2020-08-27 11:11:23 +08:00
e6a69309a5 range: build right range for NULL value on index column (#19385) 2020-08-25 13:55:49 +08:00
9620b710a0 executor: fix log desensitization bug in prestmt (#19392) 2020-08-24 17:31:51 +08:00
650be7c438 execute: add rpc runtime stats information for insert/update/replace statement (#19334) 2020-08-24 16:10:33 +08:00
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