Commit Graph

420 Commits

Author SHA1 Message Date
75913fdc9c executor,kv: support timebounded staleness transaction (#23866) 2021-04-27 15:44:00 +08:00
bd2553734b expression: support enum pushdown (#22686) 2021-04-26 18:51:56 +08:00
ae7346fc64 statistics: introduce the weighted reservoir sampling (#24089) 2021-04-22 16:43:54 +08:00
bc4bde76eb *: update br (#24128) 2021-04-19 20:29:52 +08:00
c437c4dadb plugin, tests, tools, tidb: unify go modules (#23610) 2021-04-15 16:17:54 +08:00
1ec1a68135 expression: Fix incorrect pushdown function list. (#23982) 2021-04-14 16:29:53 +08:00
xhe
2ea64b28fd executor,distsql: clean up useless interface (#23885) 2021-04-09 21:30:33 +08:00
3d8084e972 store/mockstore/unistore: migrate unistore core lib code to tidb repo for removing tidb dependency on unistore (#23837) 2021-04-07 18:47:00 +08:00
7cf12a68ac *: add test for modifying default length of cast as decimal (#23680) 2021-04-07 13:24:31 +08:00
f97496d0fc expression: Implementation of Vitess hashing algorithm. (#23493) 2021-04-06 23:00:32 +08:00
3711df6973 go.mod:update br to the newest master (#23654) 2021-03-30 13:27:24 +08:00
9b4ae3a0fb go.mod: update parser to fix panic on connection verification (#23532) 2021-03-25 21:35:23 +08:00
86c8bf0550 *: update PD dependency to latest master (#23475) 2021-03-24 12:09:37 +08:00
7d113f0dbe ddl: add truncate partition all support (#23040) 2021-03-19 23:11:36 +08:00
96a0cda96e go.mod: update BR dependency to the latest (#23429) 2021-03-19 15:45:36 +08:00
915dde1f93 tidb: fix parquet dep version (#23416) 2021-03-18 21:28:35 +08:00
6ba51c8eac plan: setting not null flag for extrak pk (#23237) 2021-03-18 17:27:36 +08:00
fd706ab76b go.mod:update br to the latest version (#23379) 2021-03-17 19:32:55 +08:00
0bfef64e2f config: add pd client option to enable request redirection (#23025) 2021-03-16 18:22:55 +08:00
2bea06ed23 util, types: don't let SPM be affected by charset (#23161) 2021-03-12 22:39:10 +08:00
f77bbc4cb2 planner/core: pass the elems info to fieldtype only for exchanger (#23203)
* planner/core: pass the elems info to fieldtype only for exchange receiver.

* address comments

* address comments

Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-03-12 18:50:53 +08:00
6b69883410 MPP: Kill mpp queries (#23056)
* run ok

* update comments

* send cancle cmd to all tiflash stores

* updated

* log error if sending failed

* update comments

* disable send task when being killed

* update function name

* add test for kill mpp when mocking grpc hang

* update imports

* update comments

* clean go.mod

* updated

* use cancel to avoid goroutine leak, ensure cancellMppTasks being called just once

* update go.mod

* add test for avoiding goroutine leak

* update test

* update test

* remove unnecessary leak test
2021-03-12 17:27:30 +08:00
276dd0e69e util: optimize the performance of restore with db (#22910) 2021-03-12 16:46:56 +08:00
362883c245 expression, planner: allow pushdown count distinct when enumerate physical plans (#22867) 2021-03-11 19:22:55 +08:00
7fdfc44f8c statistics: add tests for analyze with dynamic partition prune mode (#23113) 2021-03-05 16:26:54 +08:00
4a598acf63 store/copr: polish the tiflash-tikv fallback function. (#23078) 2021-03-04 20:42:54 +08:00
5f73c822ca kv/union_store:remove tableinfo from union_store (#22976)
Co-authored-by: disksing <i@disksing.com>
2021-03-04 16:30:42 +08:00
d3fe2187a9 statistics: introduce a new kind of syntax to drop global-stats (#23061) 2021-03-03 14:50:54 +08:00
622f702aae store/mockstore/unistore: refine and add more mpp tests (#22803)
* refine and add more tests

* fix make dev and address comments

* fix make dev
2021-03-03 14:31:05 +08:00
d94920e4a9 statistics: support dropping partition/global level statistics (#23023) 2021-03-02 16:52:48 +08:00
a8b50104df *: update PD client (#23043) 2021-03-02 11:46:54 +08:00
6bd6df7d1e planner: let tikv know primary prefix columns info (#22829) 2021-03-01 16:20:54 +08:00
8a490e96b5 parser: quote identifier with backquote when getting SQL digest (#22893) 2021-02-26 14:54:54 +08:00
dd5457fbdf Revert "*: upgrade go version to 1.16 (#22895)" (#22906)
This reverts commit ae46cda24e7fee5b173fda51fee24444e9bac458.

Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-02-24 15:04:48 +08:00
ae46cda24e *: upgrade go version to 1.16 (#22895) 2021-02-24 10:42:43 +08:00
99c0abada3 tikv/interface:remove kv.Storage from tikv.Storage (#22868) 2021-02-23 09:58:45 +08:00
c9e85ec701 expression: refine performance of EXTRACT function (#22701) 2021-02-19 15:31:27 +08:00
46acccede1 *: uprgade gopsutil to v3.20.12 (#22747) 2021-02-05 15:50:11 +08:00
d16241c0cc client: update PD client to make sure the TSO uniqueness (#22476)
Signed-off-by: JmPotato <ghzpotato@gmail.com>
2021-02-04 18:14:46 +08:00
2fc1703a9c session, exectutor: Guarantee external consistency by default; Add an explicit begin statement to disable it (#22597)
Signed-off-by: ekexium <ekexium@gmail.com>
2021-02-04 16:09:46 +08:00
ee876397ac unistore/cophandler: change the logic of mpp execution in unit test. (#22428) 2021-02-01 19:06:42 +08:00
c461f363f9 gc_worker: Set endKey parameter of ScanLock request (#22519)
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
2021-01-29 10:31:44 +08:00
355fdfee4b brie: update br pkg to latest master (#22528) 2021-01-28 23:49:45 +08:00
0aa476034a go.mod, statistics, planner: replace TIDB_STATS with STATS_EXTENDED (#22492) 2021-01-25 21:18:07 +08:00
8cc5e170e9 *: using a lru cache in cachedb (#22312)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2021-01-09 14:48:58 +08:00
c2ee8d37c2 *: bump tidb's parser to the latest version (#22218)
Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
2021-01-08 17:58:58 +08:00
6e98d18e94 planner: push down projection for tiflash (#21459) 2021-01-07 11:41:44 +08:00
8ef1031623 *: remove tidb-lightning pkg to fix unexpected config change (#22164) 2021-01-06 14:17:34 +08:00
xhe
ffd9011665 ddl: refine placement spec building by yaml (#22018)
Signed-off-by: xhe <xw897002528@gmail.com>
2021-01-05 12:33:14 +08:00
d337bf4cd4 parser: update parser and add test for parse identifier (#21908) 2020-12-24 11:48:32 +08:00