Commit Graph

581 Commits

Author SHA1 Message Date
3f7df9702f *: support stream when read cluster memory table. (#14344) 2020-01-09 15:54:58 +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
f036eecc9d ddl: support create/drop expression index (#14117) 2020-01-07 10:29:39 +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
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
635f2e1afd bindinfo: set default db for bindings correctly (#14077) 2019-12-27 18:02:09 +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
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
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
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
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
80b9d876f8 planner/cascades: Add the transformation rule PushSelDownWindow (#14068) 2019-12-16 20:58:59 +08:00
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
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
71e1288f00 planner/cascades: support implementation rule Apply and MaxOneRow. (#13873) 2019-12-06 17:19:48 +08:00