Commit Graph

623 Commits

Author SHA1 Message Date
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
86ff21b076 *: add builtin aggregate function VAR_POP (#14101) 2020-01-07 20:55:29 +08:00
57bb931a27 planner: apply max/min elimination when other aggregations exist (#14376) 2020-01-07 19:36:39 +08:00
11b9beb969 *: resort fields for reducing the memory allocated (#14270) 2020-01-07 19:10:09 +08:00
40a6be1a82 bindinfo: handle statement hints in bindings (#14248) 2020-01-07 14:18:46 +08:00
f036eecc9d ddl: support create/drop expression index (#14117) 2020-01-07 10:29:39 +08:00
8c6234c1a2 planner/cascades: refactor the usage of CostLimit (#14356) 2020-01-06 19:36:09 +08:00
a7e98ac9e5 planner: do not filter access paths by isolation read for mysql.SystemDB (#14309) 2020-01-06 14:20:40 +08:00
0adab37467 expression: open CAST string as real push down switcher (#14323)
Signed-off-by: Lonng <heng@lonng.org>
2020-01-06 11:28:02 +08:00
d07728468f planner: fix error when select view_name.col_name from view_name (#14314) 2020-01-03 16:16:39 +08:00
e755459788 bindinfo: change the way of generate hints from sql (#14095) 2020-01-02 14:31:39 +08:00
e96be4580f plan, partition: add fast access path for hash partition (#13772) 2020-01-02 13:33:09 +08:00
1437d7e65b expression: open push down switcher for part of CAST functions (#13837)
Signed-off-by: Lonng <heng@lonng.org>
2020-01-02 11:43:43 +08:00
ae106f2e3b executor: support IndexMergeReaderExecutor (#12305) 2019-12-31 15:30:58 +08:00
fe764a97a3 *: only add union scan when dirty table is not empty (#14265) 2019-12-31 13:20:27 +08:00
d006443194 type: encapsulate Time API (#14288) 2019-12-31 12:41:09 +08:00
c1bc9ffe5b *: add memory tracker for InsertExec and ReplaceExec (#14179) 2019-12-30 11:43:01 +08:00
66b8add23d executor: support show extended columns statement (#14262) 2019-12-28 21:49:09 +08:00
a5c4606e1e planner/cascades: add transformation rule PushLimitDownUnionAll. (#14264) 2019-12-28 20:41:09 +08:00
447cfbd067 bindinfo: fix bugs when capture and evolve plans (#14206) 2019-12-28 20:35:39 +08:00
635f2e1afd bindinfo: set default db for bindings correctly (#14077) 2019-12-27 18:02:09 +08:00
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
86ae838d5a planner/core: disallow using hidden column in insert statement (#14150) 2019-12-26 16:08:55 +08:00
fd3ada61ca infoschema: add plan field to the statement summary tables (#14182) 2019-12-26 15:04:39 +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
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
1335ffb6b7 *: support read consistency isolation level in the pessimistic transactions (#14087) 2019-12-24 21:24:39 +08:00
480f95b381 planner/cascades: add transformation rule MergeAdjacentSelection (#14165) 2019-12-24 13:56:39 +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
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
933715f4a2 infoschema: add metric database/table to query cluster metric via SQL. (#13757) 2019-12-20 16:13:28 +08:00
730ea8ccdb infoschema: add server hardware and system sysctl cluster table (#13997) 2019-12-19 21:31:37 +08:00
39a370ce83 bindinfo: support drop bindings of dropped table (#14071) 2019-12-19 14:51:46 +08:00
67422f46dd planner/cascades: Add ImplementationRule for Window (#14085) 2019-12-19 11:27:46 +08:00
08be35d778 planner: fix wrong stats for physical union scan (#14093) 2019-12-19 10:37:16 +08:00
02408dbd04 planner: support cost model for Chunk encode format. (#13461) 2019-12-18 15:47:16 +08:00
dddb85ca92 bindinfo: remove last semicolon of bind sqls (#14110) 2019-12-18 15:35:46 +08:00
9b7b2c0d50 planner/core: fix bug when using generated column in aggregate statement (#14111) 2019-12-18 14:46:47 +08:00
42adca989e tables: basic support for hidden column (#13908) 2019-12-17 21:48:46 +08:00
54e3531d0b planner: TIDB_INLJ hint does not work for smaller left table (#14023) 2019-12-17 20:05:48 +08:00
438d39ebcd *: revert #10124 and remove sql mode PadCharToFullLength (#14007) 2019-12-17 15:25:06 +08:00
7262383c88 infoschema,planner: implement the CLUSTER_LOG memory table predicate push down (#14018)
Signed-off-by: Lonng <heng@lonng.org>
2019-12-16 21:53:45 +08:00