Commit Graph

328 Commits

Author SHA1 Message Date
438945d294 *: enable clustered index by default (#19582) 2020-08-31 16:54:51 +08:00
b78f4896fe statistics, util/ranger: improve selectivity calculation for DNF filters (#18741) 2020-08-27 15:40:12 +08:00
3ac0baf61c *: fix unable prune problem caused by mismatch column infos (#19391) 2020-08-25 12:24:48 +08:00
d745acafb1 planner/core: prune EQ condition for non-monotonous range partition (#19267) 2020-08-25 11:19:55 +08:00
bb675c0d63 types: check KindNull / KindMinNotNull / KindMaxValue when comparing datums (#19259)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-24 16:47:52 +08:00
0e3bd55fb9 executor, infoschema: display attribute visible in information_schema.tidb_indexes (#19202) 2020-08-19 17:13:44 +08:00
37984d7cb0 tests: improve tests for Windows platform (#19088)
* tests: improve tests for Windows platform

* fix race build

* update badger to fix kill issue on Windows

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-13 17:17:19 +08:00
3df573d2fc planner,executor: use new table partition implementation and fix CI (#18981) 2020-08-06 17:50:40 +08:00
aeee1524e4 planner: fix the inappropriate heuristic rule to estimate the EQ selectivity when out of range (#18543) 2020-08-05 14:11:06 +08:00
787b7d2db0 cmd: generate free port instead of hard-code port number (#18951) 2020-08-04 16:30:05 +08:00
4170007fb6 *: remove mysql.TypeDecimal (#18787) 2020-07-29 15:26:22 +08:00
f3554241bb planner, executor: support except and intersect set operator (#18459)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-07-27 17:56:07 +08:00
a6971dd685 *: support 'admin check table' on clustered index table (#18346) 2020-07-14 15:59:37 +08:00
daad2699dd *: support clustered index for index join (#18204) 2020-07-01 16:15:51 +08:00
3f6f36f742 *: refactor table.IterRecord and extract some methods (#18214)
* *: refactor table.IterRecord and extract some methods

* fix ci test

* fix ci test

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-06-29 09:24:34 +08:00
c98514e751 executor: unify executor concurrency (#16999) 2020-06-22 17:39:32 +08:00
ad598e431a executor: add the cache for apply executor (#17039) 2020-06-17 21:24:12 +08:00
06361c2d98 expression: fix type infer error for count (#17871) 2020-06-11 10:22:54 +08:00
b335d01caf cmd/explaintest: add a test to cover partition selection on hash partition (#16071)
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-06-08 12:15:15 +08:00
777907bcee planner: push agg below partition union all by default (#17262) 2020-05-28 18:11:13 +08:00
b248783dfe planner: fix wrong agg function when agg push down union (#17022) 2020-05-20 21:50:15 +08:00
3afb631ef6 planner/core: support range partition pruning for 'in' expression (#17210) 2020-05-20 19:27:14 +08:00
e8779717d9 planner, expression: Remove the default asc order in explain result (#17074) 2020-05-14 17:38:19 +08:00
a9dc72cf25 cmd/ddltest: change the default log level to fatal in ddltest (#16922) 2020-05-09 21:34:07 +08:00
7ebcc20398 executor: support GROUP_CONCAT(ORDER BY) (#16591) 2020-05-06 18:41:22 +08:00
b4f42abc36 planner: Modify the judgment condition of rule_generate_column_substitute. (#16809) 2020-05-01 21:48:03 +08:00
6814f8c94b *: refactor Handle in table package (#16807) 2020-04-27 10:04:50 +08:00
82bb3ced74 makefile: let make fmt ensure std imports before non-std (#16816) 2020-04-26 10:37:24 +08:00
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