Commit Graph

300 Commits

Author SHA1 Message Date
dd57c0ad8b planner: ban rule_generate_column_substitute when column's… (#16316) 2020-04-17 19:43:30 +08:00
d8e6cf8de6 planner/core: support partition pruning for partition expression floor(unix_timestamp()) (#16402) 2020-04-17 16:17:33 +08:00
b8494e7a11 expression: support disable expression pushdown based on store… (#16389) 2020-04-17 14:53:25 +08:00
8f000fc353 planner: push avg & distinct functions across union (#16344) 2020-04-15 18:07:37 +08:00
c561d5aa99 *: remove useless conversions and omit some types (#16262) 2020-04-10 00:23:06 +08:00
aa7ef9c464 planner: fix wrong outer join elimination when join key is empty (#15894) 2020-04-02 15:08:34 +08:00
4eb9ca3d3f planner: push aggregation functions with distinct to cop (#15500) 2020-04-01 20:49:14 +08:00
21ee980e11 *: Refine Explain's format. (#15507) 2020-03-23 17:57:49 +08:00
5282d089c7 executor: support generated column on point get and batch point get (#15544) 2020-03-23 14:21:35 +08:00
7ceb49f5bc *: do not add extra locks for optimistic transactions (#15558) 2020-03-23 09:19:30 +08:00
60ba54e040 config: add option 'allow-expression-index' for expression index (#15259) 2020-03-20 19:03:22 +08:00
20a19220a7 planner: refactor memory table explain information and add explain interface for other extractors (#15377) 2020-03-16 17:40:24 +08:00
a999ef6981 expression: support different expr push down for TiKV and TiFlash (#15174) 2020-03-11 16:16:03 +08:00
248be5bba5 planner: push down Lock to PointGet and BatchPointGet (#15257) 2020-03-11 13:58:32 +08:00
183a9d585a *: update explain info of outer hash joins (#15247) 2020-03-10 20:38:02 +08:00
0f0bdef81b upgrade pd-client to support pd client tls reload (#15071) 2020-03-09 21:22:16 +08:00
9e98f706ae planner, executor: support point get as a option of DataSource (#14775) 2020-03-09 10:47:16 +08:00
0ddfe0716f *: fix datum's collation behavior to build correct logical ranges (#14963) 2020-03-05 22:34:46 +08:00
6ccdf645dc ddl: add a channel to limit multiple DDL jobs writing at the same time (#14342) 2020-03-05 14:13:38 +08:00
77dcdc546d *: Clear the name of some field in explain result. (#14958) 2020-03-02 17:43:22 +08:00
c1114b9724 planner, executor: enable inline projection for index joins (#15004) 2020-03-02 15:32:09 +08:00
6d00e2169b planner: enable inline projection for hash join (#14783) 2020-02-28 16:28:10 +08:00
f87511112b config: modify default mem_quota_query (#14951) 2020-02-26 19:04:39 +08:00
236352e98f *: show build and probe side for join and index lookup related operators in explain result (#14838) 2020-02-26 17:12:09 +08:00
dbcf5fbcc8 planner: show cast type in EXPLAIN (#14942) 2020-02-26 16:36:35 +08:00
880a9b0374 planner: fold constant in projection elimination and TopN push down (#14927) 2020-02-25 20:34:30 +08:00
dcdfd60c51 planner: move flagPrunColumnsAgain to the last (#14791) 2020-02-24 16:22:36 +08:00
3399f4be31 planner: distinguish FullScan and the RangeScan in explain/desc info (#14696) 2020-02-24 15:23:06 +08:00
a8415541f7 planner: refine Cardinality to map (#14845) 2020-02-21 16:19:11 +08:00
b98c88c948 infoschema/executor: support field expression in show index and related infoschema (#14400) 2020-02-20 19:04:48 +08:00
9543a0f4a6 *: re-implement partition pruning for better performance (#14679) 2020-02-14 19:18:49 +08:00
4755a9b9ef util: revert util/mathutil (#14744) 2020-02-13 11:33:04 +08:00
6702d95fc0 planner: prune columns again after predicate push down (#14683) 2020-02-12 18:13:18 +08:00
77c7875eb2 cmd/explaintest: fix a misleading error message (#14720)
if tidb is not setup, run ./explain_test the error message should be
    "dial tcp 127.0.0.1:4001: connect: connection refused"
However, this err is overwrite and the final message is
    "executing drop DB test failed"
2020-02-12 09:45:26 +08:00
74e49085cf planner: make the read storage hint not force plan (#14644) 2020-02-10 20:02:22 +08:00
1d9ed45b37 *: support virtual generate column substitute optimization (#14367) 2020-02-10 16:01:05 +08:00
a5c0d56275 planner: enhance rule partition pruning (#14544) 2020-01-20 11:56:51 +08:00
74bc00dfa9 Improve the performance of WindowExec by using multi-thread hash grouping (#14238) 2020-01-16 21:04:16 +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
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
c994eb4802 license: add license for script files (#14252) 2019-12-28 18:38:13 +08:00
f18abc980d planner: fix row count estimation for unique composite IndexScan of IndexJoin (#14167) 2019-12-25 19:53:10 +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
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
9b7b2c0d50 planner/core: fix bug when using generated column in aggregate statement (#14111) 2019-12-18 14:46:47 +08:00
54e3531d0b planner: TIDB_INLJ hint does not work for smaller left table (#14023) 2019-12-17 20:05:48 +08:00