Commit Graph

572 Commits

Author SHA1 Message Date
386ab8d8f6 planner/cascades: add transformation rule PushSelDownIndexScan (#13945) 2019-12-13 16:58:43 +08:00
f35be4a989 executor: support index advisor, complete input preparation part (#13968) 2019-12-13 15:46:44 +08:00
9a50cc3fef planner/cascades: add transformation rule MergeAggregationProjection (#13986) 2019-12-13 15:32:44 +08:00
66c7def9ab planner/cascades: add transformation rule PushSelDownUnionAll (#14033) 2019-12-12 19:47:58 +08:00
493c07c439 planner: correct row count estimation for inner child of index join (#13726) 2019-12-12 17:06:05 +08:00
1bcf267655 infoschema: add plan digest to slow log and slow_query (#14000) 2019-12-12 11:49:00 +08:00
0434e66879 planner: simplify IsAutoCommitNotValidTxn (#14026) 2019-12-12 10:53:28 +08:00
206cdbedfc types: fix insert error when convert string to float (#13716) 2019-12-10 16:03:25 +08:00
c796205825 planner: fix bug for logical rule outer join elimination (#13947) 2019-12-10 15:56:26 +08:00
a6d976440c executor: refactor the way of retreiving remote component configuration (#13832) 2019-12-10 14:49:56 +08:00
ebec6de11f *: rename IndexColName to IndexPartSpecification (#13941) 2019-12-10 14:22:44 +08:00
dd622a9398 planner/cascades: add transformation rule PushTopNDownProjection (#13855) 2019-12-09 15:25:44 +08:00
833968e553 planner/cascades: add transformation rule MergeAdjacentProjection (#13840) 2019-12-08 16:03:09 +08:00
b743208fd7 bindinfo, planner: fix sql bind when sql has symbol list (#13889) 2019-12-07 14:26:08 +08:00
71e1288f00 planner/cascades: support implementation rule Apply and MaxOneRow. (#13873) 2019-12-06 17:19:48 +08:00
64da4b583f planner/cascades: implement PreparePossibleProperties in cascades planner (#13910) 2019-12-06 15:52:49 +08:00
0a22034420 executor: add SHOW BUILTINS command (#12941) 2019-12-06 14:13:00 +08:00
ea1662a296 privilege: fix privilege check of GRANT ROLE (#13896) 2019-12-05 19:56:35 +08:00
21c817911d planner/cascades: add transformation rule ProjectionElimination (#13895) 2019-12-04 20:26:39 +08:00
7b09a11f17 planner,stats: don't re-calculate the index's ranges (#12856) 2019-12-04 17:19:48 +08:00
14e88358f0 planner/cascades: add Implementation for IndexScan and IndexRe… (#13282) 2019-12-04 14:39:48 +08:00
91181d5129 planner: support push predicates down to the memory table (#13821)
Signed-off-by: Lonng <heng@lonng.org>
2019-12-04 14:23:14 +08:00
43baa74fa2 planner/core: support get hints of query (#13851) 2019-12-04 14:19:07 +08:00
5b6422df58 *: support read remote TiDB memory table of cluster (#13065) 2019-12-04 13:05:36 +08:00
3de3e8dc85 planner/cascades: integrate BuildKeyInfo into cascades planner (#13799) 2019-12-04 10:45:09 +08:00
c5e1302908 planner: support plan digest (#13124) 2019-12-03 21:08:55 +08:00
9bd7a6de90 *: support flashback dropped/truncated table (#13109) 2019-12-03 19:49:48 +08:00
97a4fae7d2 ddl : support ADMIN REPAIR TABLE to override bad tableInfo in meta & supply a REPAIR MODE for safely restart. (#12046) 2019-12-03 13:50:26 +08:00
5a589c9994 planner: consider disk cost in hashJoin (#13246) 2019-12-03 13:43:19 +08:00
744c5c1d67 planner, executor: fix error code (#13733) 2019-12-03 13:14:49 +08:00
179b2f85aa planner/core: fix cannot record test of plan suite (#13854) 2019-12-02 21:01:58 +08:00
8fab2548d0 executor: show operators' disk consumption in results of EXPLAIN ANALYZE (#13764) 2019-12-02 17:04:29 +08:00
f686039802 planner/cascades: add ImplementationRule for UnionAll 2019-12-02 02:54:22 -06:00
de862fc620 planner: do not push keep descending order to tiflash (#13572) 2019-12-02 13:44:28 +08:00
1c59a53762 planner/core: raise 'No database selected' error for grant statement (#13745) 2019-11-27 20:41:41 +08:00
2082b68a41 test: optimize session&planner/core unit test (#13580) 2019-11-27 17:25:55 +08:00
e979cff6bb planner: add column mapping in explain result (#13640) 2019-11-27 16:39:19 +08:00
596fb64233 planner: support a hint to force using a IndexMerge path (#12843) 2019-11-27 15:44:25 +08:00
6b7e19ab41 extract a LogicalMemTable from DataSource to decouple memory/stored tables (#13741)
Signed-off-by: Lonng <heng@lonng.org>
2019-11-27 10:19:17 +08:00
a1dc0477a5 types: add error code for package types (#13300) 2019-11-26 19:45:14 +08:00
3a7d2a18d9 planner/core: fix not null flag for using and natural join (#13735) 2019-11-26 14:28:03 +08:00
ffa80571f8 planner/cascades: refactor the interface of Transformation (#13610) 2019-11-25 14:05:46 +08:00
518692c14c bindinfo: support evolve plan (#13465) 2019-11-22 17:09:37 +08:00
af2a2c5321 bindinfo: support bindings management (#13608) 2019-11-22 11:01:07 +08:00
de6277fe2d planner, executor: build ColWithCmpFuncManager.TmpConstant for indexJoin.innerWorker individually (#13669) 2019-11-21 21:31:08 +08:00
2dbbf7f028 planner: fill missing origin table name for DEFAULT() function (#12550) 2019-11-21 14:16:05 +08:00
96069cd749 planner: reuse GroupBy Columns when build finalModeAgg (#13653) 2019-11-21 13:53:37 +08:00
b5b42091d2 cache column idx in buildUpdateLists to reduce FindFieldName (#13530) 2019-11-21 13:15:10 +08:00
f98a1077c1 executor: refine the check of onlyFullGroupBy when groupByItem is parenthesesExpr or UnaryPlusExpr (#13655) 2019-11-21 12:39:07 +08:00
275984501f planner: Support assign DEFAULT in ON DUPLICATE KEY UPDATE statement (#13168) 2019-11-21 12:33:37 +08:00