Commit Graph

352 Commits

Author SHA1 Message Date
28c9e9290b *: gocritic fixes for commentFormatting (#21578) 2020-12-09 12:03:17 +08:00
03f385de5f planner/core: use constant propagate before predicates push down (#21061) 2020-12-08 16:32:32 +08:00
e33b37789c planner: add projection if expand virtual generated column (#20478)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-12-03 21:42:49 +08:00
ceddc106f0 executor,planner/core,util/plancodec: extend executor.ShuffleExec and planner.core.PhysicalShuffle to support multiple data sources (#20942) 2020-11-24 10:59:03 +08:00
38bbb0dd21 planner: ban (index) merge join heuristically when convert eq cond to other cond (#21138) 2020-11-19 17:17:53 +08:00
41786cb976 *: seperate hash keys from join keys in IndexJoin (#20761) 2020-11-16 16:24:51 +08:00
99bdecc966 ddl: fix float precision larger than 53 (#20458) 2020-11-13 14:08:36 +08:00
3ef3e54b5e planner: don't push down null sensitive join conditions (#19620) 2020-11-12 17:16:31 +08:00
a338e35932 expression: fix wrong inferred type for sum and avg (#20926) 2020-11-11 14:10:34 +08:00
8bcbdf0aba planner: fix update statement not blocked by primary (#20842) 2020-11-09 17:06:48 +08:00
6444a05509 executor: avoid goroutine leak in index Lookup join (#19251) 2020-11-03 13:24:40 +08:00
a55a51a163 executor: fix show create table int default value (#20462) 2020-10-28 14:08:37 +08:00
ff428983e0 planner: estimate cardinality of agg / join by GroupNDV (#18058) 2020-10-27 11:09:57 +08:00
974c5fa78e planner: explain output convert binary string to hex (#20472) 2020-10-23 20:03:44 +08:00
09d272c288 planner: refine the explain message of expression (#16276) (#20410) 2020-10-23 18:07:43 +08:00
4501f6d7ab planner, executor: enable inline projection for Limit (#20288) 2020-10-19 10:55:13 +08:00
462a53f79a expression: utilize the flag of column arguments to simplify expressions (#20149) 2020-10-09 14:43:11 +08:00
01fdea7b6c executor: show varchar instead of var_string (#19921) 2020-10-04 17:34:03 +08:00
421e87c5f1 planner: improve index merge row count estimation (#19040) 2020-09-27 18:06:36 +08:00
4d1fe2062a planner,explaintest: partition pruning for YEAR function (#20064) 2020-09-25 11:55:21 +08:00
fd0299f58e *: remove simple rewriter (#19828) 2020-09-23 12:17:53 +08:00
0e4b809cad *: remove expression index out of the experiment feature (#19998)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-09-18 13:25:37 +08:00
8f6d120586 planner: fix wrong behavior for != any() (#20058) 2020-09-17 16:19:42 +08:00
2a3a5ab076 *: disable new partition prune in master distribution (#19911) 2020-09-14 16:26:54 +08:00
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