Commit Graph

9986 Commits

Author SHA1 Message Date
7c902dc701 planner/cascades: add transformation rule PushLimitDownProjcetion (#14254) 2019-12-27 13:33:09 +08:00
7069ad64a7 planner/cascades: add transformation rule PushTopNDownTiKVSingleGather (#14242) 2019-12-27 13:14:39 +08:00
adc4931a94 privilege: Support identifying user created by IP and net mask (#14123) 2019-12-27 12:34:59 +08:00
8e88825f55 Tidy build constraints in mathutil (#14257)
- Rename *_js.go to *_wasm.go to satisfy both wasm/js and wasm/wasi
- Use +build instruction instead of *_GOOS pattern to reduce file

Signed-off-by: lucklove <gnu.crazier@gmail.com>
2019-12-26 21:11:13 +08:00
05596fe145 store: keep alive for etcd client (#14253)
Signed-off-by: qupeng <qupeng@pingcap.com>
2019-12-26 17:46:07 +08:00
86ae838d5a planner/core: disallow using hidden column in insert statement (#14150) 2019-12-26 16:08:55 +08:00
c444d7d737 expression: fix incorrect error handle in builtInMinute/Second/MicroSecondSig (#14060) 2019-12-26 15:17:39 +08:00
fd3ada61ca infoschema: add plan field to the statement summary tables (#14182) 2019-12-26 15:04:39 +08:00
7a024a2d25 tikv: do not refresh TiFlash work index when region is refreshed in cache (#14205) 2019-12-26 13:25:09 +08:00
f18abc980d planner: fix row count estimation for unique composite IndexScan of IndexJoin (#14167) 2019-12-25 19:53:10 +08:00
980f72dca5 planner/cascades: add transformation rule PushTopNDownUnionAll (#14214) 2019-12-25 19:47:09 +08:00
aa2f716847 executor: avoid ProjectoinExec's goroutine leak (#14127) 2019-12-25 16:51:10 +08:00
efd34cb65d executor: add memTracker for aggregation (#13720) 2019-12-25 16:07:09 +08:00
57ecfb9b46 *: implement the diagnostics inspection framework (#14114)
Signed-off-by: Lonng <heng@lonng.org>
2019-12-25 15:58:58 +08:00
279ad0d41c infoschema,planner: implement the metric table predicate push down (#14169) 2019-12-25 10:54:25 +08:00
7f8c3c8083 expression: Enable 34 functions (#13970) 2019-12-24 22:04:09 +08:00
1dbe685495 metrics, store: remove confused counter and histogram (#14203) 2019-12-24 21:58:09 +08:00
8ab14c138f executor: add lockkeys duration in slow log (#14210) 2019-12-24 21:52:09 +08:00
f944c5115f ddl: move initialization of TableID and PartitionID out of buildTableInfo (#14184) 2019-12-24 21:44:09 +08:00
1335ffb6b7 *: support read consistency isolation level in the pessimistic transactions (#14087) 2019-12-24 21:24:39 +08:00
f0d313470f executor: record lockkeys waited flag and duration in stmtctx (#14209) 2019-12-24 20:24:12 +08:00
85afb8227e util: remove the optimization in CopySelectedJoinRows() to fix a bug in OuterHashJoin (#14010) 2019-12-24 16:58:39 +08:00
480f95b381 planner/cascades: add transformation rule MergeAdjacentSelection (#14165) 2019-12-24 13:56:39 +08:00
9e376cf43d store/tikv: keepalive with pd (#14118) 2019-12-24 13:10:09 +08:00
e8c198d235 *: implement the INSPECTION_SCHEMA to provide snapshot of inspection tables (#14147)
Signed-off-by: Lonng <heng@lonng.org>
2019-12-24 11:24:14 +08:00
1fe93b4fda docs: fix two broken links (#14196) 2019-12-24 10:50:42 +08:00
9e63120472 session,domain,owner: test the session package with tikv (#14149) 2019-12-24 10:40:09 +08:00
2bdd4368d5 expression: fix incompatible problems in vectorized builtinUnaryMinusIntSig (#14193) 2019-12-23 08:12:37 -06:00
03f9a95a35 executor: add metric to trace tikvTxn LockKeys time consume (#14189) 2019-12-23 21:00:09 +08:00
7e6ce6403d types: add a interface to eval the memory cost of datum array (#14185) 2019-12-23 19:36:47 +08:00
ef7adeb50d *: resort fields for reducing the memory allocated (#14172) 2019-12-23 17:10:09 +08:00
558d9e2967 planner/cascades: support outer join implementation and push down selection for outer join (#13996) 2019-12-23 16:53:40 +08:00
8666a6f038 util: refine expensive query log during bootstrap (#14181) 2019-12-23 16:46:11 +08:00
db97ad9a03 util: fix compile on windows caused by wasm support (#14183) 2019-12-23 16:04:40 +08:00
8cbacf0d7c wasm: fix compile error for wasm (#14160)
Signed-off-by: 5kbpers <tangminghua@pingcap.com>
2019-12-23 15:17:46 +08:00
2e1b8c1cbe planner/cascades: add appliedRuleSet in GroupExpr to avoid re-apply rules (#14073) 2019-12-23 15:04:39 +08:00
fce9870208 ddl,executor: add auto_random column option (#13127) 2019-12-23 14:51:51 +08:00
f9cdebdd25 privilege: fix privilege problem after upgrade (#14177) 2019-12-23 13:36:46 +08:00
cd07c4550d *: support certificate based authentication (#13955) 2019-12-23 11:37:29 +08:00
f0282d32ca executor: trace the memory usage of Selection executors (#13927) 2019-12-22 21:18:02 -06:00
2ce3713803 executor: fix cases that some intermediate errors may be ignored when converting a vector to bools (#14081) 2019-12-22 21:10:56 -06:00
dc80933185 *:fix typo boostrap (#14174)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2019-12-23 10:52:18 +08:00
510c36d4cb planner: fix a bug for chunk cost model. (#14144) 2019-12-22 09:15:16 +08:00
c7c7b730e4 set global variable tidb_txn_mode to pessimistic during bootstrap. (#14154) 2019-12-21 00:46:46 +08:00
4d4678a4dd types: Fix potential timezone related bugs caused by gotime.Local (#13833) 2019-12-20 22:38:25 +08:00
1d60894c96 ddl: add index progress metric (#14055) 2019-12-20 21:50:43 +08:00
143abda3e9 server: add GRPC debug log when set a Env var (#14140) 2019-12-20 19:45:16 +08:00
11c3b25ba2 executor: fix missing cached execution counter for point select (#14163) 2019-12-20 19:35:49 +08:00
db2a87132f *: fix condition check push down for pessimistic transaction (#14141) 2019-12-20 19:29:16 +08:00
933715f4a2 infoschema: add metric database/table to query cluster metric via SQL. (#13757) 2019-12-20 16:13:28 +08:00