Commit Graph

668 Commits

Author SHA1 Message Date
36d2dbb7b1 planner: set the partition id to table id in DAG request (#14745) 2020-02-14 15:27:45 +08:00
a6e6e2ffe7 planner/cascades: add transformation rule TransformAggregateCaseToSelection (#14526) 2020-02-14 13:14:14 +08:00
27f8c3668f ddl: fix auto_increment is not compatible with MySQL (#14755) 2020-02-14 11:32:14 +08:00
e5bffd9470 planner, executor: let 'show [variables|status]' be sorted by… (#14727) 2020-02-14 10:43:11 +08:00
a4e8341add executor: fix offset of outerMatchStatus for outer hash join (#14773) 2020-02-13 18:57:04 +08:00
007c0e6656 *: support default expression value for sequence (#14589) 2020-02-13 18:50:33 +08:00
4755a9b9ef util: revert util/mathutil (#14744) 2020-02-13 11:33:04 +08:00
bce19d1264 planner/cascades: add transformation rule EliminateOuterJoinBelowAggregation (#14465) 2020-02-13 10:59:18 +08:00
03705d1344 test: fix TestAggToCopHint (#14741) 2020-02-12 21:46:17 +08:00
6702d95fc0 planner: prune columns again after predicate push down (#14683) 2020-02-12 18:13:18 +08:00
62e48ca046 test: optimize session tikv test (#14709) 2020-02-12 18:07:18 +08:00
6e867b7cbc planner: consider disk cost in Sort (#14708) 2020-02-12 11:40:47 +08:00
7ecb7e6f48 infoschema: add metrics_summary_by_label table to query all detail metrics (#14663) 2020-02-11 14:08:11 +08:00
74e49085cf planner: make the read storage hint not force plan (#14644) 2020-02-10 20:02:22 +08:00
4cfe17854e executor: support show create sequence (#14674) 2020-02-10 18:47:04 +08:00
1d9ed45b37 *: support virtual generate column substitute optimization (#14367) 2020-02-10 16:01:05 +08:00
56438a04cd executor: implement disk/cpu/memory/load diagnosis rules (#14668)
Signed-off-by: Lonng <heng@lonng.org>
2020-02-10 15:36:20 +08:00
da2ed2b5bc expression: fully open CAST push-down switcher (#14672)
Signed-off-by: Lonng <heng@lonng.org>
2020-02-09 16:27:45 +08:00
82c25a2253 planner/cascades: remove ColumnSubstitute in the rule PushSelDownAgg (#14591) 2020-02-07 15:08:11 +08:00
fd97efefde planner/cascades: add transformation rule MergeAdjacentTopN (#14345) 2020-02-07 10:54:53 +08:00
465af00b46 *: use new registrable terror (#14606) 2020-02-06 16:40:26 +08:00
d7654e3c93 test: fix random "IsolationRead" fails (#14615)
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-02-05 11:30:21 +08:00
43b8e133e7 planner/cascades: add transformation rule EliminateSingleMaxMin (#14274) 2020-02-05 11:18:53 +08:00
ebc6a2d39d *: add builtin aggregate function json_objectagg (#11154) 2020-02-04 21:41:55 +08:00
2192448e50 infoschema/metric_schema: add tikv metric tables (#14498) 2020-02-04 19:11:49 +08:00
ccc43c08f9 planner: add implementation rule for LogicalMemTable (#14577) 2020-02-04 14:48:53 +08:00
e79b71dc97 infoschema: add metric_summary table to query all summary metrics. (#14520) 2020-02-04 14:37:53 +08:00
e4eb58c86d executor: grant table level privilege should check table exist (#14540) 2020-01-30 11:57:23 +08:00
c2da4eafd7 planner: Fix SMJ hint, support SMJ with descending order. (#14505) 2020-01-25 10:10:10 +08:00
8be10ed2a2 planner/cascades: add transformation rule PushLimitDownOuterJoin (#14434) 2020-01-22 16:28:40 +08:00
b25c82452f ddl: support drop sequence in TiDB (#14442) 2020-01-20 15:49:04 +08:00
a5c0d56275 planner: enhance rule partition pruning (#14544) 2020-01-20 11:56:51 +08:00
cea80ae21b planner: remove the fields LogicalJoin.LeftJoinKeys and RightJoinKeys (#14468) 2020-01-19 19:16:32 +08:00
0b8eea36e1 config: add server level isolation read config (#14440) 2020-01-19 14:28:43 +08:00
5527c582e0 planner/cascades: add ImplementationRule for MergeJoin (#14450) 2020-01-18 22:16:50 +08:00
74bc00dfa9 Improve the performance of WindowExec by using multi-thread hash grouping (#14238) 2020-01-16 21:04:16 +08:00
cd9c65aad2 planner: fix some select condition do not filter by tiflash (#14502) 2020-01-16 16:20:22 +08:00
e39b504177 planner: adjust the cost model of Apply (#13550) 2020-01-15 19:43:50 +08:00
6cb4230c8f planner: reset plan id before optimizing point get (#14471) 2020-01-14 21:36:21 +08:00
5c874403fd planner/cascades: add transformation rule TransformLimitToTableDual (#14430) 2020-01-11 14:28:42 +08:00
2dcc032bc3 Makefile: add staticcheck (#14420) 2020-01-10 14:59:43 +08:00
1b34cc234e planner: add HashCode method for LogicalPlan & use PlanHash for GroupExpr's fingerPrint (#14224) 2020-01-10 11:41:12 +08:00
b6aca51d52 plan, partition: support point get plan on hash partition table (#14318) 2020-01-10 10:23:29 +08:00
4ed347cff8 planner,session: add Reload and File privilege, check Reload for the flush statement (#14319) 2020-01-09 19:59:12 +08:00
ff096ee2cf ddl : support create sequence in TiDB. (#14112) 2020-01-09 19:38:14 +08:00
dbb6fdf51d planner/cascades: add transformation rule PushTopNDownOuterJoin (#14249) 2020-01-09 17:56:50 +08:00
3f7df9702f *: support stream when read cluster memory table. (#14344) 2020-01-09 15:54:58 +08:00
7988e54304 planner/cascades: add transformation rule MergeAdjacentLimit (#14306) 2020-01-09 14:13:10 +08:00
b9091b0ce2 planner: fix panic when generating index merge path for unique index (#14382) 2020-01-08 11:14:25 +08:00
7881e4a75c information: refactor metric schema and add more metric table. (#14255) 2020-01-08 11:05:11 +08:00