Commit Graph

705 Commits

Author SHA1 Message Date
afd223c32b ddl: support create list partition table (#20279) 2020-10-15 20:24:24 +08:00
a8c5532df0 expression: fix schema may change when execute DML statement (#20331) 2020-10-12 12:09:12 +08:00
789581bf29 parser: disallow subquery without table alias (#19102) 2020-10-09 15:53:40 +08:00
247a26ec70 util: reset the unused bytes in writeTime (#20284) 2020-10-04 13:36:12 +08:00
7e534d98ae executor: fix unstable TestCoprocessorOOMAction (#20238) 2020-09-27 18:43:27 +08:00
4ff2f926e2 executor, expression: set the evalType of hybrid type as ETInt in VecEvalBool (#20221) 2020-09-27 11:31:16 +08:00
0b7c7167d1 planner,executor: support global index for IndexScan and IndexLookUpReader (#19821) 2020-09-24 20:50:28 +08:00
bb354b0c30 *:Record the time consuming of memory operation of Insert Executor in Runtime Information (#19574) 2020-09-23 20:57:40 +08:00
205f02125f executor: add an OOMAction for copIterator to adaptive control the memory usage (#19246) 2020-09-22 14:27:55 +08:00
4ec101d7e3 planner: support parentheses change precedence for set operators (#18968) 2020-09-21 13:06:10 +08:00
0e4b809cad *: remove expression index out of the experiment feature (#19998)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-09-18 13:25:37 +08:00
f0db8c68e1 store/tikv: fix rpc runtime stats collect (#20014) 2020-09-16 13:47:05 +00:00
aed24e46e2 executor: fix query slow_query error when slow-log file not exist (#20000)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-09-15 20:45:00 +08:00
70a567e4cb session: refine error message desensitization (#19409) 2020-09-15 16:00:01 +08:00
64c2cc5cbc sessionctx,store,kv: add a session variable to export last txn info (#19949)
Signed-off-by: zyguan <zhongyangguan@gmail.com>
2020-09-14 13:04:05 +08:00
94704d0cc4 expression: incorrect error message of inserting enum & set (#19380) 2020-09-11 15:48:24 +08:00
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