Commit Graph

47 Commits

Author SHA1 Message Date
f79dc8b218 executor: pessimistic lock on the temporary table should not be written to TiKV (#24737) 2021-05-26 12:41:34 +08:00
e7db533810 planner: ignore lock for temporary table of PointGet and BatchPointGet (#24540) 2021-05-12 19:49:40 +08:00
e40f8c0881 *: fix revoke statement for CURRENT_USER() and refine error message (#24052)
* *: fix revoke statement for CURRENT_USER() and refine error message
2021-05-12 16:40:58 +08:00
f135c534a5 plan: merge continuous selections and delete surely true expressions (#24214) 2021-05-10 23:25:37 +08:00
90d02b2eed *: add support for dynamic privileges (#22778) 2021-04-01 00:17:24 +08:00
92b1b8e0e9 planner: check schema stale for plan cache when forUpdateRead (#22381) 2021-03-19 17:25:36 +08:00
72d4504f45 planner: fix explain-hint panic for joins generated by subquery (#20675) 2020-12-03 15:18:37 +08:00
72794461eb *: support read only lock (#21100)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2020-11-25 10:06:54 +08:00
7475d92393 *: inject projection for the plan pushed to TiDB (#21090) 2020-11-19 11:27:53 +08:00
369c12f779 [planner, executor, kv]: refine and extract mpp codes to the right place (#20691) 2020-11-02 14:30:47 +08:00
84e07a2a59 planner: propagate NDV of column groups across plan nodes (#17854) 2020-08-12 16:39:11 +08:00
f6ef1c371f executor: implement parallel apply (#18044) 2020-07-27 17:49:28 +08:00
baf6c99b95 *: fix a bug causes indexed virtual generated column return wrong value and refine admin check table (#18408) 2020-07-24 12:59:47 +08:00
dce0e45bdf planner, add hint nth_plan(x) to help user force a plan (#17850) 2020-07-01 15:34:22 +08:00
902231076d planner: move flagPrunColumnsAgain so that UPDATE statement ca… (#16785) 2020-04-24 18:58:51 +08:00
2619f02ddd *: move hint and block hint processor to util directory (#15897) 2020-03-31 16:37:45 +08:00
248be5bba5 planner: push down Lock to PointGet and BatchPointGet (#15257) 2020-03-11 13:58:32 +08:00
dcdfd60c51 planner: move flagPrunColumnsAgain to the last (#14791) 2020-02-24 16:22:36 +08:00
6702d95fc0 planner: prune columns again after predicate push down (#14683) 2020-02-12 18:13:18 +08:00
1d9ed45b37 *: support virtual generate column substitute optimization (#14367) 2020-02-10 16:01:05 +08:00
64da4b583f planner/cascades: implement PreparePossibleProperties in cascades planner (#13910) 2019-12-06 15:52:49 +08:00
5c5aa104d9 *: support using multiply bindings in planner (#13047) 2019-11-05 16:38:15 +08:00
36f0f37b40 expression, planner: remove some fields from `expression.Colum… (#12573) 2019-10-29 15:48:26 +08:00
619b9a92b3 *: fix typo of eliminator (#12071) 2019-09-09 10:20:11 +08:00
3de23f0f7c planner/core: support query block hint (#11861) 2019-08-29 19:14:38 +09:00
abbca5375e *: add trace support for subquery (#11182)
Test pass, auto merge by Bot
2019-07-24 19:03:47 +08:00
f8912049f5 *:add opt_rule_blacklist in mysql tables. (#11096) 2019-07-24 13:36:29 +08:00
6cd002761b planner: some cleanup (#11164) 2019-07-12 13:08:43 +08:00
612936bbd4 *: Support LOCK/UNLOCK TABLES feature (#10343) 2019-06-18 15:38:04 +08:00
69b02a3736 *: make config items Performance.*, OOMAction and MemQuotaQuery support hot-reloading (#10295) 2019-04-29 16:38:46 +08:00
9630d57c80 planner/core: make join reorder by dp work (#8816) 2019-04-28 13:08:46 +08:00
58d1bb8cb3 privilege: support authentication with active roles (#10125) 2019-04-23 10:05:53 +08:00
e9653675dd *: remove errors.Trace in main handle path (#10033) 2019-04-04 14:27:15 +08:00
f16081bccc planner/core: code refactor around join reorder (#9439) 2019-03-04 13:52:05 +08:00
0e098d538e executor: introduce projInjector for postOptimize (#9097) 2019-01-17 13:46:56 +08:00
dca815c1c5 expression: return error when doing ResolveIndices (#8929) 2019-01-15 14:34:06 +08:00
7ee6811d97 planner: added support for error in visitInfo (#8855) 2019-01-04 15:15:18 +08:00
243120c473 planner, executor: add post-process after physical plan optimization and move buildProjBelowAgg from executor to planner (#8828) 2019-01-03 16:26:59 +08:00
4ded4f68ef planner/core: refactor deriveStats for LogicalPlan (#8753) 2018-12-25 21:41:49 +08:00
6bd8bddb12 planner/core: simple greedy join reorder based on CBO (#8394) 2018-12-07 16:34:19 +08:00
cd5ffb3b32 planner: support join elimination rule (#8021) 2018-11-09 21:31:29 +08:00
32b1dbd8d5 *: rename "github.com/pkg/errors" to "github.com/pingcap/errors" (#8136)
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
c520132962 plan: move projEliminate behind aggEliminate (#7909) 2018-10-16 17:25:17 +08:00
dbdd806c0e *: add session variable "tidb_enable_cascades_planner" (#7879) 2018-10-12 13:21:51 +08:00
78303cbb4d planner/core: separate aggPrune from aggPushDown (#7676) 2018-10-08 19:51:09 +08:00
e79bd946ed *: change package name from plan to planner (#7760) 2018-09-25 11:16:39 +08:00